eelbrain.pipeline.MneExperiment.next

MneExperiment.next(field='subject')

Change field to the next value

Parameters:

field (str | list of str) – The field for which the value should be changed (default ‘subject’). Can also contain multiple fields, e.g. ['subject', 'session'].

Example

>>> raw_01 = e.load_raw()  # raw for S01
>>> e.next()
subject: S01 -> S03
>>> raw_03 = e.load_raw()  # raw for S03
>>> e.next()
subject: S03 -> S04