Coverage for python/lsst/sims/seeingModel/seeingModelConfig.py : 100%

Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
1import lsst.pex.config as pexConfig
4__all__ = ['SeeingModelConfig']
6DEFAULT_THROUGHPUTS_VERSION = '1.5'
7DEFAULT_FILTER_LIST = ['u', 'g', 'r', 'i', 'z', 'y']
8DEFAULT_WAVELENGTHS = [368.48, 480.20,
9 623.12, 754.17,
10 869.05, 973.64]
13class SeeingModelConfig(pexConfig.Config):
14 """A pex_config configuration class for default seeing model parameters.
15 """
16 telescope_seeing = pexConfig.Field(doc="Telescope contribution to IQ (arcsec)",
17 dtype=float,
18 default=0.25)
19 optical_design_seeing = pexConfig.Field(doc="Optics contribution to IQ (arcsec)",
20 dtype=float,
21 default=0.08)
22 camera_seeing = pexConfig.Field(doc="Camera contribution to IQ (arcsec)",
23 dtype=float,
24 default=0.30)
25 raw_seeing_wavelength = pexConfig.Field(doc="Wavelength of input zenith IQ (nm)",
26 dtype=float,
27 default=500)
29 filter_list = pexConfig.ListField(doc="List of filters for which to calculate seeing",
30 dtype=str,
31 default=DEFAULT_FILTER_LIST)
32 filter_effwavelens = pexConfig.ListField(doc="Effective wavelengths for filters (nm)",
33 dtype=float,
34 default=DEFAULT_WAVELENGTHS)
35 throughputs_version = pexConfig.Field(doc="Version of the throughputs files",
36 dtype=str,
37 default=DEFAULT_THROUGHPUTS_VERSION)
39 efd_columns = pexConfig.ListField(doc="List of data required from EFD",
40 dtype=str,
41 default=['FWHM_500'])
42 efd_delta_time = pexConfig.Field(doc="Length (delta time) of history to request from the EFD (seconds)",
43 dtype=float,
44 default=0)
45 target_columns = pexConfig.ListField(doc="Names of the keys for the airmass in the "
46 "scheduler target maps",
47 dtype=str,
48 default=['airmass'])