Skip to content

lbl spirou

Neil Cook edited this page Apr 4, 2023 · 5 revisions

LBL SPIRou Examples

LBL

The line by line method is a way to produce radial velocities for extracted echelle spectrograph observations. More information can be found on the lbl website and the lbl github

The simplest way to use LBL is with the wrapper scripts

To run the code do the following:

>> conda deactivate   // (x 5)
>> conda activate lbl-env
>> cd {local dir}
>> python {wrap script}

SPIRou specific instructions

{local dir} is /cosmos99/spirou/lbl-settings/{apero profile}

where {apero profile} is the name of the apero reduction the data has come from.

Inside the {local dir} you will find:

  • obj_list.csv // List of valid objects and their Teff values
  • obj_list.py // This updates obj_list.csv
  • wrap scripts // see below

Note that in the wrap files for APERO data on spirou-client@{host}:

  • INSTRUMENT = 'SPIROU'
  • DATA_SOURCE = 'APERO'
  • DATA_DIR = '/cosmos99/spirou/lbl-data/{apero profile}'

again where you must replace {apero profile} with the correct apero profile

Current wrap scripts

  • wrap_custom.py // Use this to run a single object through LBL
  • wrap_full.py // Use this to run all objects through LBL (may require running obj_list.py to update obj_list.csv first)




For {apero profile} see APERO setup for SPIROU