SHIRO is a JWST/MIRI MRS analysis pipeline for spatially resolved studies of polycyclic aromatic hydrocarbon (PAH) emission in galaxies.
Developed and tested using observations of NGC 7469, the pipeline provides an end-to-end workflow for extracting annular spectra, stitching MIRI spectral channels, performing PAHFIT decomposition, propagating uncertainties through Monte Carlo simulations, and analyzing PAH populations using PAHdb.
The notebook performs the following steps:
- Discovery and loading of MIRI/MRS spectral cubes
- Spatial homogenization through PSF matching
- Quality-assurance maps with annular overlays
- Annular spectral extraction
- Pre-stitch spectral diagnostics
- Spectral stitching across sub-bands and channels
- Spectral decomposition with PAHFIT
- Extraction of PAH-only spectra
- Monte Carlo uncertainty estimation
- PAH band-ratio measurements with propagated uncertainties
- Radial trend analysis
- PAH population analysis using PAHdb
-
SHIRO - Spectral Homogenization, Infrared Radial Output.ipynbComplete end-to-end analysis pipeline.
To adapt the workflow to a new target:
- Set
galaxy_folderto the directory containing the JWST/MIRI_s3d.fitscubes. - Update
REDSHIFTto the target galaxy value. - Adjust the annular extraction parameters (
num_rings,r0, andstep) as needed. - Verify that the PAHFIT feature names in
BAND_COMPLEXESmatch those produced by PAHFIT for the target.
This repository does not distribute JWST data products or PAHdb databases.
Users must provide their own JWST/MIRI MRS _s3d.fits cubes.
PAHdb files must be downloaded separately and placed in a local PAHdb/ directory.
The databases are not distributed through this repository because of their size.
- Consistent redshift handling throughout the workflow
- Science-ready PSF homogenization
- Monte Carlo uncertainty propagation
- PAH band-ratio uncertainties included in final plots
- Improved robustness in PAHFIT feature extraction
If you use SHIRO in academic work, please cite the repository using the metadata provided in CITATION.cff.
GitHub will automatically generate citation formats through the repository's Cite this repository feature.
Developed at the Observatório do Valongo, Universidade Federal do Rio de Janeiro (UFRJ).
Advisor: Karín Menéndez-Delmestre
Author: Juan José Maldonado-Portilla
MIT License. See LICENSE for details.