mangadap.util.constants module¶
Defines a catch-all class for useful constants. These are meant to be values that are not available elsewhere, such as astropy.constants.
Revision history¶
28 May 2015: Original implementation by K. Westfall (KBW)01 Jun 2017: (KBW) Changed attributes to class globals
Copyright © 2019, SDSS-IV/MaNGA Pipeline Group
-
class
mangadap.util.constants.
DAPConstants
[source]¶ Bases:
object
Defines the following set of constants:
Attribute
Value
\(\sqrt{8\ln(2)}\)
\(3600\frac{180}{\pi}\)
\(31558175.779\)
-
rad2arcs
= 206264.80624709636¶ Conversion factor from radians to to arcseconds.
-
sidereal_year
= 31558175.779¶ Length of a sidereal year (1.0000385 Gregorian years) in seconds.
-
sig2fwhm
= 2.3548200450309493¶ Conversion factor from the standard deviation, \(\sigma\), of a Gaussian to its full-width at half maximum (FWHM).
-