Skip to content
This repository was archived by the owner on Aug 6, 2024. It is now read-only.
This repository was archived by the owner on Aug 6, 2024. It is now read-only.

Coefficient Correlations #33

@nstarman

Description

@nstarman

Description

Get the coefficients in repeated runs and find the correlations!

Whiteboard 1 -01

Additional context

For agama multipole

``the coefficients are indeed written to text files by the Potential.export() method, though the detailed specification of this file is not given in the docs. But it does have a rather simple structure: after a few header lines, there comes an array of potential coefficients, followed by radial derivative coefficients: Phi_{lm}(r), dPhi_{lm}/dr. Each line contains the radius and then the values of each potential harmonic at this radius, in the following order: l=0; l=1,m=-1; l=1,m=0; l=1,m=1; l=2,m=-2; l=2,m=-1; etc., where negative m correspond to sine and positive - to cosine terms in the expansion - in total, (lmax+1)^2 terms. The normalization convention is described in the section A.4.1 of reference.pdf
Although there is no way to access these coefs from Python, you may save them to a file and read it off as a numpy array if needed." Eugene Vasiliev (GalacticDynamics-Oxford/Agama#9)

Checklist

  • Check out our contributing guidelines.
  • Check out our code of conduct.
  • Search the GitHub repository to see if a similar issue has already been posted. If a similar issue is closed, have a quick look to see if you are satisfied by the resolution. If not please go ahead and open an issue!

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions