User guide#
Installing pulserver, running its services and writing the plugins they load. The concepts behind them are in Explanations, and the exact interfaces, units and defaults in API reference.
Page |
Contents |
|---|---|
Design calls, design server, reconstruction proxy and server, playout validation |
|
Sequence plugins, protocol entries and evaluation |
|
Reconstruction plugins and offline reconstruction |
|
Messages and header of a reconstruction client |
|
Phantom scans through a stored design, the proxy and a plugin |
Supported platforms#
pulserver supports Python 3.10 through 3.14; CI tests both bounds on Linux and
macOS. On Windows, sequence design, the safety checks and conversion run from
the wheel; the warm design server and the reconstruction runtime do not, since
they fork one process per call, listen on Unix sockets and lock files with
fcntl.
Platform |
Wheel architectures |
|---|---|
Linux |
x86-64, glibc ( |
macOS |
Apple silicon |
Windows |
x86-64 |
Each wheel carries the compiled extension pulserver._ext. A source build
needs a C compiler, a C++17 compiler, CMake and the Python development headers.
Installation#
pip install pulserver
This installs pypulseqpp, which designs the sequences; bartorch and PyTorch,
which the shipped reconstructions use; blochsim, with which the virtual
scanner simulates the signal and the shipped fse3d plugin optimizes its
refocusing trains; the ISMRMRD and DICOM libraries; and brainweb-dl and
websockets, for the virtual scanner’s BrainWeb phantom and pulserver console.
A reconstruction plugin may import any other engine; the reconstruction proxy
imports bartorch into its spare workers ahead of a series.
The shipped EPI reconstruction also corrects susceptibility distortion when PyHySCO is installed. PyHySCO is GPL-3.0-only, so it is never installed for you:
pip install 'bartorch[pyhysco]'
A development installation is described in Developer guide.
Issue tracker#
Report a reproducible defect, a documentation error or a narrowly scoped
feature request on the
GitHub issue tracker. Include
the pulserver, pypulseqpp and Python versions, the operating system, the
affected subpackage and the smallest reproducer: a plugin file, a short .seq
file, or the design call and its reply.
A defect in sequence design belongs on the pypulseqpp tracker, and one in a reconstruction algorithm on the bartorch tracker.
Discussions#
GitHub Discussions is the public forum for usage questions and broad design ideas.
Security#
The policy is SECURITY.md.
Report a vulnerability through
GitHub private vulnerability reporting,
not through a public issue.
Safety#
Before it writes an IR cache, pulserver runs pypulseqpp’s timing, gradient, PNS, mechanical-resonance and sound pressure checks under the limits the interpreter sends, and refuses a sequence raising a safety check violation. SAR, RF coil heating and gradient heating are computed by the vendor’s routines on the scanner, from inputs pulserver provides (Safety checks). The checks compute estimates; passing them does not establish scanner or patient safety.