Hello,

In tutorial 4 (pocket correlator) the python file poco_adc_amplitudes.py reads
the values from the adc_sum_sqN registers and calculates the RMS as:

inputs[input]['unpacked'] = fpga.read_uint(regname)
inputs[input]['rms'] = 
numpy.sqrt(inputs[input]['unpacked']/(2.0**16))/(2**(8-1))

I believe "numpy.sqrt(inputs[input]['unpacked']/(2.0**16))" calculates the
RMS, but why is this divided by (2**(8-1))?  Is this just a scale factor, and
if so, how was it chosen?

Thanks,
Pam Ford



Reply via email to