readSpectrum: readSpectrum

View source: R/deconvTools.R

readSpectrumR Documentation

readSpectrum

Description

read_spectrum belongs to the low-level functions group - it processes only one raw spectrum at time.

Usage

readSpectrum(
  ACQDIR,
  procParams,
  ppmnoise = c(10.2, 10.5),
  PHC = NULL,
  scaleIntensity = 1,
  verbose = 1
)

Arguments

ACQDIR

Full directory path of the raw spectrum, i.e the directory containing the FID

procParams

a Spec1rProcpar list

ppmnoise

the ppm range containing only noise signal in order to estimate the level of the noise (S/N ratio)

PHC

the phasing values applied to the spectrum in the frequency domain thus avoiding the automatic phasing step. Only useful if the input signal is an FID (procParams$INPUT_SIGNAL)

scaleIntensity

factor applied to the intensities to establish a change of scale.

verbose

level of debug information

Value

spec object


INRA/Rnmr1D documentation built on April 13, 2025, 10:54 p.m.