fit_t2_te_array: Fit a T2 relaxation curve, from multiple TEs, to a set of...

View source: R/relaxation_fitting.R

fit_t2_te_arrayR Documentation

Fit a T2 relaxation curve, from multiple TEs, to a set of amplitudes.

Description

Fit a T2 relaxation curve, from multiple TEs, to a set of amplitudes.

Usage

fit_t2_te_array(
  te_vec,
  amp_vec,
  lower = 0,
  upper = 10,
  output_fit_res = 0.01,
  ret_full = TRUE
)

Arguments

te_vec

vector of TE values in seconds.

amp_vec

vector of amplitudes.

lower

minimum allowable T2 value.

upper

maximum allowable T2 value.

output_fit_res

temporal resolution (seconds) of the ideal output relaxation curve.

ret_full

return full fitting information including ideal relaxation curve.

Value

a list containing relaxation parameters and an ideal curve for fit evaluation.


martin3141/spant documentation built on April 14, 2024, 4:15 a.m.