PNGolin is a Python package that computes binned estimators for the real-space 3D power spectrum, bispectrum, and trispectrum from cosmological density fields. PNGolin was initially developed to study the imprints of primordial non-Gaussianity (PNG) on the large-scale structure (LSS) bispectrum and trispectrum. The main reason to use this code is for the trispectrum estimators. If you use this code in a publication, please consider citing https://arxiv.org/abs/2407.08731.
After cloning the repository, PNGolin can be installed by running
- cython, pyfftw
Additionally, it is useful to have Pylians installed. This isn't required for the code, but it is useful for reading in density fields.