innosat-mats / MATS-L1-processing

Python code for calibrating MATS images
MIT License
0 stars 1 forks source link

changed where median filter of dark current was applied. to make code faster. #206

Closed lindamegner closed 8 months ago

lindamegner commented 8 months ago

changed so that median filter of dark current was applied to the two coefficients of the linear fit ( darkcurrent =

10 * (self.log_a_img_avr_HSM T + self.log_b_img_avr_HSM) see darkcurrent2d in instrument.py) instead of to the final dark current. This was done in order to get faster processing since the median filter is now only applied when the CCD of the instrument is initiated.

lindamegner commented 8 months ago

Hej, detta borde mergas innan reprocessing

lindamegner commented 8 months ago

jo, det ska det. Jag tror jag måste gjort den ändringen i fel repository. För jag jag vart förvånad att jag hade den i mitt flatfield_averages2 men tog inte med den i committen. Ok, jag lägger till det igen.

lindamegner commented 8 months ago

OK, now I have added it again. Please review again.