iqm.cpc.core.dataset.generate_fit_parameter#
- iqm.cpc.core.dataset.generate_fit_parameter(data)#
Construct a Parameter representing a fit to the given data array.
The name of the generated parameter will be
<name of array>_fit. The Parameter gets its unit from the dataset and its data_type from the data variable.- Parameters:
data (DataArray) – dataArray that contains the raw data.
- Returns:
Generated parameter.
- Return type: