| PeakPosition-class | R Documentation |
An S4 Class to Represent a Set of Peaks
hashA character string giving the 32-byte MD5 hash of the imported
spectrum file.
noise_methodA character string specifying the method used for peak
detection.
noise_thresholdA length one numeric vector giving the noise
threshold.
windowA length one numeric vector giving the half-window size.
channelA integer vector giving the channel number. Numeric values
are coerced to integer as by as.integer() (and hence truncated towards
zero).
energy_observedA numeric vector giving the observed gamma ray
energy (in keV).
energy_expectedA numeric vector giving the expected gamma ray
energy (in keV).
In the code snippets below, x is a PeakPosition object.
get_hash(x)Get the MD5 hash of the raw data file.
get_channels(x)Get the channels of x.
get_energy(x), set_energy(x) <- valueRetrieves or sets
the energy scale of x according to value.
In the code snippets below, x is a PeakPosition object.
as.matrix(x)Coerces x to a matrix.
as.data.frame(x)Coerces x to a data.frame.
In the code snippets below, x is a PeakPosition object.
x[[i]]Extracts information from a slot selected by subscript i.
i is a character vector of length one and will be matched to the name of
the slots.
This class retains copy construction.
N. Frerebeau
Other class:
Baseline-class,
CalibrationCurve-class,
GammaSpectra-class,
GammaSpectrum-class,
coerce()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.