scintellometry/lofar/digitize.py: a lofar digitization routine.
run 'python digitize.py -h' for an explanation

it has been thoroughly tested.
the resultant int8 raw file can be reverted with the '--revert' option.

This too has been tested. Though, note, the digitization clips 5-sigma outliers.