RNO-G / mattak

RNO-G dataformats
1 stars 1 forks source link

Update VoltageCalibration.cc #4

Closed martin01021207 closed 1 year ago

martin01021207 commented 1 year ago

In the calculation of max deviation and chi square, the ADC offset subtraction was added (line 306): double adc = scan_result[j][ichan][i] - adc_offset[ichan]; As it was previously done in line 244 in the calculation for the fit coefficient.