mzechmeister / serval

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

Remove template.fits #61

Closed mzechmeister closed 4 months ago

mzechmeister commented 8 months ago

The template.fits (*.tpl.fits) is a tabulation of the spline model with an oversampling by a factor of about four. It is a relict of previous coadding methods. This leads to confusion and should be removed. Some refactoring will be needed. Just storing the knot values (or the B-spline amplitudes) is really sufficient.

Instructions or a script, how the get the spline model, should be given.

The storing the flux as float32 should be also sufficient and will further reduce the size of serval output.

mzechmeister commented 4 months ago

Solved with c2f47b2. See also associated issues in #63.

A tutorial how to reconstruct the spline from the fits file is given in https://gist.github.com/mzechmeister/eac1b83a7d5cdc64c149fafd959adca8