In a few recent PRs (#383 ) we have had the need to generate simple radial profiles.
I found some examples of code to do this, but there are a variety of methods that yield different results. (Even picking a distance metric seems to have variety).
We'll need to decide what is the best method for ASPIRE, implement this method, and replace any ad hoc usage.