decimate_mrs_td: Decimate an MRS signal by filtering in the time domain before...

View source: R/mrs_data_proc.R

decimate_mrs_tdR Documentation

Decimate an MRS signal by filtering in the time domain before downsampling.

Description

Decimate an MRS signal by filtering in the time domain before downsampling.

Usage

decimate_mrs_td(mrs_data, q = 2, n = 4, ftype = "iir")

Arguments

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

Value

decimated data.


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