solo-spice / sospice

Python data analysis tools for the SPICE extreme-UV spectrometer on Solar Orbiter
BSD 3-Clause "New" or "Revised" License
12 stars 5 forks source link

Get radiometric calibration array #50

Open ebuchlin opened 5 months ago

ebuchlin commented 5 months ago

Get radiometric calibration array as a function of wavelength, for a given spectral window, equivalent to the attached IDL code from T. Fredvik:

IDL> radcal_array = get_radcal_array(l2_file, win_no, scalar_value=scalar_value)
IDL> help,radcal_array
RADCAL_ARRAY    DOUBLE    = Array[1, 1, 80, 1]
IDL> print,scalar_value
       1647.6411
IDL> print,mean(radcal_array)
       1647.6411