Skip to main content

pypulseqpp

Pulseq sequence design and analysis with a C++ core and a PyPulseq-compatible Python interface.

Tests codecov PyPI License: MIT

pypulseqpp combines compiled event storage, block registration and analysis with PyPulseq event factories. It also provides RF and gradient design, sampling patterns, and composable excitation, preparation and readout modules.

Scope

  • Pulseq text and binary reading/writing, signatures and event deduplication.
  • Waveform expansion, k-space trajectories, sequence reports and structural repetition detection.
  • Timing, gradient amplitude, slew and boundary-continuity checks, a mechanical-resonance check against forbidden gradient bands, and a PNS check under the SAFE or the rheobase-chronaxie model, and VOP-based SAR.
  • Logical-frame FOV scaling, rotation and translation.
  • Pulse, trajectory and sampling design, with reusable sequence modules.

This is an alpha package, not a complete replacement for every PyPulseq feature. Passing the checks does not establish scanner or patient safety.

Scanner execution, protocol orchestration and reconstruction integration belong to Pulserver.

Install

Requires Python 3.10 or later. Runtime dependencies are NumPy, SciPy and PyPulseq; the native core is included in platform wheels.

pip install pypulseqpp

The optional viewer is a separate GPL-licensed package:

pip install 'pypulseqpp[plot]'

Basic use

import pypulseqpp as pp

system = pp.Opts(max_grad=40, grad_unit="mT/m", max_slew=150, slew_unit="T/m/s")
seq = pp.Sequence(system)
gx = pp.make_trapezoid("x", area=100, system=system)
seq.add_block(gx)
ok, errors = seq.check_timing()
seq.write("example.seq")

Sequence-module classes are available from pypulseqpp.sequences. The API reference groups sequence operations, event design, sampling, modules and checks.

Development and documentation

See the contribution guide for installation and checks. Build the local Markdown/Sphinx documentation with:

pip install -e '.[doc]'
bash scripts/build_docs.sh

The script compiles the checkout into docs/build/site and generates the pages from that build.

Open docs/build/html/index.html. The API reference is populated; the user guide, developer guide and examples sections are scaffolds.

Release files for pypulseqpp 0.0.3

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

Source distribution (sdist)

Source distribution for pypulseqpp 0.0.3
File Size Uploaded
pypulseqpp-0.0.3.tar.gz 1.3 MB Details

Built distributions (wheels)

Table of built distributions (wheels) for pypulseqpp 0.0.3
File
pypulseqpp-0.0.3-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details
pypulseqpp-0.0.3-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.27+ x86-64, Linux glibc 2.28+ x86-64 Details
pypulseqpp-0.0.3-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details
pypulseqpp-0.0.3-cp313-cp313-macosx_10_13_x86_64.whl CPython 3.13 CPython 3.13 macOS 10.13+ x86-64 Details
pypulseqpp-0.0.3-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details
pypulseqpp-0.0.3-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.27+ x86-64, Linux glibc 2.28+ x86-64 Details
pypulseqpp-0.0.3-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details
pypulseqpp-0.0.3-cp312-cp312-macosx_10_13_x86_64.whl CPython 3.12 CPython 3.12 macOS 10.13+ x86-64 Details
pypulseqpp-0.0.3-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details
pypulseqpp-0.0.3-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.27+ x86-64, Linux glibc 2.28+ x86-64 Details
pypulseqpp-0.0.3-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details
pypulseqpp-0.0.3-cp311-cp311-macosx_10_9_x86_64.whl CPython 3.11 CPython 3.11 macOS 10.9+ x86-64 Details
pypulseqpp-0.0.3-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details
pypulseqpp-0.0.3-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.28+ x86-64, Linux glibc 2.27+ x86-64 Details
pypulseqpp-0.0.3-cp310-cp310-macosx_11_0_arm64.whl CPython 3.10 CPython 3.10 macOS 11.0+ ARM64 Details
pypulseqpp-0.0.3-cp310-cp310-macosx_10_9_x86_64.whl CPython 3.10 CPython 3.10 macOS 10.9+ x86-64 Details

Total release size: 17.9 MB

Release files / pypulseqpp-0.0.3.tar.gz

Download URL pypulseqpp-0.0.3.tar.gz
Size 1.3 MB
Tags Source
SHA-256 checksum
How to use checksums
f80cbdeda8c05bca3a9779560de77dcf7f6e5f1016dfb86c64c726307b9c42a2
BLAKE2b-256 checksum
How to use checksums
a256aab63d23ffdc07cd239270b0403d13242be196eb940bda408e443cee91b1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 15, 2026.

