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