getSpectrum.rtmsBrukerBAFReader {rtms}R Documentation

Extract a spectrum from a Bruker BAF directory

Description

Extracts an RTMS spectrum object (of class rtmsSpectrum) from a single acquisition Bruker BAF directory opened using an RTMS reader object (of class rtmsBrukerBAFReader). Because a BAF directory only contains one spectrum, no additional parameters are needed to specify the spectrum to be extracted.

Usage

## S3 method for class 'rtmsBrukerBAFReader'
getSpectrum(x, ...)

getBrukerBAFSpectrum(reader)

Arguments

x

The BAF reader object

...

Additional parameters

reader

An RTMS reader object of class rtmsBrukerBAFReader

Value

An RTMS spectrum object of class rtmsSpectrum

Functions


[Package rtms version 0.2.0 Index]