qblox_scheduler.analysis.cosine_analysis#
Module containing an education example of an analysis subclass.
See Tutorial 3. Building custom analyses - the data analysis framework that guides you through the process of building this analysis.
Classes#
Exemplary analysis subclass that fits a cosine to a dataset. |
Module Contents#
- class CosineAnalysis(dataset: xarray.Dataset | None = None, tuid: quantify_core.data.types.TUID | str | None = None, label: str = '', settings_overwrite: dict | None = None, plot_figures: bool = True)[source]#
Bases:
qblox_scheduler.analysis.base_analysis.BaseAnalysisExemplary analysis subclass that fits a cosine to a dataset.
- process_data()[source]#
In some cases, you might need to process the data, e.g., reshape, filter etc., before starting the analysis. This is the method where it should be done.
See
process_data()for an implementation example.
- run_fitting()[source]#
Fits a
CosineModelto the data.