exa.core.model_selection_fitter.utils.get_formatted_label

exa.core.model_selection_fitter.utils.get_formatted_label#

get_formatted_label(data_array)#

Gets the formatted label of an xarray.DataArray.

Parameters:

data_array (DataArray) – The data array

Returns:

Tuple containing the scaling and the quantity + unit as a string.

Return type:

tuple[float, str]