Skip to content

analysis_utils

tergite_autocalibration.lib.base.utils.analysis_utils

Functions:

Name Description
filter_ds_by_element

Filters the dataset, by keeping only the data arrays

filter_ds_by_element

filter_ds_by_element(dataset: Dataset, element: str)

Filters the dataset, by keeping only the data arrays and the corresponding coords that have their 'qubit' attribute equal to provided element.

Parameters

dataset: xarray.Dataset the full initial dataset element: str the qubit or coupler of interest

Returns

xarray.Dataset the filtered dataset with data only for the filtered element