sdss / apogee_drp

SDSS-V APOGEE Reduction Pipeline
BSD 3-Clause "New" or "Revised" License
1 stars 2 forks source link

Fix bug? #2

Closed andycasey closed 2 years ago

andycasey commented 2 years ago

When visits are resampled and stacked, a smoothed and filtered version of the spectrum is used for bad pixels.

I think the smoothed and filtered flux values are incorrectly being assigned as the flux error values for bad pixels, instead of using the smoothed flux error values. This PR fixes that.