void get_calib_params2(unsigned n_bits, unsigned data_type_size, double v_offset, double v_range, double dac_gain, bool bits_r_aligned, dig_calib_params *params)
Calculate the digitizer calibration parameters when given the DAC gain (e.g. from a digitizer's own c...
void get_calib_params(unsigned n_bits, unsigned data_type_size, double v_offset, double v_range, bool bits_r_aligned, dig_calib_params *params)
Calculate the digitizer calibration parameters with basic parameters: number of bits, Voffset, and Vrange.