gully / ynot

Astronomical échellogram digital twins with pixel-perfect machine learning: rehabilitating archival data and pathfinding for EPRV
https://ynot.readthedocs.io
MIT License
4 stars 0 forks source link

Demo end-to-end GPyTorch for sky-line removal #3

Closed gully closed 1 year ago

gully commented 3 years ago

Training a GP on the sky lines makes intuitive sense: We know the sky background is going to have correlations in wavelength due to a sea of small emission lines, any one of which may not have significant SNR, but collectively exhibit a nuisance signal to remove.

Implementing the GP is subtle because it's the first time we'll want to isolate just the sky-exposed area, so we'll need to mask the out-of-slit region with emask

gully commented 1 year ago

If we want GPs, we should wait until there's a JAX version to use tinygp. Otherwise GPyTorch is a bit tricky to connect into our scaffolding.