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 (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 (str) – Specify subject directly.

  • subjects_dir (Path | str) – Specify the subjects directory directly.