Skip to main content

A Pincipal Component Pipeline based on Damiano et al. 2019

Project description

pcassie

Documentation Status codecov image

Code based on M. Damiano, G. Micela, and G. Tinetti (2019). A Principal Component Analysis-based Method to Analyze High-resolution Spectroscopic Data on Exoplanets

Originally developed for CRIRES+ data. Pipeline run time depends on the resolution and number of spectra and detectors in your dataset. For a dataset of 31 spectra and 14 detectors from CRIRES+, sampling to the optimal PCA components in the time-domain space takes 5-7 minutes.

The code is structured as follows. All programs are .py files in the 'pcassie' folder. pipeline.py compiles the nessecary functions into one 'pipeline' function. The pipeline function optionally recalibrates the pixel-wavelength relation of the data spectrum to a telluric model from EsoSky (Noll et al. 2012, Jones et al. 2013), then will perform PCA subtraction on the data (from pca_subtraction.py) and cross-correlation with a user input simulated spectrum (from ccf.py). Typically you would like to sample PCA components for the optimal reduction; this can be accomplished via 'sample_full_pca_components', which runs 'pipeline' and removes the first and last components until the peak of the signal-to-noise matrix (refer to Damiano et al. (2019) for details) is maximized. For the development of this codebase, I used MultiRex (Duque-Castaño et al. 2024), a straightforward implementation of TauRex (Al-Refaie et al. 2019). There are additional functions to inject the data with the simulated spectrum and perform a Welch's T-test in ccf.py.

Helpful Documents in order of relevance

Damiano (2018), Sec. 3.2, 5.3, 5.4, 5.5, 5.6. From space to ground (thesis)

Duque-Castaño et al. (2024). Machine-assisted classification of potential biosignatures in Earth-like exoplanets using low signal-to-noise ratio transmission spectra (MultiRex)

Kipping & Benneke (2025). Exoplaneteers Keep Overestimating Sigma Significances

Generally Helpful Links

NASA Exoplanet Archive, helpful for exoplanetary parameters.

ESO Exposure Time Calculator, helpful for identifying detectors on ESO instruments most affected by tellurics.

ESO SkyCalc, helpful to get a telluric model.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pcassie-0.1.4.tar.gz (139.8 kB view details)

Uploaded Source

File details

Details for the file pcassie-0.1.4.tar.gz.

File metadata

  • Download URL: pcassie-0.1.4.tar.gz
  • Upload date:
  • Size: 139.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for pcassie-0.1.4.tar.gz
Algorithm Hash digest
SHA256 f8deed74597729fcda6c62f0bca747713e8801667494ba3835eaa6f2d3b0a252
MD5 e390c6ff7ee6576e094d1cba35b526dd
BLAKE2b-256 5d1401c6af91082f389e9c569a3df356cb2c706bfd94b44cedc81780be7d6483

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page