refine_rms# mufasa.signals.refine_rms(cube, rms, sigma_cut=3, expand=20)[source]# Refine the RMS estimate by masking out signal regions. Parameters: cube (SpectralCube) – SpectralCube object. rms (Quantity) – Initial RMS estimate. sigma_cut (float, optional) – Signal-to-noise threshold to mask signals. expand (int, optional) – Number of spectral channels to expand the signal mask. Returns: Quantity – Refined RMS. ndarray – Signal mask.