tedana.reporting.static_figures.plot_adaptive_mask

plot_adaptive_mask(*, optcom: ndarray, base_mask: ndarray, io_generator: OutputGenerator)[source]

Create a figure to show the adaptive mask.

This figure shows the base mask, the adaptive mask thresholded for denoising (threshold >= 1), and the adaptive mask thresholded for classification (threshold >= 3), overlaid on the mean optimal combination image.

Parameters:
  • optcom ((S x T) numpy.ndarray) – Optimal combination of components. The mean image over time is used as the underlay for the figure.

  • base_mask ((S,) numpy.ndarray) – Base mask used in tedana. This is the original mask either provided by the user or generated with compute_epi_mask.

  • io_generator (OutputGenerator) – The output generator for this workflow.