Struct sc_pipe_dld_sum_histo_params_t

Struct Documentation

struct sc_pipe_dld_sum_histo_params_t

Parameters for DLD_SUM_HISTO pipe type — a 1D histogram with a time axis integrating over a region of interest with respect to detector positions. The size of one histogram in memory is roi.t * depth bytes.

Public Members

enum bitsize_t depth

Data type of histogram elements.

int channel

Filter by channel if >= 0 (-1 for normal detector).

unsigned long long modulo

if > 0, apply modulo operation to time value before inserting it into the histogram.

struct sc3du_t binning

x,y,time are divided by the respective binnings before adding into the histogram.

struct roi_t roi

Region of interest from which histogram will be built.

unsigned int accumulation_ms

Accumulation time.

void *allocator_owner

A pointer chosen by the user that gets passed back into the allocator_cb

int (*allocator_cb)(void*, void**)

User-provided allocator function, that the library calls to allocate memory for data. If set to NULL, the library uses internal memory allocation. The allocator_owner pointer is passed into the allocator_cb as the first argument during the call.