runLocalTest

runLocalTest#

runLocalTest(testCiceroLogOrigin, samplePath, dataPath, pauseTime)#

Simulate file-watcher acquisition locally using sample data/logs.

Copies triplets of TIFF images and corresponding Cicero .clg log files from a sample directory into a target data directory with delays between runs, emulating on-the-fly acquisition. Useful for offline testing of BecExp without hardware.

Parameters:
  • testCiceroLogOrigin (char|string) – Destination folder watched for new .clg logs

  • samplePath (char|string) – Source directory containing images and logfiles/logFiles

  • dataPath (char|string) – Destination data folder to receive copied images

  • pauseTime (double) – Delay [s] between consecutive simulated runs

Example:

runLocalTest("C:\\tmp\\watch", "C:\\samples", "C:\\tmp\\data", 0.5);