Transparency log

Release files / pypulseqpp-0.0.3-cp313-cp313-win_amd64.whl

Download URL pypulseqpp-0.0.3-cp313-cp313-win_amd64.whl
Size 1.1 MB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
b5c32350f77f7a515a5c4f23746b1152714491e6f0da7f9bfadf801b2bc5a1b6
BLAKE2b-256 checksum
How to use checksums
58dc761020a0bb86887d7a71ea7a11e9141db281e55d06532eb2e5bbaaa91a7f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 15, 2026.

Transparency log

Release files / pypulseqpp-0.0.3-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL pypulseqpp-0.0.3-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 1.0 MB
Tags CPython 3.13 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
31ed3e8cd0e112ab1f931b207fc0bb349e58345536057677fda7a8f70a0fc29c
BLAKE2b-256 checksum
How to use checksums
938199e0a1222cee04816dd410b01a84d7861a404ce4ca76262b04fac0a7e43e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 15, 2026.

Transparency log

Release files / pypulseqpp-0.0.3-cp313-cp313-macosx_11_0_arm64.whl

Download URL pypulseqpp-0.0.3-cp313-cp313-macosx_11_0_arm64.whl
Size 949.6 kB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
be75ace1f5b26c6a671ed88ab88a0bdddb2fb0ed31ecfc8896527932d9f0d8a6
BLAKE2b-256 checksum
How to use checksums
ef7686a144e7a52e6b2d86bc65b65c31f2c7075702a9766de4307b1097c29ef2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 15, 2026.

Transparency log

Release files / pypulseqpp-0.0.3-cp313-cp313-macosx_10_13_x86_64.whl

Download URL pypulseqpp-0.0.3-cp313-cp313-macosx_10_13_x86_64.whl
Size 1.1 MB
Tags CPython 3.13 macOS 10.13+ x86-64
SHA-256 checksum
How to use checksums
69dd42e1afa864daa671532087691fa79761ecbd42174378df2d3b825755ff34
BLAKE2b-256 checksum
How to use checksums
069e43d5bfe06eedcac479dc1fdc40570d09d93d31d98ab4135b4903fa5692f6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 15, 2026.

Transparency log

Release files / pypulseqpp-0.0.3-cp312-cp312-win_amd64.whl

Download URL pypulseqpp-0.0.3-cp312-cp312-win_amd64.whl
Size 1.1 MB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
37677e54085a11d9d108cbdfd31f1998e472f7e9ef0c367e8dcd66d48405151b
BLAKE2b-256 checksum
How to use checksums
7c7597367be63d4cc163e2a168b815f6017ff148363763a87e2f2776988b5093
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 15, 2026.

Transparency log

Release files / pypulseqpp-0.0.3-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL pypulseqpp-0.0.3-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 1.0 MB
Tags CPython 3.12 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
6ee519bc815edda79ff10c491e4ae0c73a752a86bcbf6f418d46b1e54ff5a1fc
BLAKE2b-256 checksum
How to use checksums
b5dc0b553e9a5f1a8d8070552fa070260b9b016f610f3da92b0ed3c0b6807c2e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 15, 2026.

Transparency log

Release files / pypulseqpp-0.0.3-cp312-cp312-macosx_11_0_arm64.whl

Download URL pypulseqpp-0.0.3-cp312-cp312-macosx_11_0_arm64.whl
Size 949.5 kB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
f834e066f5e91fcbcb447d4b08964fa27e0a1884e4502cb45455efe33b9d687e
BLAKE2b-256 checksum
How to use checksums
fcd075d8c0722b884a98e731a2ca77859346b8dcc503580042e8aee446a8a7ff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 15, 2026.

Transparency log

Release files / pypulseqpp-0.0.3-cp312-cp312-macosx_10_13_x86_64.whl

Download URL pypulseqpp-0.0.3-cp312-cp312-macosx_10_13_x86_64.whl
Size 1.1 MB
Tags CPython 3.12 macOS 10.13+ x86-64
SHA-256 checksum
How to use checksums
63db7f0d06bc7fe8311fea2f5e3bcbf10c1eb603fd73766dc2f7ea09f1d0feb3
BLAKE2b-256 checksum
How to use checksums
4f34deb7564a38aa3493a662d7a0331a5e6d48d19474e9bc7d8b54ce80b9b465
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 15, 2026.

