SciSDK Library
SDK for SciCompiler projects
SCISDK_SPECTRUM_DECODED_BUFFER Struct Reference

Spectrum decoded data. More...

#include <scisdk_defines.h>

Public Attributes

uint32_t magic
 
uint32_t * data
 
uint64_t timecode
 
uint32_t inttime
 
struct {
   uint32_t   buffer_size
 
   uint32_t   total_bins
 
   uint32_t   valid_bins
 
info
 

Detailed Description

Spectrum decoded data.

This type is used to store data from spectrum. The reference document for the data format is the Spectrum

Member Data Documentation

◆ buffer_size

uint32_t SCISDK_SPECTRUM_DECODED_BUFFER::buffer_size

Size of the data in samples (on sample per bin)

◆ data

uint32_t* SCISDK_SPECTRUM_DECODED_BUFFER::data

Pointer to data allocated by the AllocateBuffer function

◆ 

struct { ... } SCISDK_SPECTRUM_DECODED_BUFFER::info

◆ inttime

uint32_t SCISDK_SPECTRUM_DECODED_BUFFER::inttime

Integration time in clock cycles (calculated by the FPGA)

◆ magic

uint32_t SCISDK_SPECTRUM_DECODED_BUFFER::magic

Magic number to identify the data type

◆ timecode

uint64_t SCISDK_SPECTRUM_DECODED_BUFFER::timecode

Epoch of the PC related to when the spectrum has been readout

◆ total_bins

uint32_t SCISDK_SPECTRUM_DECODED_BUFFER::total_bins

Total number of bins

◆ valid_bins

uint32_t SCISDK_SPECTRUM_DECODED_BUFFER::valid_bins

Number of valid bins, depends on rebin factor


The documentation for this struct was generated from the following file: