TRANSMISSION // 2610.28758v2
A toolkit for building more realistic dark-matter haloes
Source published
PIANISTpy is a JAX-based package for constructing spherical astrophysical models with anisotropic particle velocities and finite boundaries. Its authors describe methods for creating consistent initial conditions and for studying predicted velocities and observables.

Dark-matter haloes are often modeled with particle velocities that are equally distributed in every direction. But cosmic growth through mergers and uneven accretion can produce directional differences. A new analytical framework and open-source Python package, PIANISTpy, aim to make such anisotropic systems easier to model while handling their outer edges consistently.
Why model velocity direction?
Dark-matter haloes and galaxies are not necessarily collections of particles moving equally in every direction. Their assembly through mergers and uneven accretion can leave velocity anisotropy: the balance between motion in different directions. Yet idealized dynamical simulations often begin with isotropic models, partly because constructing anisotropic systems with physically consistent boundaries has been difficult.
That boundary matters. A model with finite spatial extent must be cut off somewhere, but a careless cutoff can produce an unphysical particle distribution or a system vulnerable to instability. The authors of this preprint present an analytical framework for constructing anisotropic equilibrium models while treating truncation in phase space—the space of particle positions and velocities—rather than simply imposing an outer edge in physical space.
Two ways to handle the cutoff
The framework offers two distinct approaches. One is designed to ensure that the resulting distribution function, which describes how particles are distributed through phase space, remains monotonic. The other aims to preserve the same truncated density profile. These are different goals, so the abstract does not suggest that one method simultaneously guarantees both properties in every model.
The authors also introduce PIANISTpy, an open-source Python package built on JAX, a computing platform that supports GPU acceleration and automatic differentiation. It constructs spherical, non-rotating initial conditions using a broad family of analytical density profiles, including double-power-law profiles, and a library of analytical velocity-anisotropy profiles. More complex anisotropy can be represented as a linear combination of the implemented profiles.
What the package produces
PIANISTpy is intended to support more than particle initial conditions. According to the abstract, it can calculate three-dimensional velocity profiles and projected, line-of-sight observables. Its differentiability also makes it suitable for gradient-based Monte Carlo inference, where researchers estimate model parameters from data. The package can further produce local dark-matter velocity distributions for anisotropic haloes, rather than relying on the Maxwell–Boltzmann simplification that the authors describe as unphysical for this purpose in terrestrial detection experiments.
The paper’s abstract reports demonstrations of higher numerical solver accuracy—by orders of magnitude—and better dynamical stability of particle initial conditions than existing tools, including galpy and AGAMA. These are the authors’ stated comparison results; the abstract alone does not provide the benchmarks, test setups, or definitions needed to assess how broadly they apply.
What remains uncertain
The work addresses a modeling capability, not a new observational detection of anisotropy. A flexible package can help researchers explore how directional motions affect simulated systems and predicted observables, but its existence does not establish that any particular halo follows a specific anisotropy profile. Results will still depend on the chosen density and anisotropy models, assumptions about equilibrium, and the suitability of the comparison or inference data.
This account is based on the paper’s abstract, not a full-text examination. Details of the algorithms, validation tests, stability criteria, performance measurements, and practical limitations therefore cannot be independently summarized here. The cited work is an arXiv preprint; the evidence provided does not establish whether it has undergone peer review. Interested readers should consult the paper and software documentation for the methods and benchmarks before drawing conclusions about particular applications.
- dark matter haloes
- velocity anisotropy
- astrophysical modelling
- JAX
- PIANISTpy
- computational astrophysics
Related reading
Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.
Unbound matter may connect halo environment to clustering
Source published
Shared keywords: dark matter haloes
A Faster Way to Follow Stars Escaping a Globular Cluster
Source published
Shared keywords: computational astrophysics
Aster brings flexible tools to simulations of gravitational systems
Source published
Shared keywords: computational astrophysics
A closer-pair approach speeds up dark matter simulations
Source published
Shared keywords: computational astrophysics
How Decaying Dark Matter Could Puff Up a Galactic Halo
Source published
Shared keywords: computational astrophysics