Learn R Programming

spant (version 3.3.0)

get_td_amp: Return an array of amplitudes derived from fitting the initial points in the time domain and extrapolating back to t=0.

Description

Return an array of amplitudes derived from fitting the initial points in the time domain and extrapolating back to t=0.

Usage

get_td_amp(mrs_data, nstart = 10, nend = 50, method = "poly")

Value

array of amplitudes.

Arguments

mrs_data

MRS data.

nstart

first data point to fit.

nend

last data point to fit.

method

method for measuring the amplitude, one of "poly", spline" or exp".