Source code for autodepgraph.node_functions.calibration_functions

# Module that contains the calibration functions of the nodes.
import time


[docs]def test_calibration_True(): ''' Dummy calibration function for test cases. Always returns True. ''' return True
[docs]def test_calibration_True_delayed(delay=.5): ''' Dummy calibration function for test cases. Always returns True. ''' time.sleep(delay) return True
[docs]def test_calibration_False(): ''' Dummy calibration function for test cases. Always returns False. ''' return False
def NotImplementedCalibration(): raise NotImplementedError('Calibration not implemented')