comb_coils: Combine coil data based on the first data point of a...

Description Usage Arguments Value

View source: R/mrs_data_proc.R

Description

By default, elements are phased and scaled prior to summation. Where a reference signal is not given, the mean dynamic signal will be used instead.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
comb_coils(
  metab,
  ref = NULL,
  noise = NULL,
  scale = TRUE,
  scale_method = "sig_noise_sq",
  sum_coils = TRUE,
  noise_region = c(-0.5, -2.5),
  average_ref_dyns = TRUE
)

Arguments

metab

MRS data containing metabolite data.

ref

MRS data containing reference data (optional).

noise

MRS data from a noise scan (optional).

scale

option to rescale coil elements based on the first data point (logical).

scale_method

one of "sig_noise_sq", "sig_noise" or "sig".

sum_coils

sum the coil elements as a final step (logical).

noise_region

the spectral region (in ppm) to estimate the noise.

average_ref_dyns

take the mean of the reference scans in the dynamic dimension before use.

Value

MRS data.


neuroconductor/spant documentation built on May 25, 2021, 1:49 a.m.