Skip to main content

Napari plugin using AFMReader to load various Atomic Force Microscopy Images.

Project description

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.
.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. Type in 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.*.

    *Possible channel names will not appear at first due to the order in which AFMReader processes an image. Thus, when provided with an non-existent channel name, the dialogue box will then return a list of possible channels to choose from.

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

napari_afmreader-0.0.2.tar.gz (46.1 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

napari_afmreader-0.0.2-py3-none-any.whl (46.6 MB view details)

Uploaded Python 3

File details

Details for the file napari_afmreader-0.0.2.tar.gz.

File metadata

  • Download URL: napari_afmreader-0.0.2.tar.gz
  • Upload date:
  • Size: 46.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for napari_afmreader-0.0.2.tar.gz
Algorithm Hash digest
SHA256 294109f55c11b597695c91235d09c37be641f834cba8f4e4c6853b6c1079e691
MD5 42e4da416284f8bbcdfeed18b0e20986
BLAKE2b-256 50d1ec85aa7cc7da30d72aa2d3bfa78c425cb20466df5a0d42d3571002da40fe

See more details on using hashes here.

Provenance

The following attestation bundles were made for napari_afmreader-0.0.2.tar.gz:

Publisher: pypi.yaml on AFM-SPM/napari-AFMReader

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file napari_afmreader-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for napari_afmreader-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 da39972723e7accc8827f9743290e3e2335b12cf3312adba209db201dca56c38
MD5 656b4038b451acb2fbebf03c55a72409
BLAKE2b-256 1f7d57a11737d025c42dcb90c956cbaeb96343bd7edb0eea12a89b6277f3c5d5

See more details on using hashes here.

Provenance

The following attestation bundles were made for napari_afmreader-0.0.2-py3-none-any.whl:

Publisher: pypi.yaml on AFM-SPM/napari-AFMReader

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page