]> jspc29.x-matter.uni-frankfurt.de Git - daqtools.git/commitdiff
added positive pulses to automatism, mt
authorhadaq <M.Traxler@gsi.de>
Thu, 13 Aug 2015 15:40:58 +0000 (17:40 +0200)
committerhadaq <M.Traxler@gsi.de>
Thu, 13 Aug 2015 15:40:58 +0000 (17:40 +0200)
thresholds/thresholds_automatic.pl

index b0fe86bd66cfa1ae8b13a56dc7ab770b8ab439a3..2e34d715985e6a1c6dd5e99d43a6d64d7bbbd59e 100755 (executable)
@@ -270,7 +270,7 @@ while ($number_of_steps < $number_of_iterations ||
 
 
 
-map { $_-= $offset } @best_thresh;
+map { $_-= ($offset * $default_direction) } @best_thresh;
 write_thresholds($mode, $chain, \@best_thresh, $channel_to_set);
 
 my $uid;