# DustExtinction.jl

This package implements different empirical dust measurements for use in astronomy. This package is written in pure Julia and is built with first-class support with Unitful.jl and Measurements.jl.

Extinction describes the effect of dust grains on observations of stars in space. Light that travels through dust is absorbed and scatterred as natural processes of light's interactions with materials. This obfuscation can be modeled and removed from our data in order to more properly retrieve the star's flux. When dealing with multiple stars, or large clusters or galaxies, this process is considered dust attenuation and is not provided for in this package.

## Installation

From the REPL, press ] to enter Pkg mode

(v 1.4) pkg> add DustExtinction

julia> using DustExtinction

## Usage

julia> using DustExtinction

julia> CCM89(Rv=3.1)(4000)
1.464555702942584

For more examples, view the Color Laws and Dust Maps sections.

## Citations

There are various citations relevant to this work. Please be considerate when using this work or any derivate of it by adding the appropriate citations.

LawReferenceBibTeX
CCM89Clayton, Cardelli and Mathis (1989)download
OD94O'Donnell (1994)download
CAL00Calzetti et al. (2000)download
VCG04Valencic, Clayton, & Gordon (2004)download
GCC09Gordon, Cartledge, & Clayton (2009)download
FM90Fitzpatrick & Massa (1990)download
G16Gordon et al (2016) download
SFD98MapSchlegel, Finkbeiner and Davis (1998)download
F99Fitzpatrick (1999)download
F04Fitzpatrick (2004)download
F19Fitzpatrick (2019)download
M14Maiz Apellaniz et al. (2014)download

## Contributing

If you are interested in contributing, feel free to make a pull request or open an issue for discussion.