rebuild_mean_roi_timecourse

seas.ica.rebuild_mean_roi_timecourse(components: numpy.ndarray, mask: numpy.ndarray, include_zero: bool = True, filter: bool = True, invert_artifact: bool = False, include_noise: bool = True)[source]

Rebuild a mean timecourse under a specific region of interest (ROI), or set of ROIs.

Parameters
  • components – The components result dictionary from ica.project

  • mask – The (x,y) mask to apply to the video for rebuilding. If the mask has multiple unique indices (n_components), rather than just a single domain, they are all returned in an array.

Returns

The set of rebuilt time courses (n_components,t).

Return type

timecourses