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(self, variable)

Adds a BIDSVariable to the current Node’s list.

get_info

__init__(self, entities, image_file, duration, repetition_time)[source]

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__(self, entities, image_file, …)

Initialize self.

add_variable(self, variable)

Adds a BIDSVariable to the current Node’s list.

get_info(self)

add_variable(self, variable)

Adds a BIDSVariable to the current Node’s list.

Parameters

variable (BIDSVariable) – The Variable to add to the list.