PRISMATIC is a Python-based tool designed to analyze and determine redshifts and quality flags from JWST NIRSpec prism spectra. This program is optimized for handling low-resolution spectra obtained from the NIRSpec prism, in particular spectra from the The CANDELS-Area Prism Epoch of Reionization Survey (CAPERS) JWST program (GO 6368, PI Dickinson).
-
Redshift selection:
PRISMATIC allows users to visually inspect spectral data and choose the correct redshift by matching emission lines with observed spectral features.
-
Solution selection from independent codes:
The tool integrates outputs from various automatic codes (msaexp, bagpipes, Cigale, Marz, LiMe, ...), enabling users to compare suggested redshift solution from each code and select the most accurate one based on visual inspection and feature matching.
-
Flag assignment:
Users can associate a confidence flag to each selected redshift, based on the following legend:
Flag Description 4 Very secure redshift. Several clear features matching. 3 Secure redshift. Various high and low confidence features matching. 2 Probable redshift. Various low confidence features. 1 Uncertain redshift. Single low confidence feature. 0 Unknown. No detection or absence of features. 9 Best guess for single high confidence feature. -
Review Needed:
If the source exhibits some features but the redshift is challenging to determine, users can click the "Review needed" button. This action will:
- Assign a redshift of
-2. - Add a comment: "Uncertain solution, flagged for review"
- Assign a redshift of
-
Common Spectral Features:
The tool includes an option to select and highlight the most common spectral features for quick reference.
-
Comments Section:
Users can leave additional comments or notes for each source.
- Remember to save each source's information using the
Save to CSVbutton before moving to the next one.
git clone https://github.com/masciasara/PRISMATIC.git
cd PRISMATIC
pip install -r requirements.txt
jupyter notebook PRISMATIC.ipynbContributions are welcome! If you have suggestions, bug reports, or requests, feel free to open an issue or contact me at [email protected].
PRISMATIC was developed as part of the CAPERS project.