Rebinning a Histogram
Instructions for rebinning code: Compile it: cc rebin.c -o rebin Use it. e.g. cat data | ./rebin 10 > rebinned_data This would take data, interpret the rows as the bin numbers, and accumulate every 10 row’s data into a newly binned row. It will complain to stderr if there are problems, but will do its … Read more