{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/agama-reference-documentation","title":"Agama reference documentation","arxiv_id":"1802.08255","date":"2018-02-22","proceeding":null,"authors":["Eugene Vasiliev"],"abstract":"Agama (Action-based Galaxy Modelling Architecture) is a software library intended for a broad range of tasks within the field of stellar dynamics. As the name suggests, it is centered around the use of action/angle formalism to describe the structure of stellar systems, but this is only one of its many facets. The library contains a powerful framework for dealing with arbitrary density/potential profiles and distribution functions (analytic, extracted from N-body models, or fitted to the data), a vast collection of general-purpose mathematical routines, and covers many aspects of galaxy dynamics up to the very high-level interface for constructing self-consistent galaxy models. This document serves two purposes. First of all, this is a detailed reference for the library itself. Second, it describes various mathematical and numerical methods that could be applicable in a broader context. These include: (1) one- and multidimensional interpolation using cubic and quintic splines; (2) penalized spline fitting of noisy data and penalized spline density estimation; (3) adaptive rejection sampling from multidimensional probability distributions; (4) computation of gravitational potentials using spherical- and azimuthal-harmonic expansions; (5) Staeckel fudge method for computing action/angle variables; (6) a general discussion about good programming practices.","url_abs":"http://arxiv.org/abs/1802.08255v2","url_pdf":"http://arxiv.org/pdf/1802.08255v2.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"links_only","authors_date_abstract":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license), from the Kaggle arXiv metadata snapshot of 2026-09-12"},"code_links":[{"paper_slug":"agama-reference-documentation","repo_url":"https://github.com/GalacticDynamics-Oxford/Agama","is_official":1,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"none","reach":null}],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":null,"mcp":null,"developers":"https://syntology.ai/developers"},"arxiv_metadata":null,"syntology_extracted_results":null}