cylammarco / ASPIRED

Automated SpectroPhotometric Image REDuction (ASPIRED)
https://aspired.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
30 stars 4 forks source link

Reduced frame should not overwrite self.light_master #31

Closed cylammarco closed 3 years ago

cylammarco commented 3 years ago

As reported by @P-R-McWhirter, the fieldflattening should not apply directly to the self.light_master, a new frame, e.g. self.light_reduced, should be created from the raw light/flat/dark/bias frames.

https://github.com/cylammarco/ASPIRED/blob/ec5f303a0ba8611003e76e60bd5b94699e81d4ba/aspired/image_reduction.py#L518