FEWview renders the gravitational waves from an extreme mass-ratio inspiral. It takes the radiative modes from FastEMRIWaveforms (FEW) and evaluates the strain in every direction around the binary. Radius measures look-back time. In a still, a crest near the edge left the source earlier than one near the centre.
The four frames follow one crest of the plus polarisation to the next, seen from 18° above the orbital plane. The trace below shows an hour of strain along that line of sight. The shaded interval is the cycle pictured above.
Installation
Use Python 3.12 or later. On macOS, FEW supplies wheels for Apple Silicon (macOS 14 or later). Use a native arm64 Python environment there. To install FEWview from PyPI, run
python -m pip install fewview
For the development version, run the following command or use
python -m pip install . from a local checkout.
python -m pip install "git+https://github.com/bleather/FEWview.git"
Pip installs the public CPU build of FEW 2.2.x. On x86-64 Linux the minimum is 2.2.1.post1, which fixes CPU compatibility in the published wheels. FEW downloads the data for each model on first use. The default eccentric Kerr model needs about 5 GB for its amplitude table. The circular example below uses a few MB.
On a headless Ubuntu machine, install the Mesa rendering libraries before making a 3D still or movie.
Render a waveform
This example follows a ten-solar-mass secondary on a circular orbit around a
million-solar-mass primary. It uses the post-adiabatic Circ1PAT1R model.
fewview-render --model Circ1PAT1R --M 1e6 --mu 10 --a 0.00001 \
--p0 10 --e0 0 --chi2 0.3 --T 0.0002 --dt 10 \
--grid-resolution 64 --opacity-profile shells --output-dir circular
Open circular/relativistic-emri-volume.png for the still or
circular/relativistic-volume-slice.png for a cut through the orbital axis.
The same run saves the modes, so you can change the camera or make a movie
without generating the inspiral again.
fewview-animate circular/relativistic-modes.npz --output circular/orbit.mp4 \
--frames 48 --fps 24 --animation-cycles 2 --grid-resolution 64 \
--opacity-profile shells --presentation shells_dramatic --color-scheme ice \
--camera-latitude 18 --camera-longitude -35 \
--source-glow --waveform-glow --no-waveform-transparent
For an eccentric Kerr inspiral, fewview-render --output-dir kerr uses
FastKerrEccentricEquatorialFlux with spin 0.9 and initial eccentricity 0.4.
The tutorial works through this case in Python, including the choice of
retarded-time window, polarisation and viewing angle.
Python tutorial · Example notebook · Model and API guide · Rendering on Slurm
Figures and movies carry the FEWview wordmark in the lower-right corner.
Use --logo icon (or logo="icon" in Python) for the orbit symbol alone.
Citation
If you use FEWview to make a figure or movie for a paper, please cite the version you used. For v0.2.1, use the following reference.
Leather, B. (2026). FEWview (v0.2.1) [Software]. GitHub release.
For BibTeX, select Cite this repository on the GitHub repository page. Please also cite FastEMRIWaveforms and the waveform model you used to generate the inspiral. FEW citation guide
Acknowledgements
The outgoing-wave visualisation follows the approach used for numerical relativity waveforms in gwpv (Nils Vu) and ROSE. FEW supplies the inspiral trajectories and amplitudes. gwpv
FEWview is released under the MIT licence.
Metadata
Release files for fewview 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| fewview-0.2.1.tar.gz | 8.4 MB | With provenance | Details for fewview-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| fewview-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for fewview-0.2.1-py3-none-any.whl |
Total release size: 13.2 MB
Release files / fewview-0.2.1.tar.gz
| Download URL | fewview-0.2.1.tar.gz |
|---|---|
| Size | 8.4 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e1d287af2db36607a50b44ea05e31a34ac2cf7d4e2e80b72e5d0eab0c036533a
|
|
BLAKE2b-256 checksum How to use checksums |
baf9e2314332afd3e08aa942f7c9c4b0847ea2393db17ac7c99c9c9e822ee8e4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.
Transparency logRelease files / fewview-0.2.1-py3-none-any.whl
| Download URL | fewview-0.2.1-py3-none-any.whl |
|---|---|
| Size | 4.8 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6a082951adc8aaa426423698cc1ed2adcec2aa781d84e45888ef788ad0dccbb8
|
|
BLAKE2b-256 checksum How to use checksums |
56152cf59eae6bdd3c2d820ba6899759f00ac52b911336e63a4060d496f86811
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.
Transparency logSecurity for fewview 0.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for fewview-0.2.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.