GetSumSpectrumFromH5: Sum spectrum from HDF5 data file.

View source: R/RcppExports.R

GetSumSpectrumFromH5R Documentation

Sum spectrum from HDF5 data file.

Description

GetSumSpectrumFromH5 reads the sum spectrum (or average spectrum depending on Normalize flag) from the HDF5 file.

Usage

GetSumSpectrumFromH5(Filename, Normalize = FALSE)

Arguments

Filename

Path/filename of the HDF5 file.

Normalize

If FALSE (default) the spectrum is reported as sum, if TRUE the spectrum is normalized to counts per extraction.

Value

A vector containing the sum spectrum.

Examples

## Not run: 
GetSumSpectrumFromH5("path/to/file.h5")

## End(Not run)

pasturm/TofDaqR documentation built on July 20, 2024, 9:44 a.m.