SciSDK Library
SDK for SciCompiler projects
SCISDK_2DHISTOGRAM_DECODED_BUFFER Struct Reference

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
 

Detailed Description

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

Member Data Documentation

◆ binsX

uint32_t SCISDK_2DHISTOGRAM_DECODED_BUFFER::binsX

Total number of bins on X

◆ binsY

uint32_t SCISDK_2DHISTOGRAM_DECODED_BUFFER::binsY

Total number of bins on Y

◆ buffer_size

uint32_t SCISDK_2DHISTOGRAM_DECODED_BUFFER::buffer_size

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

◆ data

uint32_t* SCISDK_2DHISTOGRAM_DECODED_BUFFER::data

Pointer to data allocated by the AllocateBuffer function

◆ 

struct { ... } SCISDK_2DHISTOGRAM_DECODED_BUFFER::info

◆ inttime

uint32_t SCISDK_2DHISTOGRAM_DECODED_BUFFER::inttime

Integration time in clock cycles (calculated by the FPGA)

◆ magic

uint32_t SCISDK_2DHISTOGRAM_DECODED_BUFFER::magic

Magic number to identify the data type

◆ timecode

uint64_t SCISDK_2DHISTOGRAM_DECODED_BUFFER::timecode

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

◆ total_bins

uint32_t SCISDK_2DHISTOGRAM_DECODED_BUFFER::total_bins

Total number of bins

◆ valid_bins

uint32_t SCISDK_2DHISTOGRAM_DECODED_BUFFER::valid_bins

Number of valid bins


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