svalenti / pessto

pessto pipeline
MIT License
9 stars 6 forks source link

EFOSC Spectra EFFRON not calculated #44

Open thespacedoctor opened 8 years ago

thespacedoctor commented 8 years ago

Whenever the RON (ESO_DET_OUT1_RON) in the raw frame is 7.8 the pipeline fails to calculate and write EFFRON to the reduced spectrum header.

effron = ron * math.sqrt(1. + 1. / nflat + 1. / nbias)

I was able to write a script to retrospectively add the correct EFFRON for phase III products, but would be good to correct this in the pipeline.