View source: R/SupplementaryFunctions.R
GetTofDataSinglePeak | R Documentation |
GetTofDataSinglePeak
gets TofData and the averaged spectrum of a
single peak or a specified mass range from a HDF5 data file.
GetTofDataSinglePeak(filename, peakIndex, massRange = NULL, secondTOF = FALSE)
filename |
Path/filename. |
peakIndex |
Peak index (one-based). |
massRange |
Mass range in Th. Specified as a two-element vector
containing the low and high limit of the mass range. If |
secondTOF |
If |
Note: this function is not part of the TofDaq API, but is included in the package for convenience.
A list containing x-axis data (mass/charge (Th), time-of-flight (microsec) and sample indices), TofData and averaged spectrum of the peak, and the descriptor of the data file. TofData is a matrix with the peak spectrum for every buf as columns and the unit of TofData is mV (at the MCP signal out, before external preamps).
Other wrapper functions:
FitTofDataSinglePeak()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.