tedana.reporting.static_figures.plot_adaptive_mask

plot_adaptive_mask(*, optcom: 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 ((Mb x T) numpy.ndarray) – Optimal combination of components, where Mb is samples in base mask, and T is time. The mean image over time is used as the underlay for the figure.

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