or in short
thresholds_automatic.pl -e 0x303 -o 0x10 -c 0
-currently only mode "padiwa" is implemented.
+currently only mode "padiwa" and "dirich2" are implemented.
+
+example to find correct threshold for a dirich2 system from high values to lower ones (above pedestal)
+./run_thresh_on_system.pl --endpoint=0x1200-0x120b --offset=0 --polarity=1 --direction=-1 --32channel --mode=dirich2
+
+example to find correct threshold for a dirich2 system from low values to higher ones (below pedestal)
+./run_thresh_on_system.pl --endpoint=0x1200-0x120b --offset=0 --polarity=0 --direction=1 --32channel --mode=dirich2
polarity: tells what the status of bit 32 is in the TDC, when the thresholds are set to 0
this is needed just for the convention, that an inactive channel shows up in the TDC registers