GetEventListSpectrumFromH5: Reads the events of a spectrum from HDF5 data file.

View source: R/RcppExports.R

GetEventListSpectrumFromH5R Documentation

Reads the events of a spectrum from HDF5 data file.

Description

GetEventListSpectrumFromH5 reads the events of a single spectrum given by segment, buf and write indices from HDF5 data file.

Usage

GetEventListSpectrumFromH5(Filename, segmentIndex, bufIndex, writeIndex)

Arguments

Filename

Path/filename of the HDF5 file.

segmentIndex

Segment index.

bufIndex

Buf index.

writeIndex

Write index.

Details

Note: only uncompressed event lists are supported.

Value

A vector containing the event data.

Examples

## Not run: 
GetEventListSpectrumFromH5("path/to/file.h5", segmentIndex = 0,
bufIndex = 0, writeIndex = 0)

## End(Not run)

pasturm/TofDaqR documentation built on March 29, 2024, 12:10 a.m.