bids.variables.entities.RunNode¶
-
class
RunNode
(entities, image_file, duration, repetition_time)[source]¶ Represents a single Run in a BIDS project.
Parameters: - id (int) – The index of the run.
- entities (dict) – Dictionary of entities for this Node.
- image_file (str) – The full path to the corresponding nifti image.
- duration (float) – Duration of the run, in seconds.
- repetition_time (float) – TR for the run.
- task (str) – The task name for this run.
Methods
add_variable
(variable)Adds a BIDSVariable to the current Node’s list. get_info -
__init__
(entities, image_file, duration, repetition_time)[source]¶ Initialize self. See help(type(self)) for accurate signature.
Methods
__init__
(entities, image_file, duration, …)Initialize self. add_variable
(variable)Adds a BIDSVariable to the current Node’s list. get_info
()-
add_variable
(variable)¶ Adds a BIDSVariable to the current Node’s list.
Parameters: variable (BIDSVariable) – The Variable to add to the list.