Skip to main content

mxi

░▒▓ █▀▄▀█ ▀▄▀ █
░▒▓ █ ▀ █ ▄▀▄ █

mxi is a data processing package for NXmx format macromolecular crystallography (MX) data: from the diffraction images to scaled intensities ready for structure solution -- spot finding, indexing, refinement, integration, symmetry, scaling, merging, the clustering of data from many crystals, and what the scaled data say of twinning. Small molecules too.

Almost instant data processing. mxi aims to process data as DIALS does, with results of similar quality, an order of magnitude more quickly -- fast enough to keep pace with modern detectors, and to give results while the crystal is still mounted. Spot finding and integration can run on a GPU, through CUDA or Apple's Metal.

A new, standalone package. mxi is written from scratch in C++. It contains no DIALS code and does not need DIALS installed, but it follows DIALS' methods, reads and writes DIALS' files, and any step can be exchanged for DIALS' own.

NXmx data. NXmx is the community standard format for X-ray diffraction images, written directly by modern detectors such as DECTRIS's EIGER; older formats can be converted, CBF for example by cbf2nxmx.

Installing

pip install mxi          # on the CPU; Metal on Apple silicon
pip install mxi-cuda     # Linux with an NVIDIA GPU

Install one or the other in an environment, not both: each brings the same mxi command. Wheels are built for Linux on x86_64 and aarch64 (glibc 2.28 or later: RHEL 8 and 9 and their clones, Ubuntu 20.04 on, Debian 11 on), macOS on Apple silicon (13 or later) and Windows on x86_64 -- not macOS on Intel. Python 3.10 or later. mxi-cuda needs the NVIDIA driver for CUDA 12; which GPUs each build supports is in the README.

Using it

mxi-ui                                    # the interface, in a directory of data
mxi process master.nxs -j 8 --d-min-auto  # every step in turn, for routine data

Or step by step:

mxi import    master.nxs        # the experiment list            -> imported.rflx
mxi find      imported.rflx     # strong spots on every image    -> strong.rflx
mxi index     strong.rflx       # the lattice, by 3D FFT         -> indexed.rflx
mxi refine    indexed.rflx      # beam, detector, crystal        -> refined.rflx
mxi integrate refined.rflx      # summation and profile fitting  -> integrated.rflx
mxi symmetry  integrated.rflx   # the Laue and space group       -> symmetrized.rflx
mxi scale     symmetrized.rflx  # scaled, with merging statistics -> scaled.rflx
mxi export    scaled.rflx       # an unmerged MTZ                -> scaled.mtz
mxi merge     scaled.rflx       # a merged MTZ, with amplitudes  -> merged.mtz

--gpu puts spot finding and integration on the GPU. Every command says what it takes with --help; all of them are in the command reference.

What the package holds

  • mxi, the programs, compiled for each platform: the steps above and the tools around them -- mxi show, mxi report, mxi convert to and from DIALS' files, mxi combine and mxi split, mxi correlation for data from many crystals, mxi triage, and more.
  • mxi-ui, the interface: each step as a form, building and running the real command, with its log, summary and plots, and each step's images in a viewer.
  • mxi-view, the image viewer and mask editor.
  • mxeq, the referee: comparisons between runs of a pipeline, reflection by reflection, mxi's or DIALS'.

Licence

mxi's source is under the BSD 3-Clause licence. The programs in these wheels are built with FFTW, which is under the GPL (version 2 or later), so the programs as distributed here are subject to the GPL's terms as a whole; the wheels carry every notice for what they contain, gemmi's (MPL-2.0), HDF5's, bitshuffle's, LZ4's, zlib's and mimalloc's among them, and in mxi-cuda NVIDIA's terms for the CUDA runtime.

More

Metadata

Release files for mxi-cuda 1.3.4

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

Built distributions (wheels)

Table of built distributions (wheels) for mxi-cuda 1.3.4
File Interpreter ABI Platform Actions
mxi_cuda-1.3.4-py3-none-manylinux_2_28_x86_64.whl Python 3 none Linux glibc 2.28+ x86-64 Details for mxi_cuda-1.3.4-py3-none-manylinux_2_28_x86_64.whl
mxi_cuda-1.3.4-py3-none-manylinux_2_28_aarch64.whl Python 3 none Linux glibc 2.28+ ARM64 Details for mxi_cuda-1.3.4-py3-none-manylinux_2_28_aarch64.whl

Total release size: 12.7 MB

Release files / mxi_cuda-1.3.4-py3-none-manylinux_2_28_x86_64.whl

Download URL mxi_cuda-1.3.4-py3-none-manylinux_2_28_x86_64.whl
Size 6.8 MB
Tags Linux glibc 2.28+ x86-64 Python 3
SHA-256 checksum
How to use checksums
4de6df31041e9fd04905d5730169650a82d84a26dbf486906b36cec95ffb0216
BLAKE2b-256 checksum
How to use checksums
766ff15a3c93e7c8d3b023813da5e546f07e0982c58a6b450d38886a810a5fd4
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 Nov 26, 2026.

Transparency log

Release files / mxi_cuda-1.3.4-py3-none-manylinux_2_28_aarch64.whl

Download URL mxi_cuda-1.3.4-py3-none-manylinux_2_28_aarch64.whl
Size 6.0 MB
Tags Linux glibc 2.28+ ARM64 Python 3
SHA-256 checksum
How to use checksums
8adf16bb7a326938294a5adea8e8850d5ab882464a98183c2bf8f94fc600c3d0
BLAKE2b-256 checksum
How to use checksums
f69d579e6fd3ed5c04650146edf5d14a72dff0fbddce8f460c5fb993d308dec8
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 Nov 26, 2026.

Transparency log

Security for mxi-cuda 1.3.4

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 mxi_cuda-1.3.4-py3-none-manylinux_2_28_x86_64.whl

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 Nov 26, 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