MneExperiment.iter(fields='subject', exclude=None, values=None, progress_bar=None, **state)

Cycle the experiment’s state through all values on the given fields

  • fields (sequence | str) – Field(s) over which should be iterated.

  • exclude (dict {str: iterator over str}) – Exclude values from iteration ({field: values_to_exclude}).

  • values (dict {str: iterator over str}) – Fields with custom values to iterate over (instead of the corresponding field values) with {name: (sequence of values)} entries.

  • progress_bar (str) – Message to show in the progress bar.

  • ... – State parameters.