getSlices: getSlices

View source: R/deconvTools.R

getSlicesR Documentation

getSlices

Description

Slice the spectrum in order to define ranges for Local Deconvolution (LSDeconv) and return only those include the provided ppmranges

Usage

getSlices(spec, ppmranges, flatwidth = 0.004, snrfactor = 4, maxrange = 0.3)

Arguments

spec

a 'spec' object

ppmranges

ppm ranges as a matrix in order to apply the deconvolution, each row specifying a zone

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)

Value

a list of ppm range


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