spedas / bleeding_edge

IDL-based Space Physics Environment Data Analysis Software (bleeding edge)
http://www.spedas.org
Other
7 stars 0 forks source link

ROI-dependent calibration for ESA #48

Open jameswilburlewis opened 1 year ago

jameswilburlewis commented 1 year ago

From Vassilis:

A researcher noticed that our L2 ESA data are not providing accurate moments. The reason is that the background subtraction needs to be changed to accommodate the increased radiation environment. We can easily do that by modifying the appropriate keywords on the number of anodes and energies to average over and the scaling factor to apply. Increasing the number of bins to 5 and scale factor to 5 should remove enough background to get the moments far more accurate.

Is this something that could be automated to happen inside a certain radius, say 6Re, and then populate the L2 data? Can we try a few days (active days in particular) to see how it works and then a week, then a month, if it works well then apply it to the full mission – what do you think?

jameswilburlewis commented 1 year ago

I don't know if our ESA calibration software is set up to do ROI-dependent calibrations. If the distributions are being processed one-by-one, it would probably be fairly easy to check the state_pos vector to see which parameters to use for each distribution. On the other hand, if it's highly vectorized, we might need some wrapper code to identify the ROI boundaries, process each segment, then stitch the results back together.