Skip to content
/ SFD Public

Schlegel, Finkbeiner, David dust maps in Python.

License

Notifications You must be signed in to change notification settings

adrn/SFD

Repository files navigation

SFD

Schlegel, Finkbeiner, David dust maps.

Installation

The dust map data is stored in this repository using git-lfs. Clone the repository and install using

python setup.py install

Dependencies

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

Usage

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')

Coefficients

Pan-STARRS from Schlafly et al. 2011

Others from https://arxiv.org/abs/1301.1427

About

Schlegel, Finkbeiner, David dust maps in Python.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages