mzechmeister / serval

calculate radial velocities from stellar spectra
MIT License
36 stars 9 forks source link

Option for start RVs #20

Open mzechmeister opened 5 years ago

mzechmeister commented 5 years ago

The option should accept an RV file. Currently, there are already the -vtfix and -skippre options. Actually, it is also related to the -targrv option.

With is option one could, for example, apply RVs from CARM_VIS for the coadding in CARM_NIR.

mzechmeister commented 5 years ago

Currently, start RVs could be loaded by writing them into the *.pre.dat file and using the -skippre option. This is how vtfix works since 73e1fd843b196ab75f5b95c3652519b7ed90c2d3: https://github.com/mzechmeister/serval/blob/73e1fd843b196ab75f5b95c3652519b7ed90c2d3/src/serval.py#L1059-L1066