uob-positron-imaging-centre / up4

Post-processor for particle data.
https://uob-positron-imaging-centre.github.io/up4/
GNU General Public License v3.0
9 stars 1 forks source link

NaN behaviour definition #4

Open dwerner95 opened 2 years ago

dwerner95 commented 2 years ago

Old version of uPPPP (pyAnalyser) does not define behaviour for NaN -positions/velocities given from experimental data such as PEPT. Result is a invalid field for example here:

drawing

There are valid positions in the sections without data, however a single NaN makes the field invalid. We must check for NaNs when implementing the old functions in the new version