Skip to main content

Generative Phase Space Reconstruction (GPSR)

Flexible reconstruction of beam distributions from experimental measurements.

The goal of this package is to provide software necessary to reconstruct phase space distributions from experimental data. This work is based on the following publications:

Phase Space Reconstruction from Accelerator Beam Measurements Using Neural Networks and Differentiable Simulations

Efficient six-dimensional phase space reconstructions from experimental measurements using generative machine learning

Installation

Using pip for the latest release:

pip install gpsr

or for the most recent updates in the github repo (may be unstable):

git clone https://github.com/roussel-ryan/gpsr.git
cd gpsr
pip install -e .

or for development,

pip install -e ".[dev]"

Metadata

Release files for gpsr 0.3.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 gpsr 0.3.0
File Size Uploaded Provenance Actions
gpsr-0.3.0.tar.gz 16.1 MB With provenance Details for gpsr-0.3.0.tar.gz

Built distribution (wheel)

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

Total release size: 16.2 MB

Release files / gpsr-0.3.0.tar.gz

Download URL gpsr-0.3.0.tar.gz
Size 16.1 MB
Tags Source
SHA-256 checksum
How to use checksums
f95827253e425449a9fc5ea89b19ad5b64d9af0074d00f471fa8a5f607c60896
BLAKE2b-256 checksum
How to use checksums
d9f484069103d6663fe1f0a019d3b63414833c1f167cc96e3367b98fb5ed632a
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 Oct 29, 2026.

Transparency log

Release files / gpsr-0.3.0-py3-none-any.whl

Download URL gpsr-0.3.0-py3-none-any.whl
Size 103.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f07b06717d8a59f9326432062a15e2bd457b299f2f4281183b7fa4e1022d1e23
BLAKE2b-256 checksum
How to use checksums
217561da18b8a833f82a534a465b4ff1deed3f531f9fbcbbcb38c0c3060a2258
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 Oct 29, 2026.

Transparency log

Security for gpsr 0.3.0

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 gpsr-0.3.0.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 Oct 29, 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.

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