Photometry Filters#
The PhotometryFilter class interfaces with the
Spanish Virtual Observatory Filter Profile Service
to retrieve and cache filter transmission curves.
- class ForMoSA.filter.filter.PhotometryFilter(facility, instrument, filter_id, filter_path=None, log_level='info', logger=None, display_unit=WavelengthUnit.MICROMETER)[source]#
Bases:
objectPhotometryFilter class Defining a filter. The faclity, instrument and filter_id has to be under the right format (see https://svo2.cab.inta-csic.es/theory/fps/ for more details).
- Parameters:
facility (
str) – Name of the facility (‘Paranal’, ‘Keck’, ‘JWST’, …)instrument (
str) – Name of the instrument (‘SPHERE’, ‘NIRC2’, ‘NIRCam’, …)filter_id (
str) – ID of the filter (‘IRDIS_B_H’, ‘Lp’, F410M)filter_path (
str|PathLike|None) – Path where to save the filter datalog_level (
str) – Level of the loggerdisplay_unit (
WavelengthUnit) – Unit of the wavelength to display
Notes
Authors: Allan Denis
- property name: str#
Full name of the filter (e.g. ‘Paranal/SPHERE.IRDIS_B_H’, ‘Keck/NIRC2.Lp’, ‘JWST/NIRCam.F410M’).
- property unit: PrefixUnit#
Unit to use for the wavelength.
- property native_unit: PrefixUnit#
Native unit of the wavelength (Angstrom).
- property zero_point: float64#
Zero point.
- property Mag0: float64#
Magnitude 0.
- property zero_point_type: str#
//www.ivoa.net/documents/Notes/SVOFPS/NOTE-SVOFPS-1.0.20121015.pdf).
- Type:
Zero point type (‘Pogson’, ‘Asinh’, ‘Linear’, see https
- property softening_parameter: str#
//www.ivoa.net/documents/Notes/SVOFPS/NOTE-SVOFPS-1.0.20121015.pdf).
- Type:
Softening parameter (see https
- property mean_wavelength: float#
Mean integrated wavelength ($lambda_{mean} = frac{int_{lambda} lambda T(lambda) dlambda}{T(lambda) dlambda}$).
- property central_wavelength: float#
Central wavelength between the 2 wavelengths used to compute the FWHM.
- property wavelength_eff: float#
Mean integrated wavelength with Vega spectrum ($lambda_{ref} = frac{int_{lambda} lambda T(lambda) Vega(lambda) dlambda}{T(lambda) Vega(lambda) dlambda}$).
- property pivot_wavelength: float#
Wavelength computed as sqrt{frac{lambda T(lambda) dlambda}{T(lambda) dlambda / lambda}}.
- property photon_wavelength: float#
Photon distribution based effective wavelength ($lambda_{phot} = frac{int_{lambda} lambda^2 T(lambda) Vega(lambda) dlambda}{lambda T(lambda) Vega(lambda) dlambda}$).