R/mrs_data_proc.R
get_td_amp.RdReturn an array of amplitudes derived from fitting the initial points in the time domain and extrapolating back to t=0.
get_td_amp(mrs_data, nstart = 10, nend = 50, method = "spline")| mrs_data | MRS data. |
|---|---|
| nstart | first data point to fit. |
| nend | last data point to fit. |
| method | method for measuring the amplitude, one of "spline" or "exp". |
array of amplitudes.