labscript.outputs.StaticAnalogOut
- class StaticAnalogOut(*args, **kwargs)[source]
Bases:
StaticAnalogQuantityStatic Analog Output class for use with all devices that have constant outputs.
- __init__(*args, **kwargs)
Instatiantes the static analog quantity.
Defines an internal tracking variable of the static output value and calls
Output.__init__().- Parameters:
*args – Passed to
Output.__init__().**kwargs – Passed to
Output.__init__().
Methods
__init__(*args, **kwargs)Instatiantes the static analog quantity.
add_device(device)Adds a child device to this device.
add_instruction(time, instruction[, units])Adds a hardware instruction to the device instruction list.
apply_calibration(value, units)Apply the calibration defined by the unit conversion class, if present.
constant(value[, units])Set the static output value of the output.
do_checks(trigger_times)Basic error checking to ensure the user's instructions make sense.
expand_timeseries(*args, **kwargs)Defines the
raw_outputattribute.generate_code(hdf5_file)Generate hardware instructions for device and children, then save to h5 file.
get_all_children()Get all children devices for this device.
get_all_outputs()Get all children devices that are outputs.
get_change_times()Enforces no change times.
get_properties([location])Get all properties in location.
get_property(name[, location])Method to get a property of this device already set using
Device.set_property().get_ramp_times()If this is being called, then it means the parent Pseuedoclock has asked for a list of the output ramp start and stop times.
init_device_group(hdf5_file)Creates the device group in the shot file.
instruction_to_string(instruction)Gets a human readable description of an instruction.
make_timeseries(change_times)Since output is static, does nothing.
offset_instructions_from_trigger(trigger_times)Subtracts self.trigger_delay from all instructions at or after each trigger_time.
quantise_to_pseudoclock(times)Quantises
timesto the resolution of the controlling pseudoclock.set_properties(properties_dict, property_names)Add one or a bunch of properties packed into properties_dict
set_property(name, value[, location, overwrite])Method to set a property for this device.
Attributes
allowed_childrenDefines types of devices that are allowed to be children of this device.
allowed_statesclock_limitReturns the parent clock line's clock limit.
default_valueValue of output if no constant value is commanded.
Brief description of the device.
parent_clock_lineStores the clocking clockline, which may be itself.
pseudoclock_deviceStores the clocking pseudoclock, which may be itself.
scale_factorstatic_valueThe value of the static output.
t0The earliest time output can be commanded from this device at the start of the experiment.
trigger_delayThe earliest time output can be commanded from this device after a trigger.
wait_delayThe earliest time output can be commanded from this device after a wait.
- description = 'static analog output'
Brief description of the device.