lightcurvelynx.consts

Attributes

M_SUN_G

Mass of the sun in grams.

PARSEC_TO_CM

Conversion factor from parsec to cm.

GAUSS_EFF_AREA2FWHM_SQ

Effective area of symmetric Gaussian to FWHM squared conversion factor.

ANGSTROM_TO_CM

Conversion factor from Angstrom to cm, 1e-8.

CGS_FNU_UNIT_TO_NJY

Conversion factor from erg/s/cm²/Hz to nJy, 1e32.

MJD_TO_JD_OFFSET

Conversion offset from MJD to JD.

lsst_filter_plot_colors

The default colors for plotting to match.

Module Contents

M_SUN_G[source]

Mass of the sun in grams.

PARSEC_TO_CM[source]

Conversion factor from parsec to cm.

GAUSS_EFF_AREA2FWHM_SQ[source]

Effective area of symmetric Gaussian to FWHM squared conversion factor.

It is roughly 2.266, see https://smtn-002.lsst.io/v/OPSIM-1171/index.html.

Note

This is derived from two facts for a symmetric 2D Gaussian:

  1. FWHM² = 8 * ln(2) * sigma², where sigma is the standard deviation.

  2. The convolution of a Gaussian with itself at position of (x,y)=μ̄ is 1 / sigma² / (4 π).

    E.g.:

    ∫ g²(x,y) dx dy = 1 / sigma² / (4π),
    

    where:

    g(x,y) = 1 / (2π sigma²) exp(-(x²+y²)/2/sigma²).
    
ANGSTROM_TO_CM[source]

Conversion factor from Angstrom to cm, 1e-8.

CGS_FNU_UNIT_TO_NJY[source]

Conversion factor from erg/s/cm²/Hz to nJy, 1e32.

MJD_TO_JD_OFFSET = 2400000.5[source]

Conversion offset from MJD to JD.

lsst_filter_plot_colors[source]

The default colors for plotting to match.

We provide values for the filters with and without the "LSST_" prefix. https://community.lsst.org/t/lsst-filter-profiles/1463