nimare.io.convert_nimads_to_dataset

convert_nimads_to_dataset(studyset, annotation=None)[source]

Convert nimads studyset to a dataset.

Added in version 0.0.14.

Parameters:
  • studyset (str, dict, nimare.nimads.StudySet) – Path to a JSON file containing a nimads studyset, a dictionary containing a nimads studyset, or a nimads studyset object.

  • annotation (str, dict, nimare.nimads.Annotation, optional) – Optional path to a JSON file containing a nimads annotation, a dictionary containing a nimads annotation, or a nimads annotation object.

Returns:

  • dset (nimare.dataset.Dataset) – NiMARE Dataset object containing experiment information from nimads studyset.

  • .. warning::Dataset is deprecated and will be removed in a future release. Prefer keeping data in Studyset form and using view() when a Dataset-like tabular view is needed.