mzechmeister / serval

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

driftref: _NameError: global name 'kk' is not defined_ #34

Closed mzechmeister closed 4 years ago

mzechmeister commented 4 years ago

The driftref mode was not tested, when the code was restructured in https://github.com/mzechmeister/serval/commit/73e1fd843b196ab75f5b95c3652519b7ed90c2d3. Hence this error occurs in https://github.com/mzechmeister/serval/blob/c8e99504350b4291e28c48207b4f3512744a4f16/src/serval.py#L1796-L1798 The variable kk contained usually spline coefficients (curvature) and is not needed in driftref mode.