getSpectrum.rtmsBrukerMCFReader {rtms}R Documentation

Extract a spectrum from a Bruker MCF directory

Description

Extracts an RTMS spectrum object (of class rtmsSpectrum) from a multi- acquisition Bruker MCF directory opened using an RTMS reader object (of class rtmsBrukerMCFReader). A numeric index is used to identify which spectrum should be extracted.

Usage

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

getBrukerMCFSpectrum(reader, index)

Arguments

x

The MCF reader object

...

Additional parameters

reader

An RTMS reader object of class rtmsBrukerMCFReader

index

A single numeric index specifying which acquisition should be extracted

Value

An RTMS spectrum object of class rtmsSpectrum

Functions


[Package rtms version 0.2.0 Index]