lightcurvelynx.astro_utils.obs_utils

Functions

phot_eff_function(snr)

Photometric detection efficiency as a simple step function of snr.

spec_eff_function(peak_imag)

Spectroscopic follow-up efficiency as a function of peak i band magnitude.

Module Contents

phot_eff_function(snr)[source]

Photometric detection efficiency as a simple step function of snr.

Parameters:

snr (list or numpy.ndarray) – Signal to noise ratio of a list of observations.

Returns:

eff – The photometric detection efficiency given snr.

Return type:

list or numpy.ndarray

spec_eff_function(peak_imag)[source]

Spectroscopic follow-up efficiency as a function of peak i band magnitude.

Parameters:

peak_imag (list or numpy.ndarray) – Peak magnitude in i band.

Returns:

eff – The spectroscopic efficiency given peak i band magnitude. Based on Equation (17) in Kessler et al. 2019 s0, s1, s2 are fitted using data from Figure 4 in Kessler et al. 2019

Return type:

list or numpy.ndarray