Skip to main content

FEWview

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.

Four ice-blue snapshots in a row show an eccentric Kerr inspiral through one waveform cycle. The glowing trace beneath shows an hour of plus strain, with the pictured cycle shaded at the right.

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.2, use the following reference.

Leather, B. (2026). FEWview (v0.2.2) [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.2

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

Source distribution (sdist)

Source distribution for fewview 0.2.2
File Size Uploaded Provenance Actions
fewview-0.2.2.tar.gz 8.5 MB With provenance Details for fewview-0.2.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for fewview 0.2.2
File Interpreter ABI Platform Actions
fewview-0.2.2-py3-none-any.whl Python 3 none any Details for fewview-0.2.2-py3-none-any.whl

Total release size: 13.3 MB

Release files / fewview-0.2.2.tar.gz

Download URL fewview-0.2.2.tar.gz
Size 8.5 MB
Tags Source
SHA-256 checksum
How to use checksums
f02e2d841313adc9c4a40430742a4656d2fe92cab3f7c660617330ca04481490
BLAKE2b-256 checksum
How to use checksums
bb038338f0724f86b7bc285ff0bda528f26b08aef8b14960835de696c63a0eae
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 log

Release files / fewview-0.2.2-py3-none-any.whl

Download URL fewview-0.2.2-py3-none-any.whl
Size 4.8 MB
Tags Python 3
SHA-256 checksum
How to use checksums
31a4f9d3da23dd33f1c777e8172d68bbed57ce826a92c48b8dfc2a15068e0735
BLAKE2b-256 checksum
How to use checksums
ffb5e6416e19fff1b586db1290882de5621f79b41c8380046ad9e1be1f1a7051
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 log

Security for fewview 0.2.2

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.

Select from 2 files

Attestation for fewview-0.2.2.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 log

A 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.

Release history Release notifications | RSS feed

This release

0.2.2 This release

2 release files Full provenance

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