surveycodex.filter¶
Filter
dataclass
¶
A dataclass containing the main filter parameters
Source code in surveycodex/filter.py
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 |
|
effective_wavelength: Optional[Quantity] = None
class-attribute
instance-attribute
¶
Filter effective wavelength computed from the complete throughput information
full_exposure_time: Quantity
instance-attribute
¶
Mean time spent on the sky on a random survey location
name: str
instance-attribute
¶
The filter name
psf_fwhm: Quantity
instance-attribute
¶
The full-width at half maximum of the PSF
sky_brightness: Quantity
instance-attribute
¶
Mean sky brightness
zeropoint: Quantity
instance-attribute
¶
The zeropoint magnitude computed with the speclite library
from_dict(filter_info)
classmethod
¶
Constructor for the Filter dataclass
Makes sure each of the filter attributes gets the appropriate units to improve definition and avoid confusion and conversion issues.
Parameters¶
filter_info: dict Dictionary with the filter informations
Returns¶
Filter A Filter object filled with the given information
Source code in surveycodex/filter.py
25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 |
|