arviz_base.make_attrs

Contents

arviz_base.make_attrs#

arviz_base.make_attrs(attrs=None, inference_library=None, sample_dims=None)[source]#

Make standard attributes to attach to xarray datasets.

Parameters:
attrsmapping of {hashableany}, optional

Additional attributes to add or overwrite

inference_librarymodule, optional

Library used to perform inference.

sample_dimssequence of hashable, optional

Sample dims of this dataset

Returns:
dict

attrs