hACQPeaks

Declared In:

Introduction

Peak data returned from a call to Hyperion.get_peaks() or Hyperion.stream_peaks()



Member Functions

get_all
get_channel
get_num_peaks
hACQPeaks

get_all


public

std::vector<double> get_all()
Return Value

a vector containing all of the peaks on all channels

Discussion

Returns all of the peaks on all channels in a single vector.


get_channel


public

std::vector<double> get_channel( uint16_t channel)
Parameters
channel

The channel number for which the peaks will be returned.

Return Value

a vector containing all of the peaks on the channel.

Discussion

Returns all of the peaks on the given channel


get_num_peaks


public

int get_num_peaks()
Return Value

The total number of peaks on all channels.

Discussion

Returns the total number of peaks across all channels.


hACQPeaks


public

hACQPeaks( uint16_t peakCounts[H_MAX_NUM_CHANNELS], double *peakData, const hACQPeaksHeader peaksHeader)
Parameters
peakCounts

Array containing number of peaks detected on each channel

peakData

Array containing all of the detected peak wavelengths

Discussion

Constructor