bids.variables.entities.Node¶
-
class
Node
(level, entities)[source]¶ Base class for objects that represent a single object in the BIDS hierarchy.
- Parameters
id (int, str) – A value uniquely identifying this node. Typically the entity value extracted from the filename via layout.
Methods
add_variable
(self, variable)Adds a BIDSVariable to the current Node’s list.
-
__init__
(self, level, entities)[source]¶ Initialize self. See help(type(self)) for accurate signature.
Methods
__init__
(self, level, entities)Initialize self.
add_variable
(self, variable)Adds a BIDSVariable to the current Node’s list.
-
add_variable
(self, variable)[source]¶ Adds a BIDSVariable to the current Node’s list.
- Parameters
variable (BIDSVariable) – The Variable to add to the list.