roman-corgi / corgidrp

Data Reduction Pipeline for the Roman Coronagraph Instrument
4 stars 2 forks source link

Function that divides by the exposure time #75

Open LisaAltinier opened 2 months ago

LisaAltinier commented 2 months ago

The function divides data and error by the exposure time. Header updated. Test to check that the function works.

JuergenSchreiber commented 2 weeks ago

@LisaAltinier, please have a look at e.g. l2a_to_l2b.convert_to_electrons(). I have added a dict parameter to the update_after_processing_step() where you easily can update the header entries as you need for the units.