chore: add ramsey with precommit compliant #30
Merged
+28
−8
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.
Summary
This PR focuses solely on pre-commit (pylint/black) compliance for the Ramsey calibration files.
File-by-file summary of changes (non-functional only)
calibration_utils/ramsey/__init__.pycalibration_utils/ramsey/analysis.pyprocess_raw_dataset(line 48): "Convert IQ data to voltage if state discrimination is not used."FitParameters(line 14): Changed from "qubit spectroscopy" to "Ramsey experiment" for accuracycalibration_utils/ramsey/parameters.pyNodeSpecificParameters(line 8): "Ramsey-specific parameters for frequency detuning and averaging."Parameters(line 21): "Combined parameters for Ramsey calibration node."calibration_utils/ramsey/plotting.pydict()call with dict literal{}(line 138)bbox=dict(facecolor="white", alpha=0.5)tobbox={"facecolor": "white", "alpha": 0.5}plot_raw_data_with_fit(line 16): Changed from "resonator spectroscopy" to "Ramsey oscillations" for accuracycalibrations/1Q_calibrations/06a_ramsey.pyfrom dataclasses import asdictto standard library import section (before third-party imports)execute_qua_program: Split into two linesanalyse_data: Split into two linescustom_param(line 56)save_results(line 249): "Save all node results and state updates."