ephypype.nodes.create_iterator

ephypype.nodes.create_iterator(fields, field_values)[source]

Create node to iterate on fields.

Parameters:
fieldlist of str

The fields to iterate upon., E.g., [‘subject_id’, ‘session_id’]

field_valueslist of list

The values of the field over which to iterate over. E.g., [[‘sub-001’, ‘sub-002’], [‘ses-01’]]

Returns:
infosourceinstance of pe.Node

The node which iterates on the subject_ids and session_ids.