A Python package for visualizing and analyzing Atomic Force Microscopy(AFM) and Piezoelectric Force Microscopy(PFM) experimental data, offering tools to process, visualize, and extract meaningful insights from AFM images and measurements.
Project description
AFM-tools is a Python package for loading, processing, and visualizing Atomic Force Microscopy (AFM) and Piezoelectric Force Microscopy (PFM) data.
Project Links
Installation
Install from PyPI:
pip install AFM-tools
Install from source:
git clone https://github.com/yig319/AFM-tools.git
cd AFM-tools
pip install -e .
Quick Start
import numpy as np
from afm_learn.afm_viz import AFMVisualizer
# Example image array (replace with real AFM/PFM image data)
img = np.random.randn(256, 256)
viz = AFMVisualizer()
viz.viz(img=img, scan_size={"image_size": 256, "scale_size": 1, "units": "um"})
Features
Read and parse AFM-related wave/image formats.
2D/3D visualization utilities for AFM/PFM datasets.
Domain and morphology analysis helpers.
Video and plotting utilities for time/scan series.
Documentation
Sphinx documentation is provided in the docs directory.
Build docs locally:
pip install -r docs/requirements.txt
pip install -e .
sphinx-build -b html docs docs/_build/html
License
This project is licensed under the MIT License. See LICENSE.txt.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file afm_tools-1.0.tar.gz.
File metadata
- Download URL: afm_tools-1.0.tar.gz
- Upload date:
- Size: 506.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
41923b5390de66ffc7f20ef901fe4bca791006ef094a17c218a5b814aac2eda3
|
|
| MD5 |
c3dcbdbf69e57cb9fb665b55a758f94d
|
|
| BLAKE2b-256 |
4a319705a6d5f0872f1d91ea58b922e56b90df8248e5dd6ffcb701c6c4fcb306
|
Provenance
The following attestation bundles were made for afm_tools-1.0.tar.gz:
Publisher:
main.yml on yig319/AFM-tools
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
afm_tools-1.0.tar.gz -
Subject digest:
41923b5390de66ffc7f20ef901fe4bca791006ef094a17c218a5b814aac2eda3 - Sigstore transparency entry: 1044755216
- Sigstore integration time:
-
Permalink:
yig319/AFM-tools@93c98e0048e5314020e89916cd11c8cf2b91184c -
Branch / Tag:
refs/heads/main - Owner: https://github.com/yig319
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
main.yml@93c98e0048e5314020e89916cd11c8cf2b91184c -
Trigger Event:
push
-
Statement type:
File details
Details for the file afm_tools-1.0-py3-none-any.whl.
File metadata
- Download URL: afm_tools-1.0-py3-none-any.whl
- Upload date:
- Size: 49.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
93afa3eb3e4e90a8416d5148d8672fe7ec3d63b3199926961ec9d6d1f1108112
|
|
| MD5 |
d78d2d6782c13325a35e5aaeafdd58ca
|
|
| BLAKE2b-256 |
eb15a163274e1b8e0c8509394abf1b650e1fe3462050cab39550c85c9688c6a2
|
Provenance
The following attestation bundles were made for afm_tools-1.0-py3-none-any.whl:
Publisher:
main.yml on yig319/AFM-tools
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
afm_tools-1.0-py3-none-any.whl -
Subject digest:
93afa3eb3e4e90a8416d5148d8672fe7ec3d63b3199926961ec9d6d1f1108112 - Sigstore transparency entry: 1044755262
- Sigstore integration time:
-
Permalink:
yig319/AFM-tools@93c98e0048e5314020e89916cd11c8cf2b91184c -
Branch / Tag:
refs/heads/main - Owner: https://github.com/yig319
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
main.yml@93c98e0048e5314020e89916cd11c8cf2b91184c -
Trigger Event:
push
-
Statement type: