GitHunt
LL

llinke1/G3LHalo_python

G3LHalo

Code for calculating galaxy-matter power- and bispectra using the halo model

About The Project

This code uses the halo model and HODs to model the power- and bispectra of galaxy- and matter distributions. For an application see Linke, Simon, Schneider + (2023) .

Getting Started

Prerequisites

  • python3: This code will not work for python2!
  • pyccl: Check here for how to install it
  • numpy
  • scipy
  • For example notebooks: matplotlib

Installation

To install this code, clone the gitrepo, go to the root folder and execute

pip install .

Usage

The folder exampleNotebooks contains examples for how to define the halo model ingredients, compute 3D power and bispectra, and limber-integrated power and bispectra.
The examples use functions defined in the pyccl, but in principle a user can provide any function for the halo mass function, halo bias and halo occupation distributions.

License

Distributed under the GNU General Public License v 3.0.

Please cite Linke et al.(2023) if you use the code for a publication.

Contact

Laila Linke - laila.linke@uibk.ac.at

Acknowledgements

Languages

Jupyter Notebook95.1%Python4.9%

Contributors

GNU General Public License v3.0
Created February 6, 2024
Updated November 4, 2025
llinke1/G3LHalo_python | GitHunt