R/mrs_data_proc.R
decimate_mrs_td.Rd
Decimate an MRS signal by filtering in the time domain before downsampling.
decimate_mrs_td(mrs_data, q = 2, n = 4, ftype = "iir")
mrs_data | MRS data object. |
---|---|
q | integer factor to downsample by (default = 2). |
n | filter order used in the downsampling. |
ftype | filter type, "iir" or "fir". |
decimated data.