SiGetHistogram: Gets a histogram of the single ion intensities.

View source: R/RcppExports.R

SiGetHistogramR Documentation

Gets a histogram of the single ion intensities.

Description

SiGetHistogram gets a histogram of the single ion intensities for a mass range defined with SiInitializeHistograms.

Usage

SiGetHistogram(histogramIndex)

Arguments

histogramIndex

Index (zero-based numbering) of the histogram. It corresponds to the mass range defined with SiInitializeHistograms.

Details

Note: R crashes if histogramIndex is set to max(histogramIndex)+1 (API bug).

Value

A list with the intensities (histogram x-values), counts (histogram y-values), the number of spectra that were processed for this histogram and the mean histogram value i.e. sum(intensity[i]*counts[i])/sum(counts[i]).


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