Stellar clusters are cosmic laboratories that tell the story of star formation, but measuring their true distances has always been astronomy’s equivalent of threading a needle in the dark. Enter the era of precision astrometry with ESA’s Gaia mission, which has revolutionized our ability to map stellar positions with unprecedented accuracy. Yet raw parallax measurements are just the beginning—they need sophisticated statistical treatment to unlock their secrets about cluster structure and stellar kinematics.

Kalkayotl rises to this challenge as a powerful Bayesian inference engine that transforms Gaia’s parallax data into comprehensive 3D and 6D models of stellar systems. The toolkit samples joint posterior distributions of both cluster-level parameters and individual stellar positions and velocities, accounting for parallax spatial correlations and measurement uncertainties that would otherwise introduce systematic errors. Built on PyMC with optional JAX acceleration, it offers both CPU and GPU computation paths, making rigorous statistical analysis accessible to researchers regardless of their computational resources.

From young associations like Beta Pictoris to ancient globular clusters, Kalkayotl is enabling astronomers to reconstruct the three-dimensional architecture of stellar systems with unprecedented precision. This capability is crucial for understanding cluster dynamics, stellar evolution in different environments, and the broader galactic context of star formation—turning Gaia’s revolutionary dataset into a detailed map of our cosmic neighborhood.


Stars: 15
💻 Language: Python
🔗 Repository: olivares-j/Kalkayotl