brain_pipe.preprocessing.brain.link.BIDSStimulusInfoExtractor¶
- class BIDSStimulusInfoExtractor(brain_path_key: str = 'data_path', event_info_key: str = 'event_info')¶
Bases:
objectExtract BIDS compliant stimulus information from an events.tsv file.
- __init__(brain_path_key: str = 'data_path', event_info_key: str = 'event_info')¶
Create a new BIDSStimulusInfoExtractor instance.
Methods
__init__([brain_path_key, event_info_key])Create a new BIDSStimulusInfoExtractor instance.
read_events(events_path)Read events from a BIDS compliant events.tsv file.