FAST-PT is a code to calculate quantities in cosmological perturbation theory at 1-loop (including, e.g., corrections to the matter power spectrum).
Project description
FAST-PT
FAST-PT is a code to calculate quantities in cosmological perturbation theory at 1-loop (including, e.g., corrections to the matter power spectrum). The code utilizes Fourier methods combined with analytic expressions to reduce the computation time to scale as N log N, where N is the number of grid points in the input linear power spectrum.
NOTE: v3.1.0 and earlier require numpy version < 1.24. This is fixed in v3.1.1 and later, which is available on pip and conda.
Easy installation with pip:
pip install fast-pt- Note: use
--no-depsif you use a conda python distribution, or just use conda installation
Easy installation with conda:
conda install fast-pt
Full installation with examples:
- Make sure you have current version of numpy, scipy, and matplotlib
- download the latest FAST-PT release (or clone the repo)
- install the repo:
python -m pip install . - run the most recent example:
cd examples && python3 hello_fastpt.py - hopefully you get a plot!
- for a more in-depth example of new features:
cd examples && python3 v4_example.py - for older examples see the 'examples' folder
Our papers (JCAP 2016, 9, 15; arXiv:1603.04826) and (JCAP 2017, 2, 30; arXiv:1609.05978) describe the FAST-PT algorithm and implementation. Please cite these papers when using FAST-PT in your research. For the intrinsic alignment implementation, cite PRD 100, 103506 (arXiv:1708.09247).
FAST-PT is under continued development and should be considered research in progress. FAST-PT is open source and distributed with the MIT license. If you have comments, questions, or feedback, please file an issue.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fast_pt-4.0.0.tar.gz.
File metadata
- Download URL: fast_pt-4.0.0.tar.gz
- Upload date:
- Size: 77.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
070e9de13635711930f4ad19181f96c2dd3a85989c7a277b4b1e4c909ee817c5
|
|
| MD5 |
7ca3db23505506d1752c1188d0c51c34
|
|
| BLAKE2b-256 |
edda1ac74db4cca1193e0ec74207748b9a7209807ad7234253569e1799e38ed8
|
File details
Details for the file fast_pt-4.0.0-py3-none-any.whl.
File metadata
- Download URL: fast_pt-4.0.0-py3-none-any.whl
- Upload date:
- Size: 68.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ae9c4e7d2246721be68e669043ac62c5644faef27b93b589ff3714c676135f8e
|
|
| MD5 |
1fac6ce864f9b8b5bebd55e395771c05
|
|
| BLAKE2b-256 |
10e19f7c5feacd4200cbb61726bdae6ccf58f354448a26f8cabaf313fb49dfba
|