eelbrain.plot.brain.SequencePlotter.set_brain

SequencePlotter.set_brain(source=None, subject=None, subjects_dir=None)

Set the brain model on which to plot

This is usually handled automatically, and only needs to be invoked directly for plots not otherwise involving an NDVar with a SourceSpace dimension.

Parameters
  • source (Optional[SourceSpace]) – Brain model on which to plot. The coverage if the source space is also used for the mask (the first source space that is added takes precedence).

  • subject (Optional[str]) – Specify subject directly.

  • subjects_dir (Union[Path, str, None]) – Specify the subjects directory directly.