Closed JGLee6 closed 4 years ago
Some of this code has been added to the branch newtv2 on my fork, but has not been tested at all. It makes use of a cylindrical expansion for the irregular solid harmonics at any (l, m) allowing us to calculate out to any order we might want to burn CPU time on. It uses scipy.integrate.tplquad. Needs:
We do not currently know of any closed form expression for the outer moments of simple shapes centered about the origin to arbitrary order. A method to numerically integrate for the lowest order moments of several common shapes may allow for more precise calculations than available through PointGravity calculations of outer moments.
Or an explicit list of moments for the lowest ordersThe same techniques could be applied to Yukawa moments or to shapes without analytical closed-form solutions.