external_parameter_node
tergite_autocalibration.lib.nodes.external_parameter_node
Classes:
| Name | Description |
|---|---|
ExternalParameterNode |
|
ExternalParameterNode
ExternalParameterNode(name: str, **node_dictionary)
Methods:
| Name | Description |
|---|---|
configure_dataset |
The dataset retrieved from the instrument coordinator is |
final_operation |
To be implemented by the child measurement nodes. |
initial_operation |
To be implemented by the child measurement nodes. |
measure_compiled_schedule |
Execute a measurement for a node and save the resulting dataset. |
pre_measurement_operation |
To be implemented by the child measurement nodes |
Attributes:
| Name | Type | Description |
|---|---|---|
dimensions |
list
|
array of dimensions used for raw dataset reshaping |
external_dimensions |
list
|
Multidimensional External Samplespace: |
external_dimensions
property
external_dimensions: list
Multidimensional External Samplespace: size of external samplespace E.g. in self.external_samplespace = { 'dc_currents': {'q06_q07': np.array([1e-6, 2e-6, 3e-6, 4e-6])} 'crosstalk_currents': {'q08_q09': np.array([-3e-3, 0, 3e-3])} } the external_dimensions is [4, 3]
configure_dataset
The dataset retrieved from the instrument coordinator is too bare-bones. Here the dims, coords and data_vars are configured
final_operation
To be implemented by the child measurement nodes. This is called after ALL the iteration samples of the external samplespace have been executed. e.g. set back the dc_current to 0 in coupler_spectroscopy. See coupler_spectroscopy for examples.
initial_operation
To be implemented by the child measurement nodes. This is called before the execution of each and every iteration of the samples of the external samplespace. See coupler_spectroscopy for examples.
measure_compiled_schedule
measure_compiled_schedule(compiled_schedule: CompiledSchedule, cluster_status=real, measurement: Tuple[int, int] = (1, 1)) -> Dataset
Execute a measurement for a node and save the resulting dataset.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
compiled_schedule
|
CompiledSchedule
|
The compiled schedule to execute. |
required |
cluster_status
|
real
|
The status of the measurement mode. |
real
|
measurement
|
tuple
|
Tuple of (current_measurement, total_measurements). |
(1, 1)
|
Returns:
| Type | Description |
|---|---|
Dataset
|
xarray.Dataset: The dataset containing the measurement results. |