SciSDK Library
SDK for SciCompiler projects
|
2D Histogram 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 | |
uint32_t binsX | |
uint32_t binsY | |
} | info |
2D Histogram decoded data
This type is used to store data from 2d histogram. The reference document for the data format is the 2D Histogram
uint32_t SCISDK_2DHISTOGRAM_DECODED_BUFFER::binsX |
Total number of bins on X
uint32_t SCISDK_2DHISTOGRAM_DECODED_BUFFER::binsY |
Total number of bins on Y
uint32_t SCISDK_2DHISTOGRAM_DECODED_BUFFER::buffer_size |
Size of the data in samples (on sample per bin)
uint32_t* SCISDK_2DHISTOGRAM_DECODED_BUFFER::data |
Pointer to data allocated by the AllocateBuffer function
struct { ... } SCISDK_2DHISTOGRAM_DECODED_BUFFER::info |
uint32_t SCISDK_2DHISTOGRAM_DECODED_BUFFER::inttime |
Integration time in clock cycles (calculated by the FPGA)
uint32_t SCISDK_2DHISTOGRAM_DECODED_BUFFER::magic |
Magic number to identify the data type
uint64_t SCISDK_2DHISTOGRAM_DECODED_BUFFER::timecode |
Epoch of the PC related to when the spectrum has been readout
uint32_t SCISDK_2DHISTOGRAM_DECODED_BUFFER::total_bins |
Total number of bins
uint32_t SCISDK_2DHISTOGRAM_DECODED_BUFFER::valid_bins |
Number of valid bins