Pith. Sign in

REVIEW

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

Astrophysics of Galaxies · Submitted 20 Oct 2026 · 13 references

Pith's verdict: 真正的突破:首个自洽的相空间截断框架用于各向异性系统,附开源代码和令人信服的基准测试。

T0 · AI review

How this review was made: An AI referee (deepseek/deepseek-v4-flash) read the paper on October 22, 2026 and answered a fixed list of questions about it. T0 is the starting level every paper gets. The levels describe how deeply Pith has checked the paper, never the authors.

  1. T0 AI review An AI read the paper and answered a fixed list of questions.
  2. T1 Audit Automatic checks that the references and files the paper relies on exist and match.
  3. T2 Compute The paper's code or calculations re-run with the same results.
  4. T3 Formal statement The claims written out in a formal math language a computer can read.
  5. T4 Proof Those claims proved, and the proof checked by computer.

How Pith checks papers →

· 1 major objection · 5 minor · Ask about this paper · The compiled record · Read the full review →
Challenge this review Comment (0) Read on arXiv ↗
Cite ▾
arXiv ID2610.28758 (version 1)
Pith IDRBRO7TMX, Pith's permanent record of this paper and its review
CitationBarry T. Chiang, Frank C. van den Bosch, Hsi-Yu Schive. "PIANISTpy: A JAX-based Python package for velocity-anisotropic astrophysical equilibrium models." arXiv:2610.28758 (2026). https://pith.science/paper/RBRO7TMX
Cite this reviewBibTeX for Pith's review of this paper
Claim paper

Why Pith says this

Highlight any text to comment on it.

Referee report
The paper

The paper claims

This paper presents the first analytical framework for self-consistently truncating anisotropic spherical systems in phase space, implemented in the open-source JAX-based Python package PIANISTpy.

The reading

The paper claims that existing tools for constructing particle initial conditions of galaxies and dark matter haloes either assume isotropic velocities or use truncation methods that induce dynamical instabilities. It introduces a phase-space truncation framework that directly re-parameterises the distribution function for a class of anisotropic models (constant-anisotropy, Osipkov–Merritt, Cuddeford–Osipkov–Merritt) so that the truncated system is self-consistently finite and dynamically stable at the boundary. Two complementary methods are given: one preserves monotonicity of the DF, the other preserves an identical truncated density profile across different anisotropy models. If the framework is correct, it enables controlled studies of velocity-anisotropy effects in stellar dynamics, dark matter physics, and kinematic modelling of finite galaxies.

What carries the argument

The central machinery is the separable DF form $F(K,L)=F_K(K)L^{-2\beta_c}$ (Equation 8), which unifies constant-anisotropy, Osipkov–Merritt, and Cuddeford–Osipkov–Merritt models. The auxiliary density $\varrho_{\rm aux}(P)$ reduces the bivariate inversion to a one-dimensional Abel-type integral, making the phase-space truncation via $K\to \hat{K}=K-K_t$ analytically tractable. The paper's two truncation methods are built on this: Method I re-parameterises the DF directly; Method II inverts an already-truncated potential–density pair to produce DFs of different anisotropy models sharing the same $\hat{\varrho}(R)$.

Extended reading notes

Core claim

The paper claims to have developed the first phase-space truncation framework for anisotropic spherical systems whose distribution function is separable as $F(K,L)=F_K(K)L^{-2\beta_c}$, where $K$ is an energy-like variable (energy $E$ or Osipkov–Merritt parameters $Q^\pm$) and $L$ is angular momentum. By re-parameterising $K$ as $\hat{K}=K-K_t$ and shifting the DF baseline, the truncated DF $\hat{F}(\hat{K},L)$ inherits the physicality and monotonicity of the untruncated DF, and the corresponding density profile tapers self-consistently to zero at a finite truncation radius $R_t$. The paper further shows that linear superpositions of Method-II-truncated DFs, all inverted from the same truncated potential–density pair, can produce radially varying anisotropy profiles not captured by any known analytical family, matching simulation-derived profiles to within $\sim 10^{-3}$ in $\beta_\sigma$.

Load-bearing premise

The entire framework relies on the assumption that the distribution function is separable as $F(K,L)=F_K(K)L^{-2\beta_c}$, which covers constant-anisotropy, Osipkov–Merritt, and Cuddeford–Osipkov–Merritt models but excludes other possible anisotropic DFs not of this form, such as the Wojtak et al. (2008) model fitted to simulation haloes.

Editorial extensions

If this is right

  • Anisotropic initial conditions for idealised N-body simulations can be generated without the boundary-driven instabilities that plague existing tools, isolating intrinsic physical instabilities such as radial orbit instability.
  • The framework permits systematic exploration of anisotropic DFs, allowing clean separation of truncation artefacts from genuine stability features, extending the analyses of Weinberg (2023) and Dattathri et al. (2025) to anisotropic systems.
  • Line-of-sight velocity distributions and projected velocity dispersion profiles from self-consistent anisotropic models can be directly fitted to observational data, potentially breaking the mass–anisotropy degeneracy that plagues Jeans modelling.
  • Local dark matter velocity distributions computed from these self-consistent anisotropic haloes deviate strongly from the Maxwell–Boltzmann approximation used in terrestrial detection experiments, with consequences for predicted event rates.
  • The linear superposition of truncated DFs enables construction of particle initial conditions that match arbitrary target anisotropy profiles, including those measured from cosmological simulations, with computational cost under a millisecond per evaluation.

