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.
About
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.
Index
DustExtinction.bounds
DustExtinction.deredden
DustExtinction.redden
DustExtinction.CAL00
DustExtinction.CCM89
DustExtinction.ExtinctionLaw
DustExtinction.F04
DustExtinction.F19
DustExtinction.F99
DustExtinction.FM90
DustExtinction.G16
DustExtinction.GCC09
DustExtinction.M14
DustExtinction.OD94
DustExtinction.SFD98Map
DustExtinction.VCG04
Contributing
If you are interested in contributing, feel free to make a pull request or open an issue for discussion.