labscript.utils.is_clock_line
- is_clock_line(device)[source]
Returns whether the connection is an instance of
ClockLine
This function defers and caches the import of
ClockLine
. This both breaks the circular import betweenDevice
andClockLine
, while maintaining reasonable performance (this performs better than importing each time as the lookup in the modules hash table is slower).