I got a little carried away when looking at changing the way bane calculates the background and rms. I have added some other modes that can be specified on the CLI.
There is also the start of an adaptive box size mode. The idea being that different box car sizes (and potentially smoothed scales) could be used. At the moment the only consideration that is made is the number of pixels that survived the clipping. If too many pixels were clipped, use a larger box.
I have also rejigged the code a little to separate out the logic a little more clearly, and try to separate out the functions into smaller more isolated units of work.
I got a little carried away when looking at changing the way bane calculates the background and rms. I have added some other modes that can be specified on the CLI.
There is also the start of an adaptive box size mode. The idea being that different box car sizes (and potentially smoothed scales) could be used. At the moment the only consideration that is made is the number of pixels that survived the clipping. If too many pixels were clipped, use a larger box.
I have also rejigged the code a little to separate out the logic a little more clearly, and try to separate out the functions into smaller more isolated units of work.