Keck-DataReductionPipelines / KCWI_DRP

KCWI python DRP
BSD 3-Clause "New" or "Revised" License
8 stars 12 forks source link

Sky model spatial variations? #102

Open prusinski opened 2 years ago

prusinski commented 2 years ago

When the reduction makes the sky model based on the twilight flats, is it using a 1D b-spline fit, or is it fitting a 2D function to account for the spatial and wavelength variations in the sky? This is perhaps related to issue #13, looking at how to remove the large spatial variations in the illumination.

MNBrod commented 2 years ago

The sky model is generated as a 1-D model by using all pixels at a given wavelength and applying rejection to (hopefully) remove object flux from the model.

prusinski commented 2 years ago

Okay, that makes sense. With regard to issue #13, are there any plans to implement a 2D b-spline fit in the future to address the spatial variations?