SWC-Advanced-Microscopy / BakingTray

Serial-section automated anatomy extension for ScanImage
https://bakingtray.mouse.vision/
GNU Lesser General Public License v3.0
10 stars 5 forks source link

There is no check that the PIFOC has sufficient range to image the requested range of depths #436

Open raacampbell opened 1 year ago

raacampbell commented 1 year ago

If the PIFOC has a range of 100 microns but the user asks for 300 microns of stack, then the acquisition will proceed with no errors but most of the data will be redundant.

raacampbell commented 4 months ago

This is a bit tricky because if the user has altered the position with the offset knob, then it won't be clear where the PIFOC is. Should be possible to at least return an error if the stack exceed the maximum capacity of the PIFOC. If the feedback of the PIFOC indicates it's not at zero then this could also serve as a warning that we might be getting things wrong.