Skip to main content

napari-AFMReader

PyPI version PyPI - Python Version Code style: Ruff Code style: black Code style: flake8 codecov pre-commit.ci status ORDA fair-software.eu

Downloads Downloads Downloads

A Napari plugin to read in Atomic Force Microscopy (AFM) files using AFMReader.

You can drag and drop your favourite AFM image files directly into the Napari viewer to use the awesome tools the image analysis community have developed over at the Napari Hub to analyse your images using open-source software and a GUI!

File Extension Supported by AFMReader Description
.asd ✅ High-speed AFM format.
.gwy ✅ Gwyddion saved format.
.ibw ✅ Igor binary-wave format.
.jpk ✅ JPK instruments format.
.jpk-qi-image ✅ JPK instruments format.
.spm ✅ Bruker spm format.
.stp ✅ Homemade stp format.
.top ✅ Homemade top format.
.topostats ✅ topostats output format.

Installation

Via Napari-Hub

This software should be installable directly from Napari!

All you need to do is:

  1. Install Napari into an environment.

  2. Open Napari by typing napari into your command line with your Napari environment activated.

    napari
    
  3. Go to Plugins > Install/Uninstall Plugins, and search for napari-afmreader.

Via Git

Occasionally the Napari-Hub version of napari-AFMReader may not be the most up-to-date. This is when you might want to install both the most up-to-date AFMReader and napari-AFMReader versions via Git.

napari-AFMReader has been designed to need minimal maintenance, with most of the new file type additions being solely added to AFMReader.

  1. With Git installed on your machine, clone both the AFMReader and napari-AFMReader repositories:

    git clone https://github.com/AFM-SPM/AFMReader.git
    
    git clone https://github.com/AFM-SPM/napari-AFMReader.git
    
  2. Activate your Python environment (e.g. Conda) and install the dependencies for each - make sure that the AFMReader dependency is installed second to overwrite the possibly outdated afmreader package!

    cd napari-AFMReader
    pip install .
    cd ..
    
    cd AFMReader
    pip install .
    
  3. Now when you open Napari via the napari command, it should use the latest version of AFMReader, and napari-AFMReader.

    napari
    

Usage

This package should be fairly straight-forward and intuitive to use, requiring you to:

  1. Drag and drop your supported AFM file into the Napari Viewer.

  2. For certain file formats (currently .jpk-qi-data and .bin), a dialog window will open allowing you to choose special loading parameters for that file.

  3. Select the name of the channel you would like to use. You may not need to specify a channel for e.g. .stp, or the channel may refer to image key in the .napari-afmreader file.

  4. Once loaded the channel for the image can be changed to one of the other options using the widget in the dock on the right.

Licence

This software is licensed as specified by the GPL License and LGPL License.

Citation

Please use the Citation File Format which is available in this repository.

Metadata

Release files for napari-afmreader 0.0.3

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

Source distribution (sdist)

Source distribution for napari-afmreader 0.0.3
File Size Uploaded Provenance Actions
napari_afmreader-0.0.3.tar.gz 46.2 MB With provenance Details for napari_afmreader-0.0.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for napari-afmreader 0.0.3
File Interpreter ABI Platform Actions
napari_afmreader-0.0.3-py3-none-any.whl Python 3 none any Details for napari_afmreader-0.0.3-py3-none-any.whl

Total release size: 92.8 MB

Release files / napari_afmreader-0.0.3.tar.gz

Download URL napari_afmreader-0.0.3.tar.gz
Size 46.2 MB
Tags Source
SHA-256 checksum
How to use checksums
0c5f1917fb8108f90399060ecf24b82d6887916147c4a63bdd343c869548560d
BLAKE2b-256 checksum
How to use checksums
9eab71fff49c44ff6cd464b8353c73ad4fce4effbe202fd61465e8810397c01d
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 24, 2026.

Transparency log

Release files / napari_afmreader-0.0.3-py3-none-any.whl

Download URL napari_afmreader-0.0.3-py3-none-any.whl
Size 46.6 MB
Tags Python 3
SHA-256 checksum
How to use checksums
4b6a087335ff38310473eb30aad87a0fdabf7e7727cdb8571b78b09223a66611
BLAKE2b-256 checksum
How to use checksums
9f49e2597d3ee6b0544a1dd909598deafe5f8b7b8038aa908315fc34b7cf6c9a
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 24, 2026.

Transparency log

Security for napari-afmreader 0.0.3

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 napari_afmreader-0.0.3.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 24, 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