sliceSpectrum: sliceSpectrum

View source: R/deconvTools.R

sliceSpectrumR Documentation

sliceSpectrum

Description

Slice the spectrum in order to define ranges for Local Deconvolution (LSDeconv)

Usage

sliceSpectrum(
  spec,
  ppmrange = c(0.5, 9.5),
  flatwidth = 0.004,
  snrfactor = 4,
  maxrange = 0.3,
  excludezones = NULL
)

Arguments

spec

a 'spec' object

ppmrange

a ppm range as a list in order to apply the deconvolution

flatwidth

specifies the minimum width of a zone in which the spectrum intensities are close to zero to consider this one as a cutting zone (default 0.003 ppm)

snrfactor

specifies factor applied on the Std Dev. of the noise used as threshold for first derivate intensities (default=4)

maxrange

specifies the maximum width of a cutting zone (default 0.3 ppm)

excludezones

specifies the exclusion zones as a matrix (Nx2), each row specifying a zone with 2 columns (ppm min and ppm max) (default NULL)

Value

a list of ppm range


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