Working on threshold finding still:
Check which value is closer to the threshold. Only if the slope is positive AND
the new delta between value and threshold is *larger* then the old delta, we
found the threshold. If slope is negative, we just have a ripple in the DAC's
distribution.
More threshold finding fixes:
If the pixel is above threshold at first appearance, the respective
DAC value is set as its threshold.
Threshold finding: catch the case where a pixel never actually reaches
the threshold level. In this case we set the threshold return value to
"dacMax" (rising edge) or "dacMin" (falling edge) - because this is
consistent the finding.
Thresholds: also implement new logic of threshold finding from
repackThresholdMap in repackThresholdVsDAC. Looks all fine now.
PyCLI: add ROOT window
Python CLI Change: all *Map functions now also return pixel objects,
to be consistent throughout the interface
PythonCLI: fix indentation in pxar_gui: pad was not updated...
PyCLI: add first version of plotter.
PyCLI gui: fix some more indentations, now forward/back work as expected
pucli: add button to print to pdf
PyCLI: add first unification for printing maps. todo: dac/dacdac scans,
make all aware of the possibility that multiple pixels and/or ROCs come
Make dummy DTB compile again.
PyCLI gui: make plotter more generic
PyCLI gui: add processing functions for data, callinng the plotter.