I think I am looking to arrive at harmonicity through something like moving the frequencies of the partials into their closest values according to the harmonic series
A while ago I started an extern that does things in the same ballpark as you're describing...maybe I can add that specific kind of processing as an option as well. If you're not up against a deadline I can let you know when I get a chance to experiment with it in the next few weeks.