Skip to main content

Revealing Atmospheres with Transmission Spectroscopy

Project description

RATS - Revealing Atmospheres with Transmission Spectra

Purpose:

  • This is a code for analysis of high-resolution transmission spectra. Currently, implemented instruments are HARPS and ESPRESSO. NIRPS DRS pipeline uses the same DRS as these two instruments, and while untested, the loading functions should work correctly.

    • Adaptation for other instrument is mainly about:
      1. Loading functions and formating spectra in RATS format.
      2. Instrument-specific corrections
      3. Checking the tree-directory setup works properly.
  • The goal of this pipeline is to automatize most of the tasks when reducing the data without user input, making it possible to quickly setup multiple datasets. This is done by generalized template for transmission spectroscopy (RM analysis to be implemented), which takes as input:

    • Filename location as downloaded from DACE. No other ways of downloading data have been tested. RATS as first step when opening data creates a organized tree directory with all the data, which is then assumed by the pipeline.
  • This package is still work in progress.

  • Example usage:

    • Template_transmission_spectroscopy.py shows a typical pipeline to reduce transmission spectroscopy HARPS and ESPRESSO data of a transit.
    • Template_rossiter_mclaughlin_effect.py shows a typical pipeline to reduce RM effect using HARPS and ESPRESSO spectrographs, using the "Revolutions" method (Bourrier et al. 2021)
    • TODO: Create a script to run in terminal for automatic setup of these.

Before use:

  • Few modules are depending on external libraries, that need further setup. Generally, this includes filepaths to the external libraries.
  • TODO: The setup will be moved to singular file

molecfit:

  • Before use:
    • Few adjustment for pathing is needed for run_molecfit_all. In particular, connection to the esorex recipe needs to be properly established.
    • The rest of the pathing should be setup automatically.

petitRADTrans:

  • Before use:
    • Few adjustment for pathing needs to be done for petitRADtrans to be usable
    • The main importing one is location of high-resolution line lists, through the OPACITY_LIST_LOCATION variable in the rats.modeling_CCF.py file.

LDCU:

  • Before use:
  • A filepath to the code main directory needs to be provided.

StarRotator:

  • Before use:
    • A filepath to main directory of the code needs to be provided.
    • TODO: Implement the code so StarRotator is loaded as external library, instead of being within the RATS package

To be done:

  • Upper-limits calculation for non-detection
  • Detection functions (Fitting, significance calculations)
  • CCF functions
  • RM + CLV simulation (for now StarRotator can be used)
  • Clean up of plots functions
  • RM Revolutions technique for characterization of RM effect

Feedback:

  • Please provide any feedback to Michal Steiner (Michal.Steiner@unige.ch) or through the issues interface on GitHub.

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

rats_transmission-0.3.1.tar.gz (98.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rats_transmission-0.3.1-py3-none-any.whl (106.4 kB view details)

Uploaded Python 3

File details

Details for the file rats_transmission-0.3.1.tar.gz.

File metadata

  • Download URL: rats_transmission-0.3.1.tar.gz
  • Upload date:
  • Size: 98.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.9

File hashes

Hashes for rats_transmission-0.3.1.tar.gz
Algorithm Hash digest
SHA256 aca02cd308aa659f5e6a41faebc0f3583a57855b1994f880ddcdb36410c154d4
MD5 edceaa266779483d599601a2c40ee633
BLAKE2b-256 d40ed339dfd3d18447df196ff3f2053840e00aad0a8747db4463fdb3f683e197

See more details on using hashes here.

File details

Details for the file rats_transmission-0.3.1-py3-none-any.whl.

File metadata

File hashes

Hashes for rats_transmission-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cf5b6279cdbac359c838326ffdb464a898a8a556f003510b26ecf7550074d862
MD5 42ae2d74758d79fe49d1c23a3899a01e
BLAKE2b-256 05cd62f787e4d7f54ca47276db4967302fbc26d681e76fe9230cf29aa2ed33fd

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