get_td_amp: Return an array of amplitudes derived from fitting the...

View source: R/mrs_data_proc.R

get_td_ampR Documentation

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")

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".

Value

array of amplitudes.


spant documentation built on Oct. 23, 2023, 5:06 p.m.