* Rugnux: Several rotation sweeps of one crystal are merged as one dataset (`rugnux a_master.h5 b_master.h5`), on a common indexing and cell, with a non-isomorphous sweep left out and reported; `--sweeps separate` processes each sweep on its own. Bruker `.sfrm` frames and imgCIF files with a full goniometer axis chain are read. * Rugnux: More robust rotation processing - a retry with a more sensitive spot finder when no lattice is found, a self-consistent detector distance, long axes and doubled cells tested as hypotheses, a `-C` supercell multiple stepped down, and each ice ring merged, down-weighted or rejected on its own. * Rugnux: Serial stills are merged with a partiality-aware error model, reported as `ERROR_MODEL_A/B/C` with no ISa or R_merge/R_meas/R_pim; runs without `-S` have an overall intensity scale about 0.86-0.88 times that of earlier versions, with unchanged statistics. A second crystal form is left out of the merge and reported, the indexing ambiguity is resolved more reliably, and `--model` no longer influences processing. * Rugnux: The reported CC1/2 is the standard unweighted one, which can be lower than before on sweeps with weak frames; ISa comes with a 95% interval (`ISA_LOW`/`ISA_HIGH`). * Rugnux: Model refinement adds anisotropic/TLS, local NCS and twin refinement where R-free supports them; building waters and relabelling ions is now off by default (`--refine-solvent` turns it on). * NXmx: A detector of several modules is written as `module_0` ... `module_N` only, so DIALS reads each module as its own panel. * Other: JPEG previews use a bundled encoder (libjpeg-turbo no longer needed), Rugnux prints how to cite it, and the release archives contain the HTML documentation. Reviewed-on: #92 Co-authored-by: Filip Leonarski <filip.leonarski@psi.ch>
4.7 KiB
Jungfraujoch: data acquisition
Jungfraujoch is the data-acquisition and real-time analysis system for the PSI JUNGFRAU and EIGER detectors, and, through their detector control unit, for DECTRIS detectors. It takes the detector's frames at the full frame rate, builds and analyses the images on the fly, and streams them out for writing, with a web interface and a REST API for the beamline. It is the streaming half of the software; Rugnux is the processing half (see Naming).
What runs where
| Program | Role |
|---|---|
jfjoch_broker |
The central service: configures the detector and the FPGA cards, builds images from their output, runs the real-time analysis (masking, summation, spot finding, azimuthal and ROI integration, indexing on the GPU, compression), streams the images over ZeroMQ or TCP, and serves the HTTP/REST interface and the web frontend. |
jfjoch_writer |
Receives the image stream and writes NeXus/NXmx HDF5 files; usually on a separate machine with the file system. |
| FPGA smartNIC | AMD Alveo U55C cards with the Jungfraujoch firmware, one per few JUNGFRAU modules; they receive the detector's UDP stream and run the first stages of the analysis in hardware. The DECTRIS path has no FPGA: the stream from the detector control unit goes through the same analysis on the CPU and GPU. |
| Web frontend | The browser interface served by the broker: detector state, live preview, plots of the on-line quality metrics, and the controls, including Rugnux live mode, which processes a rotation sweep while it is being collected. |
| Python client | pip install jfjoch-client: the REST API as a generated Python package, for beamline control software. |
| Viewer | Optional: the desktop viewer follows a live collection from the broker over HTTP. |
The detectors, firmware and slsDetectorPackage versions the system is built against are in
Supported detectors; the server, FPGA, GPU and switch it needs are in
Hardware requirements.
Installing
Jungfraujoch runs on Linux servers: RHEL / Rocky 8 and 9 are the supported platforms, Ubuntu 22.04 / 24.04 experimental (Software requirements).
- Packages. The package repositories carry
jfjoch(broker, frontend, FPGA and detector tools),jfjoch-driver-dkms(the PCIe kernel module),jfjoch-writerandjfjoch-viewer, in CUDA and non-CUDA variants and perslsDetectorPackageversion. The writer's.rpm/.debare also attached to every release, for a file-writing machine without the rest. - FPGA firmware. The
.mcsimages are attached to every release; the card is flashed once withxbflash.qspiand keeps its image across software upgrades. - From source.
cmakeandmakefrom the repository, with every dependency fetched during the first configure; the frontend is built separately withmake frontend.
Deployment is the step-by-step guide: packages or source, flashing the cards, the kernel driver, the network switch, the broker's configuration file and running the services. Release contents says what each package contains and what it needs on the machine.
Reading the output
The broker streams images as CBOR messages compatible with the DECTRIS Stream2 protocol (Data streams, CBOR messages); the writer turns them into NXmx HDF5 (HDF5 / NeXus data format). Which downstream programs read which of the three HDF5 layouts, and the XDS plugin, are in Integration with MX software. The command-line tools shipped beside the services are listed in Tools.
How to cite
The primary citation for Jungfraujoch is F. Leonarski et al., "Jungfraujoch: hardware-accelerated
data-acquisition system for kilohertz pixel-array X-ray detectors" (2023), J. Synchrotron Rad. 30,
227-234 doi:10.1107/S1600577522010268. For real-time
serial crystallography and live indexing feedback cite also J. Duan et al., "Jungfraujoch:
38 GB s⁻¹ real-time serial crystallography – data acquisition and live indexing feedback" (2026),
J. Appl. Cryst. 59, 1668-1677 doi:10.1107/S1600576726008083.
The files jfjoch_writer writes from Rugnux live mode name both Jungfraujoch and Rugnux; cite the
Rugnux paper too when you use them. All papers are on the
Publications page.