curvefit.utils.data.data_translator
Translate data from one space to another, only for Gaussian-family functions
Arguments
data (np.ndarray): data matrix or vectorinput_space (str | callable): input data space.output_space (str | callable): output data space.threshold (float, optional): threshold for numbers below 0 in linear space.
Returns
np.ndarray: translated data.