You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Scanning in XZ yields the expected behaviour (the Y voltage is kept fixed and XZ is rastered)
However, changing to YZ in the confocal settings dialog and perform a depth scan the X voltage is not held constant. It jumps to Vmin in the return path section! This is not great for the nano-positioners. The below plots are the measured voltages going to my nanopositioner. I also noticed a dark strip at the left edge of the YZ scan image - this is because the nanopositioner is jumpy wildly to the edge of the scan range and less photons are measured.
Where on the platform does it happen?
Defining the return line in confocal_logic.py in the _scan_line method at line 800. The definition of return line for the x axis image[self._scan_counter, 0, 1] * np.ones(self._return_YL.shape) was not at the self._current_x position. For some reason it was a the minimum X limit.
With this change the scanning behaviour is now as expected for a YZ scan.
Other Comments
I understand that the confocal scanning is going through a rewrite phase at the moment, but this is a pretty nasty bug as it isn't physically great for the nanopositioners.
The text was updated successfully, but these errors were encountered:
What is affected by this bug?
v0.10
depth scanning
confocal_logic
When does this occur?
Scanning in XZ yields the expected behaviour (the Y voltage is kept fixed and XZ is rastered)
However, changing to YZ in the confocal settings dialog and perform a depth scan the X voltage is not held constant. It jumps to Vmin in the return path section! This is not great for the nano-positioners. The below plots are the measured voltages going to my nanopositioner. I also noticed a dark strip at the left edge of the YZ scan image - this is because the nanopositioner is jumpy wildly to the edge of the scan range and less photons are measured.
Where on the platform does it happen?
Defining the return line in confocal_logic.py in the _scan_line method at line 800. The definition of return line for the x axis
image[self._scan_counter, 0, 1] * np.ones(self._return_YL.shape)
was not at theself._current_x
position. For some reason it was a the minimum X limit.How do we replicate the issue?
Scan depth in YZ.
Expected behavior (i.e. solution)
Changed from line 800 in confocal_logic.py to
With this change the scanning behaviour is now as expected for a YZ scan.
Other Comments
I understand that the confocal scanning is going through a rewrite phase at the moment, but this is a pretty nasty bug as it isn't physically great for the nanopositioners.
The text was updated successfully, but these errors were encountered: