synthpop.modules.extinction.surot
Extinction map from Surot et al 2020. This is a 2-d map which may be used as a screen at some distance, or projected into 3-d following the scheme used in Galaxia (see galaxia_3d module / Sharma et al. 2011).
Extinction is provided as total extinction A_Ks at 2.15 microns
Publication DOI: 10.1051/0004-6361/202038346
Data file FTP: https://cdsarc.cds.unistra.fr/ftp/J/A+A/644/A140/ejkmap.dat.gz
Classes
Extinction map from Surot et al. 2020 |
Module Contents
- class synthpop.modules.extinction.surot.Surot(project_3d=True, dist_2d=8.15, **kwargs)
Bases:
synthpop.modules.extinction._extinction.ExtinctionMapExtinction map from Surot et al. 2020 On first use, the map is downloaded and converted from E(J-Ks) to A_Ks values
Attributes
- project_3d=Trueboolean
whether to project the map into 3-d or keep as 2-d
- dist_2d=8.15float
for 3-d: distance where the map value is the true extinction value; for 2-d: distance where extinction is applied as a screen
Methods
- extinction_in_map(l_deg, b_deg, dist):
equivalent to lallement_ext_func
- extinction_map_name = 'Surot'
- ref_wavelength = 2.152152
- A_or_E_type = 'A_Ks'
- project_3d = True
- dist_2d = 8.15
- extinction_in_map(l_deg, b_deg, dist)
Estimates the extinction for a list of star positions.
Parameters
- l_deg: ndarray [degrees]
galactic longitude
- b_deg: ndarray [degrees]
galactic latitude
- dist: ndarray [kpc]
radial distance from the Sun
Returns
- extinction_value: ndarray [mag]
extinction at each star position defined as self.A_or_E_type