get_domain_rebuilt_timecourses

seas.domains.get_domain_rebuilt_timecourses(domain_ROIs: numpy.ndarray, components: dict, apply_filter_mean: bool = True)[source]

Get time courses for each domain ROI. The filtered movie is rebuilt under each ROI (one at a time). The mean is taken under each domain ROI. The ROI_timecourses and mean_filtered are returned in output.

Parameters
  • domain_ROIs – The domain ROI map built by get_domain_map

  • components – The results of seas.ica.project, including all eigenvector components. Used for rebuilding the movie.

  • apply_filter_mean – Whether to calculate the filtered mean

Returns

ROI_timecourses:

A np array of shape (n_domains, t), with the mean of a given domain, i, under ROI_timecourses[i].

mean_filtered:

The frame mean, of shape (t), filtered by the default filtering method.

Return type

output, a dictionary with the following keys