resample_basis: Resample a basis-set to match a mrs_data acquisition.

View source: R/basis_set.R

resample_basisR Documentation

Resample a basis-set to match a mrs_data acquisition.

Description

Resample a basis-set to match a mrs_data acquisition.

Usage

resample_basis(basis, mrs_data, ref_freq_match = TRUE)

Arguments

basis

the basis to be resampled.

mrs_data

the mrs_data to match the number of data points and sampling frequency.

ref_freq_match

apply a frequency shift to the basis to match the reference frequency (usually 4.65 or 4.68) of the mrs_data.

Value

resampled basis set object.


spant documentation built on Sept. 11, 2024, 9:13 p.m.