wlauto.instrumentation.delay package

Module contents

class wlauto.instrumentation.delay.DelayInstrument(device, **kwargs)[source]

Bases: wlauto.core.instrumentation.Instrument

aliases = AC([])
artifacts = AC([])
core_modules = []
description = '\n This instrument introduces a delay before executing either an iteration\n or all iterations for a spec.\n\n The delay may be specified as either a fixed period or a temperature\n threshold that must be reached.\n\n Optionally, if an active cooling solution is employed to speed up temperature drop between\n runs, it may be controlled using this instrument.\n\n '
do_wait_for_temperature(temperature)[source]
finalize(*args, **kwargs)
initialize(*args, **kwargs)
kind = 'instrument'
name = 'delay'
parameters = AC(["Param({'kind': <type 'list'>, 'mandatory': None, 'name': 'modules', 'constraint': None, 'default': None, 'allowed_values': None, 'global_alias': None, 'override': False})", "Param({'kind': <type 'str'>, 'mandatory': None, 'name': 'temperature_file', 'constraint': None, 'default': '/sys/devices/virtual/thermal/thermal_zone0/temp', 'allowed_values': None, 'global_alias': 'thermal_temp_file', 'override': False})", "Param({'kind': <function integer>, 'mandatory': None, 'name': 'temperature_timeout', 'constraint': None, 'default': 600, 'allowed_values': None, 'global_alias': 'thermal_timeout', 'override': False})", "Param({'kind': <function integer>, 'mandatory': None, 'name': 'temperature_poll_period', 'constraint': None, 'default': 5, 'allowed_values': None, 'global_alias': 'thermal_sleep_time', 'override': False})", "Param({'kind': <function integer>, 'mandatory': None, 'name': 'temperature_between_specs', 'constraint': None, 'default': None, 'allowed_values': None, 'global_alias': 'thermal_threshold_between_specs', 'override': False})", "Param({'kind': <function integer>, 'mandatory': None, 'name': 'temperature_between_iterations', 'constraint': None, 'default': None, 'allowed_values': None, 'global_alias': 'thermal_threshold_between_iterations', 'override': False})", "Param({'kind': <function integer>, 'mandatory': None, 'name': 'temperature_before_start', 'constraint': None, 'default': None, 'allowed_values': None, 'global_alias': 'thermal_threshold_before_start', 'override': False})", "Param({'kind': <function integer>, 'mandatory': None, 'name': 'fixed_between_specs', 'constraint': None, 'default': None, 'allowed_values': None, 'global_alias': 'fixed_delay_between_specs', 'override': False})", "Param({'kind': <function integer>, 'mandatory': None, 'name': 'fixed_between_iterations', 'constraint': None, 'default': None, 'allowed_values': None, 'global_alias': 'fixed_delay_between_iterations', 'override': False})", "Param({'kind': <function integer>, 'mandatory': None, 'name': 'fixed_before_start', 'constraint': None, 'default': None, 'allowed_values': None, 'global_alias': 'fixed_delay_before_start', 'override': False})", "Param({'kind': <function boolean>, 'mandatory': None, 'name': 'active_cooling', 'constraint': None, 'default': False, 'allowed_values': None, 'global_alias': 'thermal_active_cooling', 'override': False})"])
validate(*args, **kwargs)
very_slow_on_iteration_start(context)[source]
very_slow_on_spec_start(context)[source]
very_slow_start(context)[source]
wait_for_temperature(temperature)[source]