Adrian Price-Whelan
Adrian Price-Whelan
Weird - no idea what's causing this! I removed a stagnant travis webhook, but everything else looks ok. Maybe this is related to the parallel builds?
Also, FWIW, `mpipool` became [`schwimmbad`](https://github.com/adrn/schwimmbad).
Brainstorming API. User-facing (spherical): ``` python pot = HernquistPotential(...) # knows internally that it has spherical symmetry r = np.logspace(-1, 1, 128) xyz = np.zeros((3,r.size)) xyz[0] = r # as...
But then how is the gradient returned? In the input coordinates or?
Yes! dΦ/dr dΦ/dx and dΦ/dR dΦ/dx
One path to this: - Define new `Symmetry` objects that know how to transform from input to a 3D cartesian coordinate. For example, a single `r` array --> `xyz` with...
https://gist.github.com/adrn/29c82f19f34e4a5cff086ff43764f13e
Thanks! Working on this now
That's a reasonable ask! What kind of API would you find useful? If there was a way to dump information at a regular interval (e.g., every 1000 steps or something)...
Hi @SauravMaheshkar - I'm potentially interested! Which Contributing wiki are you referring to?