PAHFIT / pahfit

Model Decomposition for Near- to Mid-Infrared Spectroscopy of Astronomical Sources
https://pahfit.readthedocs.io/
18 stars 26 forks source link

JWST pack files #224

Closed alexmaragko closed 1 year ago

alexmaragko commented 2 years ago

JWST science pack files in ipac format, based on JWST simulations of the Orion's Bar ionization front (see https://pdrs4all.org/publications/ for details).

Emission lines and dust features were fitted with Gaussian1D and Drude1D models/profiles respectively, at separate smaller wavelength regions (not in one go of the entire NIR/MIR simulated spectra.)

JWST_sims_IF_emission_lines_example JWST_sims_IF_emission_lines_example_zoom

Notes on PAHFIT fitting

Example fitting on the 5 - 15 micron region of the simulations.

codecov-commenter commented 2 years ago

Codecov Report

Merging #224 (b2df3af) into master (920af78) will decrease coverage by 8.64%. The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #224      +/-   ##
==========================================
- Coverage   52.56%   43.91%   -8.65%     
==========================================
  Files           9       12       +3     
  Lines         605      822     +217     
==========================================
+ Hits          318      361      +43     
- Misses        287      461     +174     
Impacted Files Coverage Δ
pahfit/errors.py 100.00% <0.00%> (ø)
pahfit/features/features_format.py 33.33% <0.00%> (ø)
pahfit/features/__init__.py 100.00% <0.00%> (ø)
pahfit/features/features.py 15.55% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

alexmaragko commented 2 years ago

Here is a brute fit (no redshift correction or proper unit conversion) and comparison between the different packs on the 5-15 micron JWST data of galaxy VV114.

ThomasSYLai commented 2 years ago

We should be able to fit the emission lines by properly shifting the spectrum back to the rest frame. The redshift of VV114 is 0.02007.

alexmaragko commented 2 years ago

Indeed things are improving with redshift correction.

With the JWST pack the fit is using a larger number of emission lines than required for the galaxy. The ISO pack, which includes ~ 100 less emission lines than the JWST pack, gives a better result.

alexmaragko commented 2 years ago

To give a better description of the above, looking at the large number of emission lines e.g. in the 7 - 7.5 um region when fitting the galaxy with the JWST pack is because these lines are there in the simulations. In the plot below I'm zooming-in in the simulation spectrum at that region.

jwst_IF_sims_77_zoom

So these lines are included in the JWST pack file and PAHFIT is using them.

alexmaragko commented 2 years ago

Added new JWST packs based on the PDR dissociation front (DF) simulations.

jdtsmith commented 1 year ago

I'm going to close this for now since our pack format has diverged since this was written. Definitely still interested in improvements and the birth of a pdr.yaml science pack. Probably starting small and building lines in as you go is the right approach.