Function sc_tdc_set_corrections2

Function Documentation

int sc_tdc_set_corrections2(const int dd, const int ch_count, const int *corrections, const unsigned char *ch_mask)

set channel corrections (aka “channel shifts”) and channel mask

Parameters
  • dd – Device descriptor.

  • ch_count – number of values in corrections array

  • corrections – array of channel correction values

  • ch_mask – array of masks with as many elements as GPX count

Returns

0 if successful or (negative) error code