Astrophysics Source Code Library

Making codes discoverable since 1999

ASCL Code Record

[ascl:2102.026] extinction: Dust extinction laws

extinction is an implementation of fast interstellar dust extinction laws in Python. It contains Cython-optimized implementations of empirical dust extinction laws found in the literature. Flux values can be reddened or dereddened using included functions, and all extinction laws accept a unit keyword to change the interpretation of the wavelength array from Angstroms to inverse microns. Part of this code originated in the specutils package (ascl:1902.012).

Code site:
Used in:

Views: 216

Add this shield to your page
Copy the above HTML to add this shield to your code's website.