Skip to main content

FAST-PT

Documentation Status arXiv:1603.04826 arXiv:1609.05978 arXiv:1708.09247 License: MIT

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.

Easy installation with pip:

  • pip install fast-pt
  • Note: use --no-deps if 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.

Release files for fast-pt 4.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fast-pt 4.1.0
File Size Uploaded
fast_pt-4.1.0.tar.gz 78.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for fast-pt 4.1.0
File Interpreter ABI Platform
fast_pt-4.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 146.4 kB

Release files / fast_pt-4.1.0.tar.gz

Download URL fast_pt-4.1.0.tar.gz
Size 78.4 kB
Tags Source
SHA-256 checksum
How to use checksums
795a76dacfc47410c27f0838c5aa26b1b80b2d070ddd40ddcbe347b426ffdfed
BLAKE2b-256 checksum
How to use checksums
0c664725da5cafcf547d73283000f5c49f86144e593d58e838b86d3f421c746f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / fast_pt-4.1.0-py3-none-any.whl

Download URL fast_pt-4.1.0-py3-none-any.whl
Size 68.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
802d1545080494787d88844d3280b8416cbaedb262c340871e27d9c5e76a1e43
BLAKE2b-256 checksum
How to use checksums
9177261c6e65f669e1280235eb108c85b6913d2eb35417140172838cae71f836
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release history Release notifications | RSS feed

This release

4.1.0 This release

2 release files

4.0.0

2 release files

3.2

2 release files

3.1.2

2 release files

3.1.0

1 release file

3.0.2

1 release file

3.0.1

1 release file

3.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page