bl_scrunch dutifully writes out the data array adjusted as one expects BUT it fails to update the header field nchans with the result of scrunching. E.g. The Voyager 1 Filterbank file has 1048576 fine frequency columns. After scrunching with -f 4, it has 262144 fine frequency columns. However, note the errant nchans value although the shape is correct:
bl_scrunch
dutifully writes out the data array adjusted as one expects BUT it fails to update the header fieldnchans
with the result of scrunching. E.g. The Voyager 1 Filterbank file has 1048576 fine frequency columns. After scrunching with -f 4, it has 262144 fine frequency columns. However, note the errant nchans value although the shape is correct:Note also that bl_scrunch -h lies about its purpose:
@#$%^!!!