measure_snr_profile_fit#

madcubapy.utils.measure_snr_profile_fit(area, fwhm, dv, rms)[source]#

Measure the SNR of a line by integrating the emission on the fitted gaussian profile

Parameters:
areafloat or Quantity

Area of the fitted gaussian line.

fwhmfloat or Quantity

FWHM of the fitted gaussian line.

dvfloat or Quantity

Channel width.

rmsfloat or Quantity

Measured rms on the spectral data.

Returns:
snrfloat

Measured integrated SNR.