mufasa.visualization.spec_viz#

Classes

Functions

ensure_units_compatible

Ensure the limits have compatible units with the data, converting if needed.

get_cube_slab

Extract a spectral slab from the cube over the specified velocity range.

get_spec_grid

Create a grid of subplots for spectra.

plot_fits_grid

Plot a grid of model fits from the cube centered at (x, y).

plot_model

Plot a model fit for a spectrum.

plot_spec

Plot a spectrum.

plot_spec_grid

Plot a grid of spectra from the cube centered at (x, y).

strip_units

Helper function to strip units from a limit tuple if it contains Quantity.