brain_pipe.preprocessing.brain.link.BasenameComparisonFn¶
- class BasenameComparisonFn(stim_path_key: str = 'stimulus_path', ignore_extension: bool = False)¶
Bases:
object
Compare the basename of the stimulus path to the brain data path.
- __init__(stim_path_key: str = 'stimulus_path', ignore_extension: bool = False)¶
Create a new BasenameComparisonFn instance.
Methods
__init__
([stim_path_key, ignore_extension])Create a new BasenameComparisonFn instance.
process_path
(path)Process a path so that it can be compared to the brain data path.