pynxtools-spm: A pynxtools reader for SPM data
.
This pynxtools plugin was generated with cookiecutter using the pynxtools-plugin-template template.
Supported file formats
| Technique | Vendor | Instrument software (flavor) | Tested version | Extension |
|---|---|---|---|---|
| STS | Nanonis | Nanonis SPM control software | Generic 5, Generic 5e | .dat |
| STM | Nanonis | Nanonis SPM control software | Generic 5, Generic 5e | .sxm |
| STM | Omicron | SM4 (read with gwyddionpy) | not version specific | .sm4 |
| AFM | Nanonis | Nanonis SPM control software | Generic 4 | .sxm |
| AFM | Bruker | Bruker SPMLab (read with gwyddionpy) |
1.00 |
.flt, written by the instrument as .FLT |
| AFM | Bruker | Bruker NanoScope (read with gwyddionpy) |
9.x (Dimension Icon) |
.spm |
| AFM (force curve) | Bruker | Bruker NanoScope ASCII export |
9.x (Dimension Icon) |
.spm.txt |
See supported vendor files and formats for details, e.g. that one Bruker SPMLab FLT file holds a single channel of a single scan direction and is therefore converted into its own NeXus file, whereas one Bruker NanoScope .spm file holds every channel in both scan directions and yields a single NeXus file with several NXdata groups. The .spm.txt export is a force ramp (force-distance curve) rather than an image.
Installation
It is recommended to use python 3.12 with a dedicated virtual environment for this package. Learn how to manage python versions and virtual environments.
This package is a reader plugin for pynxtools and can be installed together with pynxtools:
uv pip install pynxtools[spm]
for the latest released version.
To use the plugin in NOMAD, install it with the nomad extra:
uv pip install pynxtools-spm[nomad]
Docs
More information about this pynxtools plugin is available in the documentation. You will find information about getting started, how-to guides, the supported file formats, how to get involved, and much more there.
Contact person in FAIRmat for this reader
Rubel Mozumder
Note: This repository is an upgraded and renamed version of pynxtools-stm, which is now archived. In addition to the integration of new readers (e.g., AFM), all functionalities of pynxtools-stm remain available in this repository.
Contributing
Create your branch from develop and open your pull request against develop. Never open a pull request against main: it receives only release/* branches.
See the development guide.
Metadata
Release files for pynxtools-spm 0.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pynxtools_spm-0.5.0.tar.gz | 1.7 MB | With provenance | Details for pynxtools_spm-0.5.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pynxtools_spm-0.5.0-py3-none-any.whl | Python 3 | none | any | Details for pynxtools_spm-0.5.0-py3-none-any.whl |
Total release size: 3.4 MB
Release files / pynxtools_spm-0.5.0.tar.gz
| Download URL | pynxtools_spm-0.5.0.tar.gz |
|---|---|
| Size | 1.7 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4a784b5dc526f2afe4ee93c8df8bc86ca39ce8221cd372ecf73f3f041177890b
|
|
BLAKE2b-256 checksum How to use checksums |
f54a5cbf9cc87c6a5e7ba910576bd2a1640bf46cf6798d9bba23c6945ae27b84
|
| 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 11, 2026.
Transparency logRelease files / pynxtools_spm-0.5.0-py3-none-any.whl
| Download URL | pynxtools_spm-0.5.0-py3-none-any.whl |
|---|---|
| Size | 1.7 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3af35ae3f2f47aadad548be89583cf333402dadfd7e6d10030cf81c3c2577f3f
|
|
BLAKE2b-256 checksum How to use checksums |
bf7e1a88a8647669ff7304302ea8ccb31ed3027794e5ec094ae9307658740d95
|
| 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 11, 2026.
Transparency logSecurity for pynxtools-spm 0.5.0
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.
Attestation for pynxtools_spm-0.5.0.tar.gz
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 11, 2026.
Transparency logA 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.