Skip to content

EduardoCristo/NIRPS-data-handling-session

Repository files navigation

NIRPS-data-handling-session

Clone the current repository

First create a folder in a convenient place before cloning it. Let's assume, to give an example, that we create the [place_a_name_here] folder on the home directory. From the terminal:

>>> cd [place_a_name_here]

And then clone the repository:

>>> git clone https://github.com/EduardoCristo/NIRPS-data-handling-session.git

Finally navigate to the repository folder:

>>> cd NIRPS-data-handling-session

Create a conda environment and install the required packages

Lets start by creating a NIRPS_dhs conda environment running python 3.9

>>> conda create --name NIRPS_dhs python=3.9

Next activate it

>>> conda activate NIRPS_dhs

Install the requirements for all the packages we will be using.

>>> pip install -r requirements.txt

Make NIRPS_dhs appear as a kernel in jupyter

Start to install ipython to the NIRPS_dhs environment

>>>  conda install -c anaconda ipykernel

Make the connection between the environment and jupyter

>>> python -m ipykernel install --user --name=NIRPS_dhs

Start jupyter and check if NIRPS_dhs is one of the available kernels.



Install Romain Allart's telluric correction tool

The tool itself does not require anything more to install other than the requirements, which were dealt already. The telluric correction is performed inside the folder structure provided in the repository.

Clone the repository to the folder created before:

>>> git clone https://github.com/RomainAllart/Telluric_correction.git

And that is it! You can now test if it is running properly with the provided example:

>>> cd Telluric_correction
>>> python run_telluric_correction.py


Install the Line-by-line code

Clone the repository to the folder created before

>>> git clone https://github.com/njcuk9999/lbl

Go to the Line-by-line code folder

>>> cd lbl

Install it

>>> pip install -U -e .

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published