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.
multi_mean_xy_data¶
- multi_mean_xy_data(series, xdata, ydata, sigma=None, shots=None, method='sample')[source]¶
Take mean of multi series data set. See
mean_xy_data()
.- Parameters:
series (
ndarray
) – Series index.xdata (
ndarray
) – 1D or 2D array of xdata from curve_fit_data or multi_curve_fit_dataydata (
ndarray
) – array of ydata returned from curve_fit_data or multi_curve_fit_datasigma (
Optional
[ndarray
]) – Optional, array of standard deviations in ydata.shots (
Optional
[ndarray
]) – Optional, array of shots used to get a data point.method (
str
) – The method to use for computing y means and standard deviations sigma (default: “sample”).
- Return type:
Tuple
[ndarray
,ndarray
,ndarray
,ndarray
,ndarray
]- Returns:
Tuple of
(series, xdata, ydata, sigma, shots)
.