GetBufWriteProfile2FromH5: Gets a linked buf/write profile.

View source: R/RcppExports.R

GetBufWriteProfile2FromH5R Documentation

Gets a linked buf/write profile.

Description

GetBufWriteProfile2FromH5 gets a linked buf/write profile for a given peak (or all peaks) and segment slice. If your data is not linked, use GetPeakData2 to get the buf and/or write profiles.

Usage

GetBufWriteProfile2FromH5(
  Filename,
  PeakIndex,
  SegmentStartIndex,
  SegmentEndIndex
)

Arguments

Filename

Path/filename of the HDF5 file.

PeakIndex

Index of peak to fetch buf/write profile from. All peaks are read if PeakIndex = -1.

SegmentStartIndex

Segment start index of data to fetch.

SegmentEndIndex

Segment end index of data to fetch.

Value

A vector containing the buf/write profile(s).

Examples

## Not run: 
GetBufWriteProfile2FromH5("path/to/file.h5", PeakIndex = -1,
SegmentStartIndex = 0, SegmentEndIndex = 0)

## End(Not run)

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