TofClass-class: An S4 class to hold reused values for reading the spectrum

Description Usage Arguments Value Slots

Description

An S4 class to hold reused values for reading the spectrum

do cleanup, call this before leaving

read a block with specified indices

read a block with specified indices

read the spectrum of scan i

read the sum spectrum

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
finalize(.Object)

scan_block(.Object, indrange)

## S4 method for signature 'TofClass'
scan_block(.Object, indrange)

## S4 method for signature 'TofClass'
scan_ind(.Object, ind)

## S4 method for signature 'TofClass'
sumspec(.Object)

Arguments

.Object

a TofH5 object

indrange

list with two elements where the first is the start index and the second the number of scans

ind

as numeric index of scan

Value

matrix of counts

matrix of counts

Slots

filename

location of original h5 file

points

per scan

nscans

number of scans

.dims

internal dimensions

.datafile

h5 handle of tof data file

.scandata

h5 handle of scan data block

.scanspace

h5 handle of scan data array

single_ion_signal

cps value of single count


bdcaf/rawTof documentation built on July 17, 2019, 1:09 p.m.