Transparency log

Release files / pypulseqpp-0.0.3-cp311-cp311-win_amd64.whl

Download URL pypulseqpp-0.0.3-cp311-cp311-win_amd64.whl
Size 1.1 MB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
5b059b1bea16cbde33c29cb63c5274a2b07c62a34a2b2879906e46cfac04f0ac
BLAKE2b-256 checksum
How to use checksums
f4affe504b7bcf9b134a912f319464ec956586274c0780077404d5a115ccad56
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 15, 2026.

Transparency log

Release files / pypulseqpp-0.0.3-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL pypulseqpp-0.0.3-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 1.0 MB
Tags CPython 3.11 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
ba598af7378ad620e06b05fcfc66bf25e386f3a123a2ff43a81168df920e9422
BLAKE2b-256 checksum
How to use checksums
4ad3ac08cfec5382aabb57d0944c3afe0698209cb30216f3c76c297edc03fa9f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 15, 2026.

Transparency log

Release files / pypulseqpp-0.0.3-cp311-cp311-macosx_11_0_arm64.whl

Download URL pypulseqpp-0.0.3-cp311-cp311-macosx_11_0_arm64.whl
Size 946.1 kB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
da5eb3d6bfa19a24e1e4d5f43a79856275c71fb4f4d66e54db3a51736e03fdd6
BLAKE2b-256 checksum
How to use checksums
f05aba44cec0f8cd061f30c86e4f18c87e98ac18e71d80e6fc1a60260140ea9e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 15, 2026.

Transparency log

Release files / pypulseqpp-0.0.3-cp311-cp311-macosx_10_9_x86_64.whl

Download URL pypulseqpp-0.0.3-cp311-cp311-macosx_10_9_x86_64.whl
Size 1.0 MB
Tags CPython 3.11 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
decb9cde425c03932cc0a73da1b619a3c5befeb1c446c01cf61914c07094029b
BLAKE2b-256 checksum
How to use checksums
eb25a57f6e11d017594b88cab923a22747f5e0d694a7a65a3de233e4d14152d2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 15, 2026.

Transparency log

Release files / pypulseqpp-0.0.3-cp310-cp310-win_amd64.whl

Download URL pypulseqpp-0.0.3-cp310-cp310-win_amd64.whl
Size 1.1 MB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
817b300d11a2e442994074b48cd78364411e1125a28999561cadda6bac82a971
BLAKE2b-256 checksum
How to use checksums
2988111b330e8c164c7fe29d10623a53b407113ad35c23fa4c6ebfc390f061ed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 15, 2026.

Transparency log

Release files / pypulseqpp-0.0.3-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL pypulseqpp-0.0.3-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 1.0 MB
Tags CPython 3.10 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
0c9160bf2237579804f01234ec95891039c1305c8b81d864e9d4c398a2edb182
BLAKE2b-256 checksum
How to use checksums
276b11a1acdb5be4b575c628307036847bbcd3acfff3a63ba2d97416c9008fe6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 15, 2026.

Transparency log

Release files / pypulseqpp-0.0.3-cp310-cp310-macosx_11_0_arm64.whl

Download URL pypulseqpp-0.0.3-cp310-cp310-macosx_11_0_arm64.whl
Size 945.1 kB
Tags CPython 3.10 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
a6bdb3a57146c393a66dd9ec1ed6f2add34c61fb15a089b21662a55ff6b06668
BLAKE2b-256 checksum
How to use checksums
1f2b9262ce2a832a173b394a7bb4854c2a612e83919a6d0632c1beede18e69ce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 15, 2026.

Transparency log

Release files / pypulseqpp-0.0.3-cp310-cp310-macosx_10_9_x86_64.whl

Download URL pypulseqpp-0.0.3-cp310-cp310-macosx_10_9_x86_64.whl
Size 1.0 MB
Tags CPython 3.10 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
e0c1b7a180047be04e1102f4aaa7b982aa138831e1ec509ea3bce7e9c2a985f6
BLAKE2b-256 checksum
How to use checksums
70a035c53129aaf77ade8c6a82f2e47171178ec4df711f03be0ebbd260161fe2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 15, 2026.

Transparency log

Release history Release notifications | RSS feed

0.0.9

17 release files

0.0.8

17 release files

0.0.7

17 release files

0.0.6

17 release files

0.0.5

17 release files

0.0.4

17 release files

This release

0.0.3 This release

17 release files

0.0.2

17 release files

0.0.1

17 release files

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