diff --git a/script/PolSwitch.py b/script/PolSwitch.py index e6895af..2e38dd7 100644 --- a/script/PolSwitch.py +++ b/script/PolSwitch.py @@ -80,12 +80,10 @@ for E in setpoints: elif detector4 == 'CIRC -': detector4 = 2 else: detector4 = 0 - if H > 0: - scan1.append ([E, H], [readback1, readback2], [detector1, detector2, detector4, detector7, tey_norm]) - print "appending: ", H if H < 0: + scan1.append ([E, H], [readback1, readback2], [detector1, detector2, detector4, detector7, tey_norm]) + if H > 0: scan2.append ([E, H], [readback1, readback2], [detector1, detector2, detector4, detector7, tey_norm]) - print "appending: ", H scan1.end() scan2.end()