Note
This is the documentation for the current state of the development branch of Qiskit Experiments. The documentation or APIs here can change prior to being released.
ToImag¶
- class ToImag(scale=1.0, validate=True)[source]¶
IQ data post-processing. Isolate the imaginary part of single-shot IQ data.
- Parameters:
scale (float) – Float with which to multiply the IQ data. Defaults to 1.0.
validate (bool) – If set to False the DataAction will not validate its input.
Methods
- __call__(data)¶
Call the data action of this node on the data.
- Parameters:
data (ndarray) – A numpy array with arbitrary dtype. If the elements are ufloat objects consisting of a nominal value and a standard error, then the error propagation is done automatically.
- Returns:
The processed data.
- Return type:
ndarray