-
Notifications
You must be signed in to change notification settings - Fork 5
Developer notes
This page is currently in note-form and contains a variety of useful information. This content will eventually be categorized more carefully.
You may run BakingTray on any machine with no acquisition hardware or even now ScanImage install by running:
BakingTray('dummyMode',true)
Most features should work but simulated mode is less well tested than normal operation.
Simulated mode assists in development whilst not at the rig.
You can initiate a minimal acquisition with no tile saving and even no GUI by setting up the recipe and then running:
>> hBT.runTileScan; hBT.scanner.armScanner; hBT.scanner.initiateTileScan
If you have the GUIs open then any relevant listeners in those GUIs will still fire.
This is useful for working out things like timing bottlenecks.
For example see issue #23.
It's probably a good idea to benchmark a short acquisition if you're made changes to the acquisition GUI or to the SIBT tile acquired callback.
Things like the NumTiles and TileStepSize properties of the recipe are calculated on the fly.
So don't access these repeatedly in a time-critical loop.
Although it's possible to start BakingTray in "dummyMode" (see help BakingTray) for running without any hardware, you might want to run with just one hardware component missing.
Running with a simulated laser attached is useful, since it allows the acquisition to proceed with the physical laser switched off. Start BakingTray normally then do the following:
>> hBT.laser=dummyLaser;
>> hBT.laser.parent=hBT;
The callback function SIBT/tileAcqDone is run by ScanImage each time a tile position has been acquired.
This happens because the SIBT constructor adds a listener to the ScanImage object at hSI.hUserFunctions.acqDone, one of the hooks for the ScanImage User-Functions.
The tileAcqDone callback captures the last acquired images, downsamples them, and places them in hBT.downSampledTileBuffer, where other methods easily have access to the data.
Installation: Getting Started
Hardware requirements
Setting up: Overview
Verifying hardware operation
Starting BakingTray
Setting up ScanImage
Settings Files
Achieving high stitching accuracy
Installation: Calibration
Basic calibrating procedures
Calibrating the stages
Fine-tuning positioning accuracy
Further User Instructions
FAQ
Problems & Solutions