Monthly Notices of the Royal Astronomical Society

PIANISTpy : A JAX -based python package for velocity-anisotropic astrophysical equilibrium models

Barry T Chiang, Frank C van den Bosch, Hsi-Yu Schive

Review

Key points

From the paper's conclusion
  • We additionally present the new open-source JAX-based GPU-accelerated python package PIANISTpy (Particle Initial conditions with ANISoTropy) for constructing spherical, non-rotating initial conditions, supporting arbitrary double-power-law analytical radial density profiles and a library of analytical anisotropy profiles.

Abstract

The hierarchical assembly of dark matter haloes and galaxies via mergers and anisotropic mass accretion naturally imprints non-trivial velocity anisotropy onto haloes and galaxies, an empirical fact emerging from state-of-the-art cosmological simulations. However, dynamical studies based on idealised numerical simulations typically assume isotropic velocity distributions for the systems studied. This is mainly because no tools exist to construct anisotropic initial conditions with fully self-consistent (i.e., physical and instability-free) truncation boundary conditions for finite spatial extents. Here we present the first such analytical framework that performs truncation in phase space, with two distinct approaches to guarantee either the monotonicity of output distribution functions or identical truncated density profiles. We additionally present the new open-source JAX-based GPU-accelerated python package PIANISTpy (Particle Initial conditions with ANISoTropy) for constructing spherical, non-rotating initial conditions, supporting arbitrary double-power-law analytical radial density profiles and a library of analytical anisotropy profiles. This framework further permits the construction of systems with non-analytical anisotropy profiles via an arbitrary linear superposition of all implemented analytical anisotropy models as basis functions. PIANISTpy also outputs various 3D velocity profiles and line-of-sight-integrated observables with end-to-end differentiability for rapid gradient-based Monte Carlo inference, and self-consistent local dark matter velocity distributions of anisotropic haloes beyond the unphysical Maxwell–Boltzmann simplification adopted in terrestrial detection experiments. We discuss possible use cases and demonstrate PIANISTpy’s orders-of-magnitude higher numerical solver accuracy and superior dynamical stability of particle initial conditions relative to existing tools, including galpy and Agama. The public source code is available at https://github.com/barrytchiang/PIANISTpy with extensive documentation at https://pianistpy.com.

Read the paper

Discussion

Science Skim's AI key points, plus readers' public thoughts

Readers' thoughts

No reader thoughts yet.

Related papers

PIANISTpy : A JAX -based python package for velocity-anisotropic astrophysical equilibrium models — Science Skim