Routines for Spitzer MIR dust extinction curve paper. This paper is Gordon, Misselt, et al. (in prep).
Active development. Data still in changing. Use at your own risk.
Karl Gordon
This code is licensed under a 3-clause BSD style license (see the
LICENSE
file).
External packages used include dust_extintion, measure_extinction, and extstar_data. The basic information on each star is given in extstar_data including (TBD) the IRS/IUE/STIS spectra. dust_extinction provides the fitting curves shapes (FM90, AxAvToExv). measure_extinction gives the routines to read the data and calculate extinction curves.
Curves calculated with run_all_ext.
NIR/MIR portion fit with powerlaw + plus 2 modified drudes using 'fit_plasymdrude_all_ext`.
UV portion fit with FM90 shape using fit_fm90_all_ext.
Average extinction curve made using Figs/plot_mir_mext.py --alav --ave data/all_ext_14oct20_diffuse.dat.
Fit average: python utils/fit_mir_ext_powerlaw.py data/all_ext_14oct20_diffuse_ave.fits --nsteps=10000 --burnfrac=0.4 --png python utils/fit_uv_ext_fm90.py data/all_ext_14oct20_diffuse_ave_POWLAW2DRUDE.fits --png --nsteps=10000 --burnfrac=0.4
- MIR spectra comparison stars: Figs/plot_mir_spectra_standards.py
- MIR spectra reddened stars: Figs/plot_mir_spectra_reddened.py
- MIR spectra windy stars: Figs/plot_mir_spectra_reddened_windy.py
- J-K versus K-MIPS24: Figs/plot_nir_mir_phot.py
- Example fit: utils/fit_mir_ext_powerlaw.py fits/hd112272_hd204172_ext.fits --notitle --nsteps=10000 --burnfrac=0.4 --pdf
- MIR E(lambda-V) curves: Figs/plot_mir_mext.py data/all_ext_14oct20_pldrude.dat
- UV+MIR extinction: Figs/plot_uv_mir_mext.py data/all_ext_14oct20_pldrude.dat --models
- Sample properties: Figs/plot_sampprob.py data/all_ext_14oct20_pldrude.dat
- UV+MIR Average diffuse extinction curve: Figs/plot_ave_ext.py
- MIR ext literature comparison: Figs/plot_ext_litcomp.py
- MIR ext dust grain model comparison: Figs/plot_ext_modcomp.py
- Silicate versus various: Figs/plot_silicate.py data/all_ext_14oct20_pldrude.dat
- Dense versus diffuse ave: Figs/plot_ave_ext.py --dense
- Fit residuals of average curve: Figs/plot_residuals.py
- A(V) from E(K-V) or E(I3-V): Figs/plot_avekv.py data/all_ext_14oct20_pldrude.dat
- Spiter Data: idl/make_ir_phot_table.pro
- Opt/NIR Data: idl/make_ir_ophot_table.pro
- Sightline properties: by hand
- MIR extinction parameters: by hand
- MIR general extinction parameters: Tables/gen_mir_ext_params_table.py data/all_ext_14oct20_pldrude.dat
- MIR silicate extinction parameters: Tables/gen_mir_ext_params_table.py data/all_ext_14oct20_pldrude.dat --sil
- UV extinction parameters: Tables/gen_uv_ext_params_table.py data/all_ext_14oct20_uv.dat
- Generated as part of Figs/plot_ave_ext.py and saved as average_table.tex