-
This is a code for analysis of high-resolution transmission spectra. Currently, implemented instruments are
HARPSandESPRESSO.NIRPSDRS 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:
- Loading functions and formating spectra in
RATSformat. - Instrument-specific corrections
- Checking the tree-directory setup works properly.
- Loading functions and formating spectra in
- Adaptation for other instrument is mainly about:
-
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.RATSas first step when opening data creates a organized tree directory with all the data, which is then assumed by the pipeline.
- Filename location as downloaded from
-
This package is still work in progress.
-
Example usage:
Template_transmission_spectroscopy.pyshows a typical pipeline to reduce transmission spectroscopyHARPSandESPRESSOdata of a transit.Template_rossiter_mclaughlin_effect.pyshows a typical pipeline to reduce RM effect usingHARPSandESPRESSOspectrographs, using the "Revolutions" method (Bourrier et al. 2021)- TODO: Create a script to run in terminal for automatic setup of these.
- 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
- Before use:
- Few adjustment for pathing is needed for
run_molecfit_all. In particular, connection to theesorexrecipe needs to be properly established. - The rest of the pathing should be setup automatically.
- Few adjustment for pathing is needed for
- Before use:
- Few adjustment for pathing needs to be done for
petitRADtransto be usable - The main importing one is location of high-resolution line lists, through the
OPACITY_LIST_LOCATIONvariable in therats.modeling_CCF.pyfile.
- Few adjustment for pathing needs to be done for
- Before use:
- A filepath to the code main directory needs to be provided.
- 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
- Upper-limits calculation for non-detection
- Detection functions (Fitting, significance calculations)
- CCF functions
- RM + CLV simulation (for now
StarRotatorcan be used) - Clean up of plots functions
- RM Revolutions technique for characterization of RM effect
- Please provide any feedback to Michal Steiner (Michal.Steiner@unige.ch) or through the issues interface on GitHub.