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