get_v_mask#

mufasa.signals.get_v_mask(cube_masked, v_center, rms=None, window_hwidth=5)[source]#

Return a mask centered on a reference velocity with a spectral window.

Parameters:
  • cube_masked (SpectralCube) – SpectralCube object with mask.

  • v_center (Quantity) – Reference velocity at center of spectral window.

  • rms (Quantity or None, optional) – Root mean square of the map.

  • window_hwidth (float, optional) – Half-width of spectral window in km/s.

Returns:

Velocity mask.

Return type:

ndarray