My code

  1. BaryonForge
  2. Aarambam
  3. kllr
  4. Some of my other codes
  5. Public codes I use often

My research has a heavy computational component, so I write a lot of code! Here are a list of code-bases that I’ve released to the community.

BaryonForge

BaryonForge is a pipeline for Baryonifying N-body simulations by adding baryon-induced corrections to the density field and/or adding thermodynamic fields such as the gas pressure, temperature etc. The entire modelling pipeline is built out of the Core Cosmology Library (CCL) so the profile classes can also be used with CCL tools to compute analytic, halo model-based predictions for different power spectra. See Anbajagane+ 2024 for the introduction of the codebase. The method has been validated for lensing measurements in Zhou+ 2025, and has been used for halo-model calculations (e.g., in R. S+ 2025).

Aarambam

Aarambam is a pipeline for generating non-Gaussian initial conditions for simulations. It provides an end-to-end pipeline for generating the ICs of a N-body simulation given some analytic bispectrum template. The novelty in the codebase is performing a decomposition of arbitrary bispectra into separable functions, and then subsequently generating non-Gaussian initial conditions corresponding to these functions. The output field will contain a three-point correlation consistent with the input bispectra, while ensuring the original two-point correlations are preserved to better than \(0.01\%\). The methodology is introduced and extensively validated in Anbajagane & Lee 2025a and Anbajagane & Lee 2025b.

kllr

kllr is a tool for performing non-parameteric, local linear regression models. It was designed for characterising halo scaling relations without having to assume a specific functional form. The method is introduced in Farahi, Anbajagane & Evrard 2022. It can do multivariate linear regression in this non-parameteric manner, as introduced in Anbajagane, Evrard & Farahi 2021.

Some of my other codes

And a smattering of other code-bases that are publicly viewable, though they do not have a dedicated code release + documentation.

Public codes I use often

Some other codes that I use very often: