R/basis_set.R
basis2mrs_data.Rd
Convert a basis object to an mrs_data object - where basis signals are spread across the dynamic dimension.
basis2mrs_data(
basis,
sum_elements = FALSE,
amps = NULL,
shifts = NULL,
lbs = NULL
)
basis set object.
return the sum of basis elements (logical)
a vector of scaling factors to apply to each basis element.
a vector of frequency shifts (in ppm) to apply to each basis element.
a vector of Lorentzian line broadening terms (in Hz) to apply to each basis element.
an mrs_data object with basis signals spread across the dynamic dimension or summed.