mdreg.constant#

mdreg.constant(signal, **kwargs)[source]#

Constant model fit

Parameters:
  • signal (numpy.ndarray) – Signal data. Spatial array with signal intensities over an additional temporal dimension.

  • **kwargs – Additional keyword arguments

Returns:

  • fit (numpy.ndarray) – Fitted data.

  • par (numpy.ndarray) – The parameters of the fitted signal model. The parameters are: S0, giving N=1.