Slow Scan Routines
The current design of the scan routines allows for very versatile and convenient assignment of scan_parameters to each scan cycle. The with self.readout(scan_param_id=xx) is thereby very slow. Calling the function multiple times in the scan yields wait times between injections of 600ms. This can be reduced by calling this function only once in the beginning and using alternative markers in the data stream. The scan_parameter will then be calculated based on dedicated markers in post processing. Possible markers:
- Read register command after each injection block
- Assignment of scan_param_id based on event number, mask steps and vcal steps. Implementation of method 2 will be pursued in a dedicated branch for now.
Scan time will be reduced by approx. 40% (3:40mins --> 2min).
Edited by Mark Standke