labscript.labscript¶
Functions
|
Add a marker for the specified time. |
|
Converts a list of arrays of ones and zeros into a single array of unsigned ints of the given datatype. |
|
A faster way of flattening our arrays than pylab.flatten. |
Compiles a shot and saves it to the shot file. |
|
|
Generates the connection table for the compiled shot. |
|
Generates the wait table for the shot and saves it to the shot file. |
restores builtins and the labscript module to its state before labscript_init() was called |
|
|
Initialises labscript and prepares for compilation. |
|
|
|
Returns max of the arguments or zero if sequence is empty. |
|
Writes the script files for the compiled shot to the shot file. |
|
Save shot time markers to the shot file. |
|
Decorator for device __init__ methods that saves the listed arguments/keyword arguments as properties. |
|
Indicates the end of the connection table and the start of the experiment logic. |
|
Indicate the end of an experiment at the given time, and initiate compilation of instructions, saving them to the HDF5 file. |
|
Commands pseudoclocks to pause until resumed by an external trigger, or a timeout is reached. |
|
Writes device_properties for each device in compiled shot to shto file. |
Classes
|
Analog Input for use with all devices that have an analog input. |
|
Analog Output class for use with all devices that support timed analog outputs. |
|
Base class for |
|
|
|
DDS class for use with all devices that have DDS-like outputs. |
|
Used to define a DDS output. |
|
Parent class of all device and input/output channels. |
|
Digital output class for use with all devices. |
|
Base class for |
|
Base class for all devices that are to be clocked by a pseudoclock. |
A context manager which sets config.suppress_mild_warnings to True whilst in use. |
|
|
Base class for all output classes. |
|
Parent class of all pseudoclocks. |
|
Device that implements a pseudoclock. |
|
|
|
|
|
Customized version of |
|
Static Analog Output class for use with all devices that have constant outputs. |
|
Base class for |
|
Static DDS class for use with all devices that have static DDS-like outputs. |
|
Static Digital Output class for use with all devices that have constant outputs. |
|
Base class for |
|
Customized version of |
|
A triggerable version of |
|
|
|
Compiler object that saves relevant parameters during compilation of each shot. |
|
Exceptions
A labscript error. |