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
Researchers would like the ability to perform tasks at each point in a piezo scan. Such tasks could be to take an ODMR spectrum or measure the wavelength spectrum emitted. In order to provide for arbitrary functionality, a hook needs so be installed in the CounterAndScanner class. The user-defined function will also likely generate some data. We need to construct a way for the user to access that data along with the scan data.
Upon review of CounterAndScanner class, we might need to consider the way that class is organized and ask if multiple classes are needed to more easily achieve this functionality. The qt3scan (piezoscan.py) application could also be a user of this callback hook -- in the case of qt3scan, the function provided to CounterAndScanner would simply be to update the data for its window.
Also, we might need to install multiple hooks -- one hook for each point in the scan, one at the end of each raster line (used by qt3scan to draw a new line), and a hook to perform an action at the end of a scan.
One thing I immediately see is that we probably don't want hook functions being called when we run the 'optimize' function.
The text was updated successfully, but these errors were encountered:
Researchers would like the ability to perform tasks at each point in a piezo scan. Such tasks could be to take an ODMR spectrum or measure the wavelength spectrum emitted. In order to provide for arbitrary functionality, a hook needs so be installed in the CounterAndScanner class. The user-defined function will also likely generate some data. We need to construct a way for the user to access that data along with the scan data.
Upon review of CounterAndScanner class, we might need to consider the way that class is organized and ask if multiple classes are needed to more easily achieve this functionality. The qt3scan (piezoscan.py) application could also be a user of this callback hook -- in the case of qt3scan, the function provided to CounterAndScanner would simply be to update the data for its window.
Also, we might need to install multiple hooks -- one hook for each point in the scan, one at the end of each raster line (used by qt3scan to draw a new line), and a hook to perform an action at the end of a scan.
One thing I immediately see is that we probably don't want hook functions being called when we run the 'optimize' function.
The text was updated successfully, but these errors were encountered: