Measure Extinction¶
measure_extinction
is a python package to measure extinction
due to dust absorbing photons or scattering photons out of
the line-of-sight.
Extinction applies to the case for a star seen behind a foreground
screen of dust.
This package provides the tools to measure dust extinction curves using
observations of two effectively identical stars, differing only in that one
is seen through more dust than the other.
Models of the wavelength dependence of dust extinction can be found in the dust_extinction package. More complex geometries of stars and dust include additional radiative transfer effects resulting in attenuation. Models of the wavelength dependence of dust attenuation can be found in the dust_attenuation package.
This package is developed in the astropy affiliated package template.
User Documentation¶
Reporting Issues¶
If you have found a bug in measure_extinction
please report it by creating a
new issue on the measure_extinction
GitHub issue tracker.
Please include an example that demonstrates the issue sufficiently so that the developers can reproduce and fix the problem. You may also be asked to provide information about your operating system and a full Python stack trace. The developers will walk you through obtaining a stack trace if it is necessary.
Contributing¶
Like the Astropy project, the measure_extinction
is made both by and for its
users. We accept contributions at all levels, spanning the gamut from fixing a
typo in the documentation to developing a major new feature. We welcome
contributors who will abide by the Python Software Foundation Code of Conduct.
measure_extinction
follows the same workflow and coding guidelines as
Astropy. The following pages will help you get started with contributing
fixes, code, or documentation (no git or GitHub experience necessary):
For the complete list of contributors please see the measure_extinction contributors page on Github.
Reference API¶
measure_extinction.stardata Module¶
Classes¶
|
Photometric and spectroscopic data for a star |
|
Photometric band data (used by StarData) |
|
Spectroscopic data (used by StarData) |
Class Inheritance Diagram¶
digraph inheritanceda7afb1642 { bgcolor=transparent; rankdir=LR; size="8.0, 12.0"; "BandData" [URL="api/measure_extinction.stardata.BandData.html#measure_extinction.stardata.BandData",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Photometric band data (used by StarData)"]; "SpecData" [URL="api/measure_extinction.stardata.SpecData.html#measure_extinction.stardata.SpecData",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Spectroscopic data (used by StarData)"]; "StarData" [URL="api/measure_extinction.stardata.StarData.html#measure_extinction.stardata.StarData",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Photometric and spectroscopic data for a star"]; }measure_extinction.modeldata Module¶
Classes¶
|
Provide stellar atmosphere model "observed" data given input stellar, gas, and dust extinction parameters. |
Class Inheritance Diagram¶
digraph inheritanceddd180ddfa { bgcolor=transparent; rankdir=LR; size="8.0, 12.0"; "ModelData" [URL="api/measure_extinction.modeldata.ModelData.html#measure_extinction.modeldata.ModelData",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Provide stellar atmosphere model \"observed\" data given input stellar, gas,"]; }measure_extinction.extdata Module¶
Functions¶
|
Generate the average extinction curve from a list of ExtData objects |
Classes¶
|
Extinction for a single line-of-sight |
Class Inheritance Diagram¶
digraph inheritance234dc1cc5e { bgcolor=transparent; rankdir=LR; size="8.0, 12.0"; "ExtData" [URL="api/measure_extinction.extdata.ExtData.html#measure_extinction.extdata.ExtData",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Extinction for a single line-of-sight"]; }measure_extinction.merge_obsspec Module¶
Functions¶
|
Merge one or more IUE 1D spectra into a single spectrum on a uniform wavelength scale |
|
Merge one or more STIS 1D spectra into a single spectrum on a uniform wavelength scale |
|
Merge one or more IRTF SpeX 1D spectra into a single spectrum on a uniform wavelength scale |
|
Merge one or more NIRCam slitless 1D spectra into a single spectrum on a uniform wavelength scale |
|
Merge one or more Spitzer IRS 1D spectra into a single spectrum on a uniform wavelength scale |
|
Merge one or more MIRI IFU 1D spectra into a single spectrum on a uniform wavelength scale |