Reading between the lines

Editorial extensions of the paper, not claims the author makes directly.

  • If this framework is correct, many N-body studies that currently assume isotropic velocities for simplicity could be revisited with realistic anisotropic initial conditions, potentially altering conclusions about tidal stripping, dynamical friction, and the survival of substructure.
  • The restriction to the separable form $F(K,L)=F_K(K)L^{-2\beta_c}$ excludes other physically motivated anisotropic DFs, such as the Wojtak et al. (2008) model; extending the method to non-separable forms would be a natural next step.
  • The high roundtrip accuracy and GPU acceleration of PIANISTpy suggest it could serve as a forward-modelling engine for Markov chain Monte Carlo inference from kinematic data, replacing computationally expensive Jeans codes.
  • Because the truncation preserves inner density slopes, the framework may be used to test the Cusp Slope–Central Anisotropy theorem for truncated systems, providing a numerical laboratory for the boundary case $\beta_c = \gamma/2$.
Original 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 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 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 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 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 compiled record

The paper's own sentences, arranged, kept beside the review and separate from it. Each label is drawn from a closed vocabulary; the number beside it is the probability the classifier gave that label. Numbers in the tables are the authors', checked by code. No sentence in this record was written by a model.

Compiled by classifier-1.13.0 via TypeSafe API, question bank abstract-p1-20260923, 2026-10-22: 1 request, 6,608 input tokens.

What the abstract itself states, as probabilities: claims first 0.95 · states limitation 0.21 · human participants 0.01 · controlled comparison 0.42 · randomized assignment 0.01 · states quantitative result 0.17 · compares with prior results 0.95 · mentions code or data availability 0.96.

The abstract, sentence by sentence

arXiv listing abstract v1. Results and the main claim are underlined; .

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 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 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 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 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.

background contribution method result interpretation main claim

What the classifier reports for each sentence. The number is the probability it gave the label.
#sentencerolethe authors' own workstates the main conclusionstrength
s0 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 cosmological simulations. background 1.00 0.06 0.05 asserted 1.00
s1 However, dynamical studies based on idealised numerical simulations typically assume isotropic velocity distributions for the systems studied. background 0.59 0.06 0.02 asserted 1.00
s2 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. gap 0.99 0.06 0.04 asserted 0.99
s3 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. contribution 0.99 0.95 0.43 asserted 1.00
s4 We additionally present the 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. contribution 0.93 0.95 0.14 asserted 1.00
s5 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. method 0.55 0.89 0.08 asserted 0.96
s6 PIANISTpy also outputs 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. contribution 0.85 0.89 0.14 asserted 0.99
s7 We discuss 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. result 0.90 0.94 0.32 asserted 1.00

What kind of paper the classifier reports this is: method or tool 1.00 · evidence from simulation or computation 0.77.

What was examined, and what was not

sources read
  • arXiv listing abstract v1
not examined
  • full text
  • figures and tables
  • references and citing sentences
  • relations to other papers
levels run
  • P abstract
not run
  • S sections
  • T body sentences
  • C citations
  • R cross-paper relations

Every quoted sentence on this record is the authors'. Every label is from Pith's closed vocabulary, with the probability shown beside it. Every number in the measurements table is the authors', checked by code. Record as JSON

