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 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 1.3.4
File Actions
mxi-1.3.4-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for mxi-1.3.4-py3-none-win_amd64.whl
mxi-1.3.4-py3-none-manylinux_2_28_x86_64.whl Python 3 none Linux glibc 2.28+ x86-64 Details for mxi-1.3.4-py3-none-manylinux_2_28_x86_64.whl
mxi-1.3.4-py3-none-manylinux_2_28_aarch64.whl Python 3 none Linux glibc 2.28+ ARM64 Details for mxi-1.3.4-py3-none-manylinux_2_28_aarch64.whl
mxi-1.3.4-py3-none-macosx_13_0_arm64.whl Python 3 none macOS 13.0+ ARM64 Details for mxi-1.3.4-py3-none-macosx_13_0_arm64.whl

Total release size: 18.6 MB

Release files / mxi-1.3.4-py3-none-win_amd64.whl

Download URL mxi-1.3.4-py3-none-win_amd64.whl
Size 3.7 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
eb664bfffd6e9763db37886e0e8148c38cfee2a2febf5846950f708c4d9e2186
BLAKE2b-256 checksum
How to use checksums
add45fc864558784da9481fc7acc968359454183ecec9e5cd2e06f421d926058
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-1.3.4-py3-none-manylinux_2_28_x86_64.whl

Download URL mxi-1.3.4-py3-none-manylinux_2_28_x86_64.whl
Size 5.6 MB
Tags Linux glibc 2.28+ x86-64 Python 3
SHA-256 checksum
How to use checksums
34e52287762a449bb666ac72a5194d7fee6d8b8f498f755b5cc909a118505a9c
BLAKE2b-256 checksum
How to use checksums
8ee07b7f77a9f3ff116f0e9ff561bc3ea1946b8c30944a20a5b3041bc6d8077e
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-1.3.4-py3-none-manylinux_2_28_aarch64.whl

Download URL mxi-1.3.4-py3-none-manylinux_2_28_aarch64.whl
Size 5.4 MB
Tags Linux glibc 2.28+ ARM64 Python 3
SHA-256 checksum
How to use checksums
633fdbe57d56bd589a0267ffe3c659f1278dcb4982eaaf3f07f8fc2f13caddbf
BLAKE2b-256 checksum
How to use checksums
fae25437c2f4d1ec5c3647746bf302e28e0be7cfebc69b09879348edd5e07df9
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-1.3.4-py3-none-macosx_13_0_arm64.whl

Download URL mxi-1.3.4-py3-none-macosx_13_0_arm64.whl
Size 3.9 MB
Tags Python 3 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
0756448e8ae5638077e337e7fc6f89931f78e230244f17c9b67797e9bf75f956
BLAKE2b-256 checksum
How to use checksums
12b58a37694a392bbaa37f2f3aec5b1b3cfc04fec2bffa59fe5186c896501643
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 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

All 4 files in this release have been uploaded with provenance metadata.

Select from 4 files

Attestation for mxi-1.3.4-py3-none-win_amd64.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