darfix.core.mapping.fit_2d_data#

darfix.core.mapping.fit_2d_data(data, values, shape, moments=None, int_thresh=15, indices=None, method='trf', _tqdm=False)[source]#

Fit data in axis 0 of data

Parameters:
  • _tqdm (bool) – If True, execut fitting under tqdm library.

  • method (str)

Returns:

fitted data