Figures
Figure 1. sketches the general workflow of PIANISTpy. Starting from an input (untruncated) density profile such as Eq. (5), one first con￾structs the DF corresponding to the desired velocity anisotropy pro￾3 For systems with non-vanishing density distribution out to spatial infinity, the outer boundary condition is simply 𝑃(𝑅 → ∞) = 0. Input density profile 𝜚(𝑅) DF 𝐹(K, L ) Velocity profiles: 𝜎3D, 𝜎r , 𝜎t , 𝜎los, LOSVD Truncated DF 𝐹ˆ (Kˆ , L ) Truncated density profile 𝜚ˆ (𝑅) Truncated DF 𝐹ˆ 𝑖 (Kˆ , L ) Particle initial conditions Method I Method II Velocity sampling Velocity sampling Linear…
Figure 2. Schematic diagram of the two distinct truncation methods im￾plemented in PIANISTpy (see §3.1 for details); the caret symbol denotes truncated quantities. Input: For a user-specified density profile 𝜚 and anisotropy model 𝛽𝜎, we first construct the corresponding untruncated DF. Method I: We ‘truncate’ the DF in phase space by a re-parametrisation of the ‘energy-like’ variable K, by shifting (Kt , 𝐹(Kt) ) → (0, 0) and defining K ≡ K − K ˆ t . We then integrate over all velocities to obtain self-consistently truncated density profile 𝜚ˆ with finite truncation radius 𝑅t . Increasing the…
Figure 3. Importing PIANISTpy, followed by an example code block to generate a DF-truncated particle initial condition of an NFW profile with a constant velocity anisotropy of 𝛽c = 0.25. All outputs default to the internal units (see §2.1), unless explicitly specified as in this example for a halo of total mass 1012 M⊙. Code excerpts to reproduce, or to generate particle initial conditions used in, the subsequent figures are provided at http://pianistpy.com. Component(profile,anisotropy) defines one mass compo￾nent of a system (e.g., a dark matter halo) by pairing an in￾put density profile…
Figure 4. Anisotropy profiles (top row) and untruncated DFs (bottom row) for an untruncated NFW density profile with concentration 𝑐𝜌 = 10. Different columns show different analytical anisotropy models implemented in PIANISTpy, as indicated at the top. Within each column, different coloured curves correspond to different values of the model parameters, as indicated in each top panel; the isotropic case (dark grey) is reproduced in all columns for reference. Only the K-part of each 𝐹(K, L ), denoted 𝐹K (K ) as defined in Eq. (8), is shown; here K = 𝑍 for the constant-anisotropy model and K =…
Figure 7. showcases the anisotropy profiles of three such compos￾ite DFs, all constructed from the Method-II-truncated isotropic potential–density pair shown in the leftmost column of
Figure 8. Roundtrip numerical accuracy benchmark for an untrun￾cated isotropic NFW profile, comparing galpy (purple), Agama (green), PIANISTpy (black), and the analytical fitting functions of Widrow (2000) (orange) and Lane et al. (2022) (blue), the latter two passed through the same density integration and Poisson solve as PIANISTpy’s DF. Top: Rela￾tive difference in the isotropic DF 𝐹(𝑍) with respect to PIANISTpy’s output, mapped onto radius via 𝑍 = 𝑃(𝑅) by the analytical NFW potential. Bottom: Relative error in the roundtrip-inferred density against the analytical NFW profile; galpy is…
Figure 9. Time evolution of truncated NFW haloes in isolation with initial anisotropy 𝛽c = 0.5, resolved with 107 particles and colour-coded by projected surface density. Different rows correspond to initial conditions generated by galpy (top), Agama (middle), and PIANISTpy (bottom), all with total mass equal to the untruncated NFW virial mass; see text for details. Columns show different epochs, as indicated. The black solid circle marks the initial virial radius; the dark blue dotted (cyan solid) circle marks the initial (instantaneous) half-mass radius enclosing 50% of the total mass.…
Figure 10. Fractional change |1− 𝑅(𝑡)/𝑅(𝑡=0) | in the half-mass radius (top panel) and mean radius of the outermost 0.1% of particles (bottom panel) over time, for the 𝑁-body systems shown in
Figure 11. Time evolution of PIANISTpy-generated NFW haloes in isolation with four different initial constant anisotropies 𝛽c = 0.5, 0.25, 0.0, −0.5 (top to bottom rows) at 𝑡 = 0, 3, and 100 Gyr (left to right columns), colour-coded by projected mass density on a shared colour scale. The projection is along the instantaneous minor axis at each epoch, with the 𝑦-axis aligned with the instantaneous major axis. White dashed elliptical contours trace the major and intermediate axis lengths of the 3D ellipsoids computed from the 5%, 30%, 50%, 70%, and 90% most energetically bound particles; the…
Figure 13. shows the local 3D velocity distributions for constant￾anisotropy 𝛽c = +0.5 (cyan), 0 (yellow), −0.5 (red), and OM Type I with 𝑅a = 1 (purple), all constructed from the same Method-II￾truncated isotropic potential–density pair as in
Figure 14. Schematic illustration of different projection configurations sup￾ported by PIANISTpy for a spherical system truncated at 𝑅t (dashed circle). (a) Line-of-sight projected radial profile, ideal for thin-slit observations with negligible thickness. (b) Rectangular-aperture-averaged projection, ideal for thin-slit observations with finite thickness. The orientations of 𝑥, 𝑦, and 𝜃 ∈ [0, 𝜋/2] are as indicated in the diagram. (c) Circular-aperture-averaged projection, ideal for fibre-fed observations. The aperture centre can either be co-centric with or off-centred from the system’s CM.…
Figure 16. shows the projected-surface-mass-density (Σ)-weighted LOSVDs within a circular aperture of radius 𝑅ape = 1 centred on 0.1 0.2 0.3 0.4 lo s ( R 2 D ) / 0 10 4 10 3 10 2 0.1 1 10 R2D 0.0 0.1 0.2 0.3 0.4 lo s ( R 2 D ) / 0 c = +0.5 c = 0.0 c = 0.5 OM (Type I)

Showing 12 of the paper's 16 figures. See all figures in the PDF ↗ Figures reproduced from arXiv:2610.28758 by the authors.

References

Discussion

Disagree with the review, or know something it missed? Leave a comment, highlight any passage above to comment on it, or challenge this review formally.