baseband.base.encoding.decode_8bit(words)[source] [edit on github]

Generic decoder for data stored using 8 bits.

We follow mark5access, which assumes the values 0 to 255 encode -127.5 to 127.5, scaled down to match 2 bit data by a factor of 35.5 (EIGHT_BIT_1_SIGMA)

For comparison, GMRT phased data treats the 8-bit data values simply as signed integers.