computer programs\(\def\hfill{\hskip 5em}\def\hfil{\hskip 3em}\def\eqno#1{\hfil {#1}}\)

Journal logoJOURNAL OF
SYNCHROTRON
RADIATION
ISSN: 1600-5775

STP3 Web: new Syrmep Tomo Project using the MAPI framework for synchrotron computed tomography reconstruction workflow

crossmark logo

aScientific and Quantum Computing Group, Elettra-Sincrotrone Trieste SCpA, SS 14 km 163.5 in Area Science Park, Basovizza, Trieste 34149, Italy
*Correspondence e-mail: [email protected]

Edited by M. Retegan, ESRF – The European Synchrotron, France (Received 5 August 2026; accepted 26 October 2026)

The Syrmep Tomo Project (STP) has been the reference software for offline tomographic reconstruction at the SYRMEP beamline of Elettra for over a decade. Conceived as a single-user desktop application, STP no longer meets the operational demands of a modern hard X-ray imaging beamline, where multi-user concurrency, large data throughput, and remote accessibility are essential. We present STP3 Web, a full re-implementation of STP built on the Modular Adaptive Processing Infrastructure (MAPI) recently introduced at Elettra. STP3 Web preserves the reconstruction algorithms inherited from STP-Core, which rely on TomoPy and the ASTRA Toolbox, while exposing them through a browser interface that supports interactive parameter tuning, asynchronous batch reconstruction, and persistent job management. The system is currently deployed on two on-premises GPU compute nodes and delivers tuned full-volume reconstructions with a reduced processing time in a manageable range of minutes, compared with the previous requirement of hours, with a sustained throughput of 1–3 terabytes of processed data per day. We report the architecture, the on-premises deployment, benchmark results on two GPU configurations, and the path toward the next-generation SYRMEP-Life Science beamline within the Elettra 2.0 upgrade.

1. Synchrotron computed tomography at SYRMEP

The SYRMEP beamline (SYnchrotron Radiation for MEdical Physics) is the hard X-ray imaging beamline of Elettra synchrotron1, delivering monochromatic radiation in the 10–40 keV range and white/pink beams with average energies between 16 and 27 keV (Longo et al., 2024View full citation). Its long sample-to-detector distances and wide laminar beam enabled the implementation of propagation-based and analyser-based phase-contrast imaging, multiscale micro-computed tomography (microCT), and in situ experiments even on bulky specimens (Donato et al., 2022View full citation; Dullin et al., 2021View full citation, 2023View full citation). The recent installation of a multi-objective X-ray camera system allows for a broad range of pixel sizes, from 22.81 µm down to 0.23 µm, to be selected for routine experiments with white/pink beam modality (Longo et al., 2024View full citation).

A typical microCT scan produced at SYRMEP comprises between 1800 and 3600 projections of 2048 × 2048 pixels, generating uncompressed HDF5 files in the 15–30 GB range. Within the Elettra 2.0 upgrade, the beamline will be transformed into SYRMEP-Life Science (SYRMEP-LS), featuring a broader energy range of 10–130 keV. With the installation of a 6 T superconducting bending magnet, the higher fluxes will facilitate four-dimensional microCT acquisitions and dynamic studies reaching the second scale (Longo et al., 2024View full citation; Karantzoulis & Barletta, 2019View full citation; Karantzoulis, 2018View full citation). The expected increase in flux, coupled with high-speed detector capabilities, will significantly boost sample throughput and inevitably multiply data volumes by at least an order of magnitude. This advancement poses new challenges for the IT infrastructure and software architecture.

Reconstruction software at SYRMEP has historically followed the dual nature of the experiment: a fixed online pipeline for real-time feedback during beamtime, and a flexible offline tool, the Syrmep Tomo Project (STP), for post-beamtime processing on commodity workstations (Brun et al., 2017View full citation, 2015View full citation). STP has supported the user community for over a decade and remains widely cited in beamtime publications. However, the growth in acquisition rates progressively outstripped the throughput of STP, to the point where its usage pattern became a bottleneck in data processing. Users could use their own STP installation, but many lacked powerful workstations and therefore requested remote access to the beamline PCs, where reconstruction was both faster and avoided transferring large datasets. As a result, some users experienced very long overall reconstruction times. In order to avoid interference among users performing experiments and those processing the data, remote access was granted only during synchrotron shutdown, not after each experiment. STP is distributed as two components: STP-Core, the library implementing the reconstruction pipeline, and STP-Gui, the desktop graphical interface built on it (Brun et al., 2017View full citation, 2015View full citation). STP3 Web replaces the interface while conceptually retaining the algorithmic content of STP-Core, but ported to Python 3 with evolutionary modifications described later. The desktop nature of STP-Gui, its dependence on a legacy Python 2 environment, and its reliance on intermediate HDF5 files between processing steps have all become limiting factors as datasets have grown and as users have shifted to remote and collaborative analysis modes.

The development of MAPI at Elettra (Hafner et al., 2026View full citation) provided the missing infrastructure for a service-oriented redesign. MAPI couples a Python-based web frontend with a coordination layer built on a relational database and a task queue, leaving the backend free to wrap legacy command-line or library code. That paper defines the framework as a generic blueprint, namely the three-tier decomposition, the choice of NiceGUI, MariaDB, Celery and Redis, the integration with the facility identity service, the three supported deployment models, and the GPU dispatch heuristic. It uses an early version of STP3 Web as a proof of concept, reporting pre­liminary timings. The present work is concerned with the tomographic application itself. We describe the reconstruction pipeline and its Python 3 re-implementation, the interactive parameter-evaluation routines that constitute the principal user-facing addition, the handling of 180° and 360° acquisition geometries, and the input requirements of the system. We report the production record accumulated over two years of continuous operation, and a set of benchmarks that quantify single-job latency, the contribution of each processing stage, and the behaviour of the pipeline under increased data volume. Sections 3.2[link] and 3.3[link] restate those elements of the MAPI architecture that are necessary to follow the tomographic implementation; readers interested in the framework in its own right are referred to the original description.

2. Reconstruction at SYRMEP: algorithms and software landscape

The reconstruction of synchrotron CT data rests on a small set of mature algorithms applied to large arrays of two-dimensional projections. At SYRMEP the standard sequence comprises pre-processing routine by dark and flat-field normalization and potential ring-artefact suppression at the sinogram level, subsequent optional single-distance phase retrieval following the Paganin formulation (Paganin et al., 2002View full citation), sinogram stitching for off-centre acquisitions (microCT over 360°), and reconstruction by filtered back-projection (FBP), GridRec fast Fourier transform (Dowd et al., 1999View full citation) or by iterative methods such as SIRT, SART and CGLS. The ASTRA Toolbox (Van Aarle et al., 2016View full citation) provides the GPU-accelerated forward and back-projection kernels for both parallel and cone-beam geometries. TomoPy (Gürsoy et al., 2014View full citation) and Algotom (Vo et al., 2021View full citation) supply pre-processing routines, alternative reconstruction wrappers, and I/O helpers. Both libraries are used in STP3 Web without modification. We have also added compatibility with datasets recorded at BAMline at the BESSY II synchrotron operated by the Helmholtz Zentrum Berlin (Markötter et al., 2026View full citation).

Several de-striping and ring-removal filters are available, applicable either during pre-processing or after phase retrieval; the methods implemented and their relative performance are described by Brun et al. (2013View full citation). Additionally, remove _ all from Algotom (Vo et al., 2021View full citation) has been added at the request of users as a particularly effective, though computationally expensive, method.

Reconstruction frameworks at other large facilities have followed a similar trajectory. Diamond Light Source developed Savu, a Python and MPI-based plugin framework optimized for HPC clusters (Wadeson & Basham, 2016View full citation). ESRF has long maintained PyHST2 (Mirone et al., 2014View full citation) and, more recently, Nabu, both targeted at high-throughput reconstruction of EBS data. KIT-IPS develops Tofu, a workflow-centric tool based on the UFO data-flow engine (Faragó et al., 2022View full citation). These tools share a common orientation toward batch processing on shared resources, typically invoked from the command line or from a thin scripting layer. Jupyter notebooks are increasingly used as an interactive frontend alongside or in place of dedicated GUI applications. Closed-source vendor packages and ad hoc beamline scripts complete the picture, but at the cost of reproducibility and long-term maintenance.

STP occupied a distinct position in this landscape. It was designed to be reproducible on user-owned hardware, with a self-contained graphical interface and an explicit emphasis on post-experiment parameter exploration. The trade-off was that scaling to large datasets relied on the user's workstation, that intermediate results were written to disk between every processing step, and that running the same workflow concurrently for multiple users required dedicated installations. As data volumes grew and as users began to expect facility-managed services, this trade-off became increasingly costly.

3. STP3 Web architecture

STP3 Web follows the three-tier organization of MAPI: a frontend running in the user's browser, a coordination layer that persists job state and dispatches work, and a backend pool of compute workers that execute the reconstruction pipeline (Fig. 1[link]).

[Figure 1]
Figure 1
Architecture of STP3 Web. Browser clients connect through the Elettra VPN or via VUO-mediated HTTP tunnels to the NiceGUI frontend. Job parameters are persisted in MariaDB; Celery dispatches reconstruction jobs through a Redis broker to the worker pool on the INTEGRA and INTEGRA 2 compute nodes. Raw projections and reconstructed slices are read from and written to dedicated NFS shares; a long-term redundant copy of raw data is kept on a Ceph Rados gateway backed by tape.

3.1. Frontend and user workflow

The frontend is implemented in NiceGUI (Schindler & Trappe, 2025View full citation) with Material UI components and Plotly for inline visualization (Fig. 2[link]). Users authenticate against Elettra's Virtual Unified Office (VUO), the same identity service used for beamline access and proposal management; no separate STP3 credentials are required. Once logged in, users browse the storage server through the same permissions they hold for their proposal data.

[Figure 2]
Figure 2
STP3 Web user interface. (Top) Interactive parameter-tuning frontend showing the interface for parameter searching and refinement through the web browser. The single-slice preview rendered in Plotly is located on the right. (Bottom) The AG-Grid job database view, with the toolbar at the top and one row per reconstruction job. The status column shows the current state of each job (running, queued, done, failed). Rows can be inspected, cloned, edited, or re-queued without leaving the page. An interactive mock-up demo of these views is available at https://scicompapps.elettra.eu/stp3-demo, and a repository of additional annotated screenshots and a video of the production system has been archived by Hafner (2026View full citation).

The interface offers two main views. The first is a database view, built on the NiceGUI AG-Grid component, that lists pending, running and completed jobs and allows parameter inspection, cloning and re-queuing. The second is an interactive view that loads a single sinogram and exposes the full reconstruction pipeline as a sequence of expandable sections covering input, preprocessing, phase retrieval, reconstruction, and batch control. Each parameter change triggers a fast single-slice reconstruction that is rendered in the browser within seconds. When the user is satisfied, the parameters are committed to the database and the full-volume reconstruction is enqueued for asynchronous execution.

A major feature of STP3 Web is the heuristic reconstruction parameters evaluation help routines. They allow for easy and straightforward single-parameter variation in a selected range and step. The parameters for which such evaluation can be performed are: overlap pixel position, centre-of-rotation correction, phase retrieval parameters and angular range or projection number. The results are presented as a series of reconstructed single slices that can be browsed through with a slider. This makes scanning the vast parameter space straightforward and quick.

STP3 Web reads the TDF format used for acquisition at SYRMEP, an HDF5 layout in which the projection, flat-field and dark-field arrays are stored sinogram-first under /exchange and the instrument metadata follow a NeXus-like tree under /entry. Only the three data arrays are mandatory (Table 1[link]); all metadata are read if available and are otherwise supplied by the user in the interface, which is required in practice for the pixel size, propagation distance and beam energy used by the phase-retrieval step. The angular range is not taken from the file: acquisitions at SYRMEP follow a convention of one projection per degree, so that 1800 and 3600 projections correspond to 180° and 360° scans, respectively, and the user selects the range together with the sinogram overlap used for stitching off-centre 360° acquisitions. A second input path supports datasets acquired at BAMline (BESSY II), which are stored projection-first in a NeXus-style tree; these are transposed on load, the flat fields are taken from the leading frames of the series, dark fields are substituted by zeros as the format does not provide them, and the start of the rotation is detected from the motor trajectory.

Table 1
Input dataset metadata requirements showing the required HDF5 fields and those that are optional

Item Location Required
Projections /exchange/data , uint16 (sinograms, projections, width) Yes
Flat images /exchange/data _ white Yes
Dark images /exchange/data _ dark Yes
Detector pixel size /entry/instrument/detector/x _ pixel _ size No—manual if absent
Propagation distance /entry/instrument/detector/distance No—manual if absent
Beam energy /entry/sample/beam/incident _ energy No—manual if absent
Exposure times exposure _ sec in each /exchange dataset No
Angular range Not present; set and/or implied in the interface No (user-set)

TDF is a facility-specific layout rather than a standardized representation. Its metadata tree already follows NeXus naming closely, and the principal differences from NXtomo are the location of the bulk data and the sinogram-first array ordering adopted for a pipeline that processes one sinogram at a time. We have no objection in principle to NXtomo support, and the BAMline path demonstrates that additional layouts can be added without changes elsewhere in the pipeline, but adoption is not currently foreseen; it would be a natural addition to a future STP release should other beamlines take up the software.

3.2. Coordination layer

The coordination layer relies on a MariaDB relational database for job parameters and metadata, and on a Celery task queue with a Redis broker for dispatching work to the compute workers. Job state is the single source of truth: any frontend or backend instance can read and update it independently, and the same job can be inspected through phpMyAdmin or through the AG-Grid view without conflict. This decoupling allows multiple users to operate concurrently on a shared deployment without coordination through the application layer. Sessions can be closed and resumed at any time without affecting running jobs.

3.3. Backend pipeline

The backend is a Python 3 port of STP-Core, distributed as a Celery worker. Two architectural changes were introduced with respect to the original STP-Gui pipeline. First, all intermediate arrays now reside in process memory rather than being written to and read from HDF5 files between steps. The input volume is loaded once at the beginning of a job, and only the final reconstructed slices are written to disk. This eliminates a substantial I/O overhead and is particularly beneficial on shared storage. Second, the GPU pool is managed by a lightweight runtime scheduler that polls free vRAM on each card and routes each new job to the device with the most available memory, while a configurable cap limits the number of concurrent Celery workers. On a single node this is sufficient to keep the GPUs near saturation without contention; on an HPC cluster the same task can be delegated to SLURM by submitting Celery workers as batch jobs.

Reconstruction itself reuses the same algorithmic building blocks as the desktop STP: TomoPy and Algotom (Gürsoy et al., 2014View full citation; Vo et al., 2021View full citation) for pre-processing and I/O wrappers, the ASTRA Toolbox (Van Aarle et al., 2016View full citation) for GPU-accelerated projection operators, and STP-Core for SYRMEP-specific orchestration. The output is stored as a stack of 32-bit TIFF slices on a dedicated network storage (NFS-based), following the same naming convention used by the legacy software so that downstream tools, such as segmentation, visualization, and co-registration with histology, continue to operate unchanged.

4. Deployment and performance

STP3 Web has been in continuous production at Elettra since September 2024, serving internal staff and external collaborators connected via VPN or VUO-mediated HTTP tunnels. The current deployment uses two GPU compute nodes configured as a Beowulf-style Linux cluster (Table 2[link]).

Table 2
Specifications of the two on-premises GPU compute nodes currently serving STP3 Web; both nodes are connected to the storage layer through a 100 Gbit s−1 Ethernet link

Node CPUs RAM Storage GPUs
INTEGRA 2 × 16-core Intel Xeon Gold 6246R 1024 GB 2 TB NVMe 6 × NVIDIA Tesla T4, 16 GB vRAM (∼49 TFLOPS FP32)
INTEGRA 2 2 × 16-core Intel Xeon Gold 6444Y 384 GB 14 TB NVMe 1 × NVIDIA L40S, 48 GB vRAM (∼92 TFLOPS FP32)

Two NFS servers (40 TB each) hold raw HDF5 acquisitions and reconstructed TIFF stacks, respectively, with a long-term copy of all raw data archived on tape through a Ceph Rados gateway backed by a dedicated NVMe pool. Health monitoring is provided by Zabbix, and deployment is automated from an internal GitLab repository, ensuring version control and continuous delivery of updates. The frontend, the database and the message broker run in virtual machines, which are backed up on a daily schedule; the Celery workers run directly on the compute nodes.

4.1. Performance and statistics

We have employed several metrics in assessing the performance of the service. As aforementioned, the system has been in continuous production since September 2024 with an almost 100% uptime (reboots necessary only for kernel and driver upgrades during machine shutdown). During this time, the system has been in active use for 214 days and has served 80 individual investigations with more than 150 unique users. In terms of raw datasets, more than 4800 complete datasets (each containing either 1800 or 3600 projections) have been processed with a total size of 130 TB (16-bit datasets). Taking into account the double amount of reconstructed data due to the TIFFs being 32-bit (130 TB + 2×130 TB = 390 TB), the total I/O through the service on active days has been approximately 1.8 TB per day.

We measured the runtime of full-volume reconstructions on both nodes using a benchmark dataset acquired in standard SYRMEP conditions, comprising 3600 projections of 2048×2045 pixels with single-distance Paganin phase retrieval (Paganin et al., 2002View full citation) and filtered back-projection (Table 3[link]). On INTEGRA, with a single Tesla T4, the 360° dataset of Table 3[link] required 1637 s; on INTEGRA 2, with the L40S, 807 s. For a separate 180° acquisition of 1800 projections acquired under the same conditions, the corresponding runtimes were 719 s and 485 s. The ratio cannot be attributed to a single hardware specification. Only the reconstruction stage is GPU-bound, and it gains a factor of 3.3 between the two cards, closer to the ratio of memory bandwidth than of arithmetic throughput, as expected for filtered back-projection. Data loading, preprocessing and phase retrieval are CPU- and I/O-bound and run at comparable speed on both nodes with thread counts assigned automatically (Table 3[link]); on INTEGRA they account for a fifth of the total runtime and on INTEGRA 2 for a half, and they bound the end-to-end gain achievable from a faster GPU alone. These figures are single-job reconstruction latencies, and are not reduced by concurrency. All these numbers are summarized in Table 4[link]. The number of jobs executed in parallel is a configurable limit in the Celery pool rather than a property of the architecture; it is currently set to seven, one per available GPU across the two nodes, and in practice is bounded by node memory, since each job holds the full volume in memory and the single-distance phase retrieval transiently allocates double-precision complex buffers. Concurrent-job throughput scales close to linearly with the number of workers until storage bandwidth becomes limiting, so that users can concentrate on determining the reconstruction parameters rather than on scheduling the computation.

Table 3
Benchmark dataset description and parameters used in preprocessing, phase retrieval and reconstruction

Angular range 360°, 3600 projections
Projection size 2048 × 2045 pixels (cropped from 2048 × 2048)
Raw data type, size uint16, ∼30 GB
Ring removal method Rivers; width: 3
Phase retrieval Paganin single-distance, δ/β = 50, pixel size = 1.3 µm, distance = 200 mm, E = 21 keV
Reconstruction FBP, Astra FBP_CUDA, Shepp–Logan filter
CPU threads 12 (INTEGRA) / 16 (INTEGRA 2), assigned automatically
Output volume 2048 slices, float32 TIFF, ∼34 GB

Table 4
Individual per-stage runtimes in seconds comparing INTEGRA (Tesla T4) and INTEGRA 2 (L40S) nodes, performed on the same dataset described in Table 3[link]

This shows the dependence of each intermediate step either on GPU, CPU or I/O performance. Each value is from a single run on an otherwise idle node.

Stage INTEGRA (s) INTEGRA 2 (s) Ratio
Data load 57 55 1.03
Preprocessing 109 122 0.89
Phase retrieval 186 240 0.77
Reconstruction and output 1286 389 3.30
Total 1637 807 2.03

4.2. User-facing impact

The most immediate and major change for the user lies in a completely changed user experience, namely the interactive parameter tuning and seamless integration of acquisition data. In STP-Gui each trial required the corrected volume to be written to an intermediate HDF5 file, from which a reduced dataset was extracted before a single slice could be reconstructed and inspected. In STP3 Web the same operation is performed on data already resident in memory, and the resulting slice is rendered in the browser within seconds. We do not attach a figure to this gain, since the time needed to converge on a parameter set depends strongly on the operator's familiarity with the sample and the pipeline; the improvement lies in the removal of the file-handling steps between successive trials rather than in the reconstruction itself.

For batch reconstruction the comparison with the legacy workflow can be made directly. Reconstructing the dataset of Table 3[link] with the legacy STP pipeline on the same node and GPU, with all data on the shared NFS storage used in production, required 10997 s against 1637 s for STP3 Web. The difference is concentrated in the stages that write and re-read the full volume between processing steps: preprocessing is four times slower and phase retrieval, which both reads and writes an intermediate file, 50 times slower, while reconstruction, which streams one sinogram at a time, is unaffected. When the intermediate files are placed on a local NVMe array instead, storage ceases to be the limiting factor and the pipeline becomes CPU-bound, bringing the legacy implementation to the same performance as STP3 Web, which is expected, given that both call the same TomoPy and ASTRA routines. Storage of this kind is not a practical alternative at facility scale, where the working set approaches 100 TB. The gain in production therefore comes from eliminating the intermediate files altogether and from reading the acquired datasets directly from the storage server, rather than from any change to the reconstruction algorithms.

The system routinely sustains 1–3 TB of processed tomographic data per day across all users, and peaks of 4 TB per single user per day have been observed during intensive beamtime campaigns. For large investigations where users can gather several tens of terabytes of raw data, the possibility of remote analysis has been particularly appreciated. Following beamtime, in coordination with the facility staff, remote access to the software platform can be provided to users who need to complete or repeat data reconstructions. With STP3-supported external access, users can access the web-based analysis system remotely while the raw data remain on the server side, avoiding post-acquisition data transfers and simplifying the workflow from acquisition to results.

User feedback collected during the operation has been consistently positive. The most frequently mentioned advantages are the ability to complete reconstruction by the end of the experimental session, the elimination of local installation and version-matching overhead, and the option to inspect and resume jobs from any device with browser access. Beamline staff have benefited from a single point of monitoring and from reproducible job histories (all experimental metadata are stored in the raw hdf files and thus propagated throughout the workflow being automatically read by STP3 Web) that support troubleshooting and method comparison across proposals.

4.3. Interactive demo

To let readers experience the look and feel of STP3 Web beyond the static figures, we provide two complementary resources. A publicly accessible mock-up demo of the interface is available at https://scicompapps.elettra.eu/stp3-demo, reproducing the interactive parameter-tuning and job-database views so that the reader can directly explore the navigation and interaction model of the system. In addition, a public repository hosting an extensive set of annotated screenshots and screen-captured videos of the production system in operation has been archived by Hafner (2026View full citation).

5. Outlook: STP4 and SYRMEP-LS at Elettra 2.0

The Elettra 2.0 upgrade (Karantzoulis, 2018View full citation; Gregoratti et al., 2024View full citation) is replacing the current storage ring with a fourth-generation low-emittance lattice, increasing brilliance by approximately two orders of magnitude. The SYRMEP-LS beamline (Longo et al., 2024View full citation; Karantzoulis & Barletta, 2019View full citation) will exploit a 6 T superconducting bending magnet to deliver a 10–130 keV beam to an 11 m experimental hutch for microCT. The combined effect of higher flux and faster detectors is expected to increase the data rate by at least an order of magnitude, with four-dimensional microCT acquisitions reaching the second scale. Future 4D CT applications will place substantially higher demands on tomography workflows, especially for near-real-time or continuous acquisition scenarios where users may require rapid feedback during the experiment. STP3 Web and the MAPI-based architecture already provide a scalable basis for faster processing, but real-time 4D imaging will require further developments, including on-the-fly visualization, orthogonal-slice views, and support for helical reconstruction. Based on our in-house benchmarks, we expect the main bottleneck to progressively shift from the software stack to the scalability and availability of the underlying computational hardware. Synthetic benchmarks on a dataset four times the size of the current standard (57 GB) give a reconstruction time of 4342 s on a single Tesla T4, against 719 s for the standard 180° acquisition. The factor of 6.0 for a fourfold increase in data reflects the limited memory of this card, which forces additional chunking and host-to-device transfers; on hardware sized to the working set, scaling closer to linear is expected. We currently have a combined GPU computing power of approximately 140 FP32 TFLOPS, with a headroom of about 30%. Scaling this linearly with the anticipated increase in data volume gives a requirement of the order of 600 FP32 TFLOPS, which should be regarded as a lower bound given the memory behaviour observed above.

The MAPI architecture was designed with this scenario in mind, and the framework-level developments that follow from it are described by Hafner et al. (2026View full citation), where the adoption of the same MAPI core by the SashelWeb and MAGNETO applications at other Elettra and FERMI beamlines is also discussed. These are namely the distributed execution across multiple nodes, machine-learning components for denoising and parameter estimation, and integration with the local large language model service. Here we note only the extensions specific to tomographic reconstruction, which are in preparation for the next major release, tentatively named STP4. The most immediate is a distributed ASTRA implementation that splits a single reconstruction across multiple GPU nodes, exploiting the existing Celery dispatch layer without modification to the frontend; this addresses single-job latency, which the present concurrency model does not. Memory management is being revised to operate on chunked sinograms streamed from storage, so that datasets exceeding node memory can be reconstructed. For the 4D acquisitions expected at SYRMEP-LS, on-the-fly visualization, orthogonal-slice views and support for helical geometries are required, none of which the current interactive view provides.

6. Software availability

STP3 Web is developed at Elettra Sincrotrone Trieste and is available from https://gitlab.elettra.eu/sciqc/stp-core3-celery under a GPL v3.0 licence. Access to the repository requires a free login. The version corresponding to this publication is v1.6.1. Basic documentation is provided in the repository's README.

The application runs on Linux and requires Python 3.9 and a CUDA-capable GPU. The principal dependencies of the deployed environment are ASTRA Toolbox 2.2.0 (CUDA 11.8), TomoPy 1.15.2, Algotom 1.6.0, NumPy 1.26.4, SciPy 1.13.1, scikit-image 0.24.0, h5py 3.11.0, joblib 1.4.2, NiceGUI 1.4.6, Plotly 5.23.0, Celery 5.4.0 with a Redis broker, and PyMySQL 1.1.1 for access to the MariaDB job database; a complete environment specification is distributed with the source. Authentication is provided through the pyVUO library, which interfaces with Elettra's Virtual Unified Office; a deployment at another facility would replace this component with the corresponding local identity service.

The authors welcome collaboration with groups interested in deploying STP3 Web or the underlying MAPI framework at their own facilities.

7. Conclusions

STP3 Web replaces the long-standing desktop STP application with a service-oriented platform that exposes the full SYRMEP reconstruction pipeline through a browser. The system is built on MAPI and reuses the algorithmic backbone of STP-Core, TomoPy, and the ASTRA Toolbox, ensuring continuity with a decade of published results from the SYRMEP user community. The two-node on-premises deployment processes 1–3 TB of tomographic data per day, reduces the typical reconstruction round trip, and supports concurrent multi-user operation through tight integration with the facility identity service. The same architecture is positioned to absorb the order-of-magnitude increase in data rates expected at SYRMEP-LS within Elettra 2.0, and the MAPI core is now being reused at other Elettra and FERMI beamlines.

Footnotes

1At the time of submission, SYRMEP is undergoing a major upgrade within the Elettra 2.0 programme and will become SYRMEP-LS. Since the work reported here was performed at SYRMEP prior to this upgrade, the manuscript refers to SYRMEP where relevant to MAPI and to SYRMEP-LS when discussing the future beamline.

Acknowledgements

The authors thank the SYRMEP staff and user community for sustained testing and feedback during the development of STP3 Web, and the Elettra Scientific and Quantum Computing Team (quantum.elettra.eu) and IT Group for support with the on-premises deployment. We also thank an anonymous reviewer for suggesting the terminology related to performance that we adopted for this manuscript. The Elettra AI local LLM (Gemma4-based) was used to assist with drafting and proofreading, while the authors retained full control and accountability.

References

Return to citationBrun, F., Accardo, A., Kourousias, G., Dreossi, D. & Pugliese, R. (2013). Proceedings of the 8th International Symposium on Image and Signal Processing and Analysis (ISPA2013), Trieste, Italy, pp. 672–676. IEEE.  Google Scholar
Return to citationBrun, F., Massimi, L., Fratini, M., Dreossi, D., Billé, F., Accardo, A., Pugliese, R. & Cedola, A. (2017). Adv. Struct. Chem. Imag 3, 4.  CrossRef Google Scholar
Return to citationBrun, F., Pacilè, S., Accardo, A., Kourousias, G., Dreossi, D., Mancini, L., Tromba, G. & Pugliese, R. (2015). Fundamenta Informaticae 141, 233–243.  Web of Science CrossRef Google Scholar
Return to citationDonato, S., Arana Peña, L. M., Bonazza, D., Formoso, V., Longo, R., Tromba, G. & Brombal, L. (2022). J. Instrum. 17, C05021.  CrossRef Google Scholar
Return to citationDowd, B. A., Campbell, G. H., Marr, R. B., Nagarkar, V. V., Tipnis, S. V., Axe, L. & Siddons, D. P. (1999). Proc. SPIE 3772, 224–236.  CrossRef Google Scholar
Return to citationDullin, C., D'Amico, L., Saccomano, G., Longo, E., Wagner, W. L., Reiser, J., Svetlove, A., Albers, J., Contillo, A., Abrami, A., Sturari, L., Tromba, G., Sodini, N. & Dreossi, D. (2023). J. Synchrotron Rad. 30, 650–654.  CrossRef IUCr Journals Google Scholar
Return to citationDullin, C., Di Lillo, F., Svetlove, A., Albers, J., Wagner, W., Markus, A., Sodini, N., Dreossi, D., Alves, F. & Tromba, G. (2021). Phys. Open 6, 100050.  CrossRef Google Scholar
Return to citationFaragó, T., Gasilov, S., Emslie, I., Zuber, M., Helfen, L., Vogelgesang, M. & Baumbach, T. (2022). J. Synchrotron Rad. 29, 916–927.  Web of Science CrossRef IUCr Journals Google Scholar
Return to citationGregoratti, L., Lizzit, S., Karantzoulis, E. & Franciosi, A. (2024). Synchrotron Radiat. News 37(1), 39–44.  CrossRef Google Scholar
Return to citationGürsoy, D., De Carlo, F., Xiao, X. & Jacobsen, C. (2014). J. Synchrotron Rad. 21, 1188–1193.  Web of Science CrossRef IUCr Journals Google Scholar
Return to citationHafner, A. (2026). Dataset of STP3 Web: new Syrmep Tomo Project using the MAPI framework for synchrotron CT reconstruction workflow, https://doi.org/10.34965/enodo.i61120.  Google Scholar
Return to citationHafner, A., Kourousias, G., De Simone, M. & Pugliese, R. (2026). J. Synchrotron Rad. 33, 106–114.  CrossRef IUCr Journals Google Scholar
Return to citationKarantzoulis, E. (2018). Nucl. Instrum. Methods Phys. Res. A 880, 158–165.  Web of Science CrossRef CAS Google Scholar
Return to citationKarantzoulis, E. & Barletta, W. (2019). Nucl. Instrum. Methods Phys. Res. A 927, 70–80.  Web of Science CrossRef CAS Google Scholar
Return to citationLongo, E., Contillo, A., D'Amico, L., Prašek, M., Saccomano, G., Sodini, N., Dullin, C., Dreossi, D. & Tromba, G. (2024). Eur. Phys. J. Plus 139, 880.  Web of Science CrossRef Google Scholar
Return to citationMarkötter, H., Sintschuk, M. & Bruno, G. (2026). J. Synchrotron Rad. 33, 543–550.  CrossRef IUCr Journals Google Scholar
Return to citationMirone, A., Brun, E., Gouillart, E., Tafforeau, P. & Kieffer, J. (2014). Nucl. Instrum. Methods Phys. Res. B 324, 41–48.  Web of Science CrossRef CAS Google Scholar
Return to citationPaganin, D., Mayo, S. C., Gureyev, T. E., Miller, P. R. & Wilkins, S. W. (2002). J. Microsc. 206, 33–40.  Web of Science CrossRef PubMed CAS Google Scholar
Return to citationSchindler, F. & Trappe, R. (2025). NiceGUI: Web-based user interfaces with Python. The nice way, https://zenodo.org/records/17266684.  Google Scholar
Return to citationvan Aarle, W., Palenstijn, W. J., Cant, J., Janssens, E., Bleichrodt, F., Dabravolski, A., De Beenhouwer, J., Joost Batenburg, K. & Sijbers, J. (2016). Opt. Express 24, 25129.  Web of Science CrossRef PubMed Google Scholar
Return to citationVo, N. T., Atwood, R. C., Drakopoulos, M. & Connolley, T. (2021). Opt. Express 29, 17849.  CrossRef PubMed Google Scholar
Return to citationWadeson, N. & Basham, M. (2016). Savu: A Python-based, MPI Framework for Simultaneous Processing of Multiple, N-dimensional, Large Tomography Datasets, https://doi.org/10.48550/arXiv.1610.08015.  Google Scholar

This is an open-access article distributed under the terms of the Creative Commons Attribution (CC-BY) Licence, which permits unrestricted use, distribution, and reproduction in any medium, provided the original authors and source are cited.

Journal logoJOURNAL OF
SYNCHROTRON
RADIATION
ISSN: 1600-5775