runLocalTest#
- runLocalTest(testCiceroLogOrigin, samplePath, dataPath, pauseTime)#
Simulate file-watcher acquisition locally using sample data/logs.
Copies triplets of TIFF images and corresponding Cicero
.clglog files from a sample directory into a target data directory with delays between runs, emulating on-the-fly acquisition. Useful for offline testing ofBecExpwithout hardware.- Parameters:
testCiceroLogOrigin (
char|string) – Destination folder watched for new.clglogssamplePath (
char|string) – Source directory containing images and logfiles/logFilesdataPath (
char|string) – Destination data folder to receive copied imagespauseTime (
double) – Delay [s] between consecutive simulated runs
Example:
runLocalTest("C:\\tmp\\watch", "C:\\samples", "C:\\tmp\\data", 0.5);