MWATelescope / mwalib

Library to read Murchison Widefield Array (MWA) raw visibilities, voltages and metadata into a common structure
Mozilla Public License 2.0
10 stars 2 forks source link

Digital gains read from metafits tiledata table should be divided by 64 and exposed as an f64 #48

Closed gsleap closed 2 years ago

gsleap commented 2 years ago

From cotter source: // The digital pfb gains are multiplied with 64 to allow more careful // fine tuning of the gains. inputs[input].pfbGains[sb] = (double) gainValues[sb] / 64.0;

Just to be clear "pfb" refers to the reciever gains not the fine pfb gains.

This should be accounted for in mwalib. Divide the gains provided by the metafits by 64 then expose in an f64.

gsleap commented 2 years ago

Fixed in 06366f23287619f984a834cde192d0c268311e34