GalacticDynamics-Oxford / Agama

Action-based galaxy modeling framework
Other
73 stars 36 forks source link

document of Einasto profile #35

Closed syrte closed 1 year ago

syrte commented 1 year ago

Hi Eugene, I am using the Einasto profile and want to make sure I understand the document correctly. The "eta" mentioned here

image

is the same "eta" in the following?

image

Or is it a typo of "xi=1/n"?

Thanks!

eugvas commented 1 year ago

you're right, this is a typo in the docs - should be $\xi = 1/n$. Setting gamma=beta=0 makes eta irrelevant, there is no power-law component in the density profile, only the exponential cutoff. Adding a power-law would be suitable for something like Prugniel-Simien profile, which itself was designed as an analytic approximation for the deprojected Sersic profile, but the latter is available in Agama directly (via a numerical deprojection). I will correct the docs in the next commit.

syrte commented 1 year ago

Thanks for the clarification!