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