synthpop.modules.extinction.lallement
Extinction map from Lallement et al 2019, for dust within 3 kpc based on Gaia & 2MASS observations.
Extinction is given as ‘A0’, or total extinction at reference wavelength 5500 Angstroms.
The user may determine whether to integrate over the map individually for each star, or to integrate for the average sightline and interpolate for distances. The user can also adjust the dr used for extinction integration.
Publication DOI: 10.1051/0004-6361/201834695
Data file FTP: https://cdsarc.cds.unistra.fr/ftp/J/A+A/625/A135/
Classes
Extinction map from Lallement et al. 2019 |
Module Contents
- class synthpop.modules.extinction.lallement.Lallement(dr=0.001, per_sightline=True, **kwargs)
Bases:
synthpop.modules.extinction._extinction.ExtinctionMapExtinction map from Lallement et al. 2019
Attributes
- dr=0.001float
step size for extinction integration in kpc
- per_sightline=Trueboolean
calculate extinction integral once per sightline if True (faster) calculate extinciton integral individually per star if False (slower)
Methods
- lallement_ext_func(l_deg, b_deg, dist):
get extinction value in map for list of star locations
- extinction_in_map(l_deg, b_deg, dist):
equivalent to lallement_ext_func
- extinction_map_name = 'Lallement'
- ref_wavelength = 0.55
- A_or_E_type = 'A0'
- per_sightline = True
- dr = 0.001
- grid_dr = 0.005
- grid_x_mid = 600
- grid_y_mid = 600
- grid_z_mid = 80
- x_extent = 3.0
- y_extent = 3.0
- z_extent = 0.4
- lallement_ext_func(l_deg, b_deg, dist)
Get extinction value from Lallement et al. (2019) map for an array 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
- 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