Rabi analysis with auto rotating to the axis with optimal SNR
Explanation of changes
Automatically perform the Rabi analysis along the axis with the best SNR. The axis with the best SNR is found by finding the (complex) value that has the largest distance to the value at zero rabi pulse amplitude and using the angle of the (complex) difference between these two values to rotate the data.
Motivation of changes
This closes #249 (closed)
Merge checklist
See also merge request guidelines
-
Merge request has been reviewed and approved by a project maintainer. -
Merge request contains a clear description of the proposed changes and the issue it addresses. -
Merge request made onto appropriate branch (develop for most MRs). -
New code is fully tested. -
New code is documented and docstrings use numpydoc format. -
Changelog has been updated (when applicable). -
CI pipelines pass - black code-formatting passes (gitlab-ci),
- test suite passes (gitlab-ci),
- no degradation in code-coverage (codacy),
- no (serious) new pylint code quality issues introduced (codacy),
- documentation builds successfully (CI and readthedocs),
-
windows tests pass (manually triggered by maintainers before merging).
For reference, the issues workflow is described in the contribution guidelines.
Edited by Victor Negîrneac