mzechmeister / serval

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

moon distance #38

Closed mzechmeister closed 3 years ago

mzechmeister commented 3 years ago

Compute the moon distance with astropy, so that contaminated spectra can be flagged.

In 1330c269a4ac6c4a7a9a82104d86f18436544cb7, there was even an experimental trial to correct dLW, by approximating moon straylight with a polynomial.

https://github.com/mzechmeister/serval/blob/cac0f7572e4fd89ea315ea8c9156a9a57650a77f/src/serval.py#L1907-L1910

mzechmeister commented 3 years ago

Implemented in 0d98fbc.