Can we have a default value of this LookupTableRelativeErrorThreshold so that we can just set an empty dictionary as a default parameter...?
Or do we always want to explicitly set the error threshold...?
|
table=table, error_threshold=error_threshold[detector_name] |
|
wf = GenericNeXusWorkflow(run_types=run_types, monitor_types=monitor_types) |
|
|
|
for provider in eto_to_tof.providers(): |
|
wf.insert(provider) |
|
|
|
wf.insert(load_tof_lookup_table) |
|
|
|
# Default parameters |
|
wf[PulseStrideOffset] = None |
Can we have a default value of this
LookupTableRelativeErrorThresholdso that we can just set an empty dictionary as a default parameter...?Or do we always want to explicitly set the error threshold...?
ess/packages/essreduce/src/ess/reduce/time_of_flight/eto_to_tof.py
Line 453 in 047862b
ess/packages/essreduce/src/ess/reduce/time_of_flight/workflow.py
Lines 83 to 91 in 047862b