Skip to content

Dust Extinction Tutorial: unextinguish a spectrum #222

Open
@karllark

Description

@karllark

Show how to use the dust_extinction package to unextinguish (deredden) a spectrum.

Use observed ultraviolet spectra from a FITS binary table file -> use astropy.io.fits.
Include photometry from Simbad (optical/NIR) -> use astroquery
Convert photometry from magnitudes to fluxes -> use astropy.units
Unextinguish the spectrum using a dust extinction model -> use dust_extinction package
Make a plot of the original and unextinguished spectrum -> use matplotlib
Write the unextinguished spectrum to a FITS binary table file -> use astropy.io.fits.

Mention that one of the goals of the the dust_extinction package is to provide the equivalent of the IDL ccm_unred.pro and fm_unred.pro.

Possible bonus content.
Extinguish a model spectrum to predict and show the impact of dust extinction. Could also include the non-linear impact of increasing extinction on broad band photometry.
Would need a stellar atmosphere model spectrum. Could be a 2nd tutorial or a part of this one. Advice needed.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions