mdreg.exp_recovery_2p#
- mdreg.exp_recovery_2p(signal, TI=None, bounds=([0, 0], [inf, inf]), p0=[1, 1.3], parallel=False, **kwargs)[source]#
2-parameter exponential recovery model fit
- Parameters:
signal (numpy.ndarray) – Signal data Spatial array with signal intensities over different inversion times.
TI (numpy.array) – Inversion times
bounds (tuple) – Bounds for the fit
p0 (list) – Initial parameters
parallel (bool) – Use parallel processing
**kwargs – Additional keyword arguments
- Returns:
fit (numpy.ndarray) – Fitted data
par (numpy.ndarray) – Parameters The parameters are: S0, T1, giving N=2.