get_cube_slab#
- mufasa.visualization.spec_viz.get_cube_slab(cube, vZoomLims=(-5, 20))[source]#
Extract a spectral slab from the cube over the specified velocity range.
- Parameters:
- Returns:
cube_s (SpectralCube) – The extracted spectral slab.
xarr (SpectroscopicAxis) – The corresponding spectroscopic axis for the slab.