That would be great to see a BWA fixer. But I'd imagine it to be something that will take just one halfway crappy BWA and fix it.
It would basically follow this scheme. Base curve being the main line and doublesectors being the small raised squiggles.
1 Find the base curve of the BWA (calculate what the curve should be from basic data in the BWA)
2 Reform that curve so that no section are outside of the max and min (get ride of all spikes outside the small range of a normal BWA's base curve and doublesectors sections)
3 Distinguish sections that are part of the base curve from those that are doublesectors and rebuild them (find the mostly high squiggly sections, assume they are double sectors if their length is â€˜typicalâ€™ and restore their integrety / amplitute)
So basically it would be pretty easy to get rid of the major spikes once you've determined the base curve. The hard part is measuring the length of the doublesectors section and restoring them. Everything would have to take example from all the perfect BWA's that have been built already.
This is just the stuff that comes out of my butt once and awhile.