Skip to content

changhoonhahn/pySpectrum

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

94 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pySpectrum

Python package for calculating the galaxy/halo/dark matter power spectrum and bispectrum using the Scoccimarro (2015) estimator.

Installation

To install the package, simply run

python -m pip install git+https://github.com/changhoonhahn/pySpectrum.git

There's some complications with using FFTW3 installs. I've listed some examples on different HPCs in install examples.

required packages:

  • numpy
  • scipy
  • astropy
  • matplotlib
  • f2py

Also requires FFTW3. On macs, you can install FFTW3 using homebrew.

Coming Soon

Citation

If you use the package please consider citing

@article{Scoccimarro_2015,
   title={Fast estimators for redshift-space clustering},
   volume={92},
   ISSN={1550-2368},
   url={http://dx.doi.org/10.1103/PhysRevD.92.083532},
   DOI={10.1103/physrevd.92.083532},
   number={8},
   journal={Physical Review D},
   publisher={American Physical Society (APS)},
   author={Scoccimarro, Román},
   year={2015},
   month=Oct }

and

@article{Hahn_2020,
   title={Constraining <i>M</i><sub>ν</sub> with the bispectrum. Part I. Breaking parameter degeneracies},
   volume={2020},
   ISSN={1475-7516},
   url={http://dx.doi.org/10.1088/1475-7516/2020/03/040},
   DOI={10.1088/1475-7516/2020/03/040},
   number={03},
   journal={Journal of Cosmology and Astroparticle Physics},
   publisher={IOP Publishing},
   author={Hahn, ChangHoon and Villaescusa-Navarro, Francisco and Castorina, Emanuele and Scoccimarro, Roman},
   year={2020},
   month=Mar, pages={040–040} }

Contact

If you have any questions or need help using the package, feel free to contact me at changhoon.hahn@utexas.edu


install examples

TACC

module load fftw3/3.3.10

conda activate ENVNAME

python -m pip install git+https://github.com/changhoonhahn/pySpectrum.git

About

python package to measure power spectrum and bispectrum

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors