class_docstr: Encapsulate emcee specific logic.
class_docstr_tok: ["Encapsulate","emcee","specific","logic","."]
docstr: Convert all available data to an InferenceData object.
docstr_tok: ["Convert","all","available","data","to","an","InferenceData","object","."]
code: def to_inference_data(self):
      """Convert all available data to an InferenceData object."""
      blobs_dict = self.blobs_to_dict()
      obs_const_dict = self.args_to_xarray()
      return InferenceData(
          **{
              "posterior": self.posterior_to_xarray(),
              **obs_const_dict,
              **blobs_dict,
          }
      )
  
file_path: arviz/arviz/data/io_emcee.py
imports: import warnings
  from collections import OrderedDict
  import numpy
  import xarray
  from ..None import utils
  from .base import dict_to_dataset, generate_dims_coords, make_attrs
  from .inference_data import InferenceData
label_desc: Use image node_id 5 for calling the EmceeConverter obj's underlying member method code with example usage: obj.to_inference_data() and returns: InferenceData