function to calculate energy/CFD, etc

Issue #2 new
Arun Persaud created an issue

We already have some function (mostly in analyze.py) that take a trace and calculate values for different properties, e.g., move L and G across the trace and calculate energies for each time. One can then look at the best time to readout the energy, etc. or see where the zero crossing is for the CFD and vary the parameters involved.

We should also have a set of function that take a trace and returns the CFD time (e.g., the position of the zero-crossing).

Things to do:

  • The energy code for calculated the energy values along the trace is currently also in the binary browser and should be moved to analyze.py
  • Functions to get single values, e.g. the energy that is also reported by the pixie
  • Clean up the CFD code, we have two functions and only one does the right thing, the other one should probably be removed

Comments (0)

  1. Log in to comment