The current version of the function for creating STIX lightcurves applies ELUT correction to every energy bin since it relies on OSPEX tools. However, in the case one creates a lightcurve for an energy range covering multiple energy bins (e.g., 10-15 keV), ELUT correction should be applied only to the first and the last energy bins (e.g., 10-11 keV and 14-15 keV).
For applying ELUT correction to only the first and the last energy bin, stx_science_data_lightcurve.pro should be entirely rewritten to avoid using OSPEX, which applies ELUT correction to all energy bins.
The current version of the function for creating STIX lightcurves applies ELUT correction to every energy bin since it relies on OSPEX tools. However, in the case one creates a lightcurve for an energy range covering multiple energy bins (e.g., 10-15 keV), ELUT correction should be applied only to the first and the last energy bins (e.g., 10-11 keV and 14-15 keV).
For applying ELUT correction to only the first and the last energy bin,
stx_science_data_lightcurve.proshould be entirely rewritten to avoid using OSPEX, which applies ELUT correction to all energy bins.