Schlegel, Finkbeiner, David dust maps.
The dust map data is stored in this repository using git-lfs. Clone the repository and install using
python setup.py install
This requires scipy, astropy, and numpy. Install with
conda install numpy, scipy, astropy
or
pip install -r pip-requirements.txt
from the top-level of the cloned repository
import astropy.units as u
import astropy.coordinates as coord
from sfd import ebv, reddening
c = coord.SkyCoord(ra=[154.12, 11.1]*u.degree,
dec=[-21.63,31.65]*u.degree)
EBV = ebv(c)
# or
reddening = reddening(c, survey='PS1', filters='gri')
Pan-STARRS from Schlafly et al. 2011
Others from https://arxiv.org/abs/1301.1427