Skip to content

Running in simulated mode

Rob Campbell edited this page Nov 13, 2019 · 1 revision

You can run BakingTray in a simulated or "dummy" mode for de-bugging. At the command line simply run:

>> BakingTray('dummyMode',true)

That starts BakingTray with simulated components, including a simulated scanner class instead of ScanImage.

>> load BF_172_3_previewStack.mat %loads a 3D stack image: pStack
>> hBT.scanner.attachExistingData(pStack,[8,40]) %8 mics/pix X/Y and 40 in Z
>> hBT.scanner.startFocus % Pan around the sample
Clone this wiki locally