emolter / nirc2_reduce

Software for calibration and analysis of infrared images of solar system objects. Has been applied successfully to NIRC2, OSIRIS, and Lick ShARCS data.
GNU General Public License v3.0
1 stars 2 forks source link

Same flats used for every observation #9

Open mcamarca opened 1 month ago

mcamarca commented 1 month ago

I noticed that multi_reduce.py is using the same flat for every observation, i.e. the kp flat for h and hp filters.

I think the problem comes from on line 272 in multi_reduce.py: wl_eff = float(tab[wl_kw].data[0]) When i print(tab[wl_kw].data), I get a table column with the effective wavelengths of all the data in my observation, and it always just uses the first value which is 2.1245 in my case.