Skip to content

masciasara/prismatic

Repository files navigation

PRISMATIC Redshifting Program

PRISMATIC_logo

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).


Features

  1. Redshift selection:

    PRISMATIC allows users to visually inspect spectral data and choose the correct redshift by matching emission lines with observed spectral features.

  2. 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.

  3. 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.
  4. 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"
  5. Common Spectral Features:

    The tool includes an option to select and highlight the most common spectral features for quick reference.

  6. Comments Section:

    Users can leave additional comments or notes for each source.

  7. Remember to save each source's information using the Save to CSV button before moving to the next one.

PRISMATIC Analysis Notebook

git clone https://github.com/masciasara/PRISMATIC.git  
cd PRISMATIC  
pip install -r requirements.txt
jupyter notebook PRISMATIC.ipynb

Contributions

Contributions are welcome! If you have suggestions, bug reports, or requests, feel free to open an issue or contact me at [email protected].


Acknowledgments

PRISMATIC was developed as part of the CAPERS project.

About

The PRISMATIC redshifting program is designed for use with JWST NIRSpec prism spectra.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published