chore: add echo with precommit compliant #31
Merged
+29
−25
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 T2 echo calibration files.
File-by-file summary of changes (non-functional only)
calibration_utils/T2echo/__init__.pycalibration_utils/T2echo/analysis.pyprocess_raw_dataset(line 55): "Convert IQ data to voltage if state discrimination is not used."FitParameters(line 14): Changed from "qubit spectroscopy" to "T2 echo experiment" for accuracyfit_raw_data(line 62): Changed from "qubit frequency and FWHM" to "T2 echo decay time" for accuracys_saturationands_x180strings to comply with line length limitscalibration_utils/T2echo/parameters.pyNodeSpecificParameters(line 7): "T2 echo specific parameters for averaging."Parameters(line 18): "Combined parameters for T2 echo calibration node."calibration_utils/T2echo/plotting.pydict()call with dict literal{}(line 95)bbox=dict(facecolor="white", alpha=0.5)tobbox={"facecolor": "white", "alpha": 0.5}plot_raw_data_with_fit(line 15): Changed from "resonator spectroscopy amplitude" to "T2 echo decay" for accuracycalibrations/1Q_calibrations/06b_echo.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 51): "Allow the user to locally set the node parameters."save_results(line 231): "Save all node results and state updates."