Source code for slrealizer.utils.constants

"""
The :mod:`constants` module provides a number of constants used by the :class:`SLRealizer` worker class and its descendants.
"""
from astropy.coordinates import SkyCoord

[docs]def return_zeropoint(): """ returns zeropoint for the SDSS magnitude system """ return 22.5
[docs]def return_obs_RA_DEC(): """ Return OM10's lensed system's position """ return SkyCoord('03h 32m 30s', '10d 00m 24s')
[docs]def get_filter_AB_offset(): return 0.0
[docs]def get_flux_err(): return 0.01 # unit : percentage
[docs]def get_flux_err_std(): return 0.005 # unit : percentage
[docs]def get_first_moment_err(): return 0.01 # unit : percentage
[docs]def get_first_moment_err_std(): return 0.005
[docs]def get_second_moment_err(): return 0.15 # changed from 0.05
[docs]def get_second_moment_err_std(): return 0.03 # changed from 0.01
[docs]def get_x_min(): return -5.0
[docs]def get_y_min(): return -5.0
[docs]def get_x_max(): return 5.0
[docs]def get_y_max(): return 5.0
[docs]def get_ellipticity_cut(): return 0.4
[docs]def get_SDSS_pixel_arcsec_conversion(): return 0.396