Learn R Programming

spant (version 1.1.0)

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

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

comb_coils(metab, ref = NULL, noise = NULL, scale = TRUE, sum_coils = 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).

sum_coils

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

Value

MRS data.