Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds a hook to the ControlAndScanner object -- also known as the NiDaqPiezoScanner -- which can be used to acquire secondary data at each position of the generated 2D image.
An important use case of this hook will be to acquire photon energy spectra at each position of the image, thereby generating a hyper spectral image.
Since not only could photon energy spectra be taken at each position, we call this function the "hyper data acquisition" function. For example, one could be interested in measuring Rabi oscillations or performing Ramsey measurements at each location of a sample if there was desire to image external magnetic fields.
An example Jupyter notebook has been added to demonstrate usage.
Also, some internal changes were made to correct a misconception about the QT3 hardware that was manifested as poor variable names and logging statements. In particular, during the initial development of the confocal scan code, it was thought that the piezo actuator
controlled the position of the stage. This concept resulted in variable names such as
stage_controller
and logging statements that reported the "stage" position. This PR fixes those variable names. Though one can argue this particular change should be done in a separate PR, we do it here for the sake of expediency.