Script execution
This commit is contained in:
@@ -201,10 +201,16 @@ def append_diag_datasets(parent = None):
|
||||
|
||||
|
||||
SAVE_DIAGS = True
|
||||
def AfterReadout(rec):
|
||||
def after_readout(rec):
|
||||
if SAVE_DIAGS:
|
||||
if rec.index == 0:
|
||||
create_diag_datasets()
|
||||
append_diag_datasets()
|
||||
|
||||
def adjust_sensors():
|
||||
if SENSORS is not None:
|
||||
# Move integration to end
|
||||
for dev in [Integration, AngleDistribution]:
|
||||
if dev in SENSORS:
|
||||
SENSORS=SENSORS+[SENSORS.pop(SENSORS.index(dev))]
|
||||
|
||||
Reference in New Issue
Block a user