Probe-Particle Model
Simple and efficient simulation software for high-resolution atomic force microscopy (HR-AFM) and other scanning probe microscopy (SPM) techniques with sub-molecular resolution (STM, IETS, TERS).
It simulates the deflection of the probe particle attached to the tip, where the probe particle represents a flexible tip apex (typically CO molecule, but also e.g. Xe, Cl-, H2O and others).
The Python package is named as ppafm.
Documentation
- Wiki
- readthedocs
- Auto-generated:
Simplified online version
The on-line graphic-user interface can be found here, extra explanation on this wiki page.
Installation
The standard way of installing ppafm is:
pip install ppafm
This should install the package and all its dependencies including CPU version and fully working CLI:
The most up-to-date installation guide can be found on the dedicated wiki page.
Command line interface (CLI)
Once ppafm is installed, a collection of command-line tools will become available to the user.
Their names start with the ppafm- prefix.
To get more information about a given tool, run it with the -h option, e.g.:
ppafm-generate-ljff -h
For more information, please consult the dedicated page on the command line interface of ppafm.
GPU version and Graphical User Interface (GUI)
The package comes with a GPU speedup version and convenient graphical user interface. Unlike CLI, these needs to be explicitly enabled during the installation. To enable it, check the dedicated section on the Install ppafm wiki page. To know more about the GUI interface, please consult the ppafm GUI wiki page. Additional information about the GPU version can be found on readthedocs tutorial, at models and models differences wiki pages.
Usage examples
We provide a set of examples in the examples directory.
To run them, navigate to the directory and run the run.sh script.
For example:
cd examples/PTCDA_single
./run.sh
You can study the script to see how to run the simulation.
Also, have a look at the params.ini file and the wiki to see how to set up the simulation parameters.
Once the simulation is finished, several files and folders will be created.
See also the tutorial for using the Python API for running GPU-accelerated simulations.
For contributors
If you miss some functionality or have discovered issues with the latest release - let us know by creating an issue. If you would like to contribute to the development of the ppafm code, please read the Developer's Guide wiki page. Small improvements in the documentation or minor bug fixes are always welcome.
Publications describing the Probe-Particle Model
If you have used ppafm in your research, please cite the following articles:
- Niko Oinonen, Aliaksandr V. Yakutovich, Aurelio Gallardo, Martin Ondracek, Prokop Hapala, Ondrej Krejci, Advancing Scanning Probe Microscopy Simulations: A Decade of Development in Probe-Particle Models, Comput. Phys. Commun. 305, 109341 - Available online 10 August 2024
- Prokop Hapala, Georgy Kichin, Christian Wagner, F. Stefan Tautz, Ruslan Temirov, and Pavel Jelínek, Mechanism of high-resolution STM/AFM imaging with functionalized tips, Phys. Rev. B 90, 085421 – Published 19 August 2014
- Prokop Hapala, Ruslan Temirov, F. Stefan Tautz, and Pavel Jelínek, Origin of High-Resolution IETS-STM Images of Organic Molecules with Functionalized Tips, Phys. Rev. Lett. 113, 226101 – Published 25 November 2014
License
MIT
Metadata
Release files for ppafm 0.4.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ppafm-0.4.1.tar.gz | 528.8 kB | Details |
Built distributions (wheels)
Total release size: 11.8 MB
Release files / ppafm-0.4.1.tar.gz
| Download URL | ppafm-0.4.1.tar.gz |
|---|---|
| Size | 528.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9e19be4768c63122fccab12872dfaf64bc5086b6534d5343aaf9db09e79ca12e
|
|
BLAKE2b-256 checksum How to use checksums |
dab54e73faf71918fa7c70db1c1e2f0bd17bd490300d494c85cde58120312e5e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / ppafm-0.4.1-cp312-cp312-win_amd64.whl
| Download URL | ppafm-0.4.1-cp312-cp312-win_amd64.whl |
|---|---|
| Size | 988.5 kB |
| Tags | CPython 3.12 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
451ee61ac53d92dc8ac64ce4a2c707cb97b18225ab6d6449eb4806f103c35dba
|
|
BLAKE2b-256 checksum How to use checksums |
aa9c3ea37ea74cd2e9ee43e922042c67b0ae14814ed5ce9ce561706229ceb4c7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / ppafm-0.4.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | ppafm-0.4.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 688.8 kB |
| Tags | CPython 3.12 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
17f1fab84efaff80f8d1456f4ca09fe39c6d6a3abba2765b114ad539799e01ea
|
|
BLAKE2b-256 checksum How to use checksums |
1b5fe28141ad2337027ded0cc2467ed52ddc269611362848c1a7e321d83c96bb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / ppafm-0.4.1-cp312-cp312-macosx_11_0_arm64.whl
| Download URL | ppafm-0.4.1-cp312-cp312-macosx_11_0_arm64.whl |
|---|---|
| Size | 568.1 kB |
| Tags | CPython 3.12 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
d0883d15914981e3127b8fbd4a7777c14446feff2d8bcd7d326c38afc39721a8
|
|
BLAKE2b-256 checksum How to use checksums |
8eda81dea4c6daeb2e36c2eed1299a2977a1f9464a83de8b4a819cc027623b79
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / ppafm-0.4.1-cp311-cp311-win_amd64.whl
| Download URL | ppafm-0.4.1-cp311-cp311-win_amd64.whl |
|---|---|
| Size | 988.5 kB |
| Tags | CPython 3.11 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
99e84562e27d45aec6d83c1f31639516f9ca4edbe2fd2c178e28e06433c62f2d
|
|
BLAKE2b-256 checksum How to use checksums |
7bfd3bebdba9986b8271c201544ce547ad7c1cd1c26d625254f8f9c3f0ed1324
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / ppafm-0.4.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | ppafm-0.4.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 688.8 kB |
| Tags | CPython 3.11 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
ae91e5e5ee85331f5547789abf445a78373d35c693351e167357204717a1badb
|
|
BLAKE2b-256 checksum How to use checksums |
dd1e5270274db9c18070e086be39d3e1240cf79334531fffa8d4d1fd3f9d3603
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / ppafm-0.4.1-cp311-cp311-macosx_11_0_arm64.whl
| Download URL | ppafm-0.4.1-cp311-cp311-macosx_11_0_arm64.whl |
|---|---|
| Size | 568.1 kB |
| Tags | CPython 3.11 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
02858330f7c3346f89e757c611ef1bd66231b09ffdff53d1a231deb5a559e7ff
|
|
BLAKE2b-256 checksum How to use checksums |
e0b2f69c7183b8c5074dc2072995b0a54447672f15133562fd01d6b7dcd887ac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / ppafm-0.4.1-cp310-cp310-win_amd64.whl
| Download URL | ppafm-0.4.1-cp310-cp310-win_amd64.whl |
|---|---|
| Size | 988.5 kB |
| Tags | CPython 3.10 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
550208c437d0435b3fd875a05b2cad295e38c2b6a8ec176f86c878e70b0d9e65
|
|
BLAKE2b-256 checksum How to use checksums |
3de1a035975242cd98727aa13a63cff3ecdd7a7979382790217ae63512f5655f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / ppafm-0.4.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | ppafm-0.4.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 688.8 kB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
dd79dd86ff8c7c4329b1180435032cd085ddd1dac95ddd2e9008f964d0535c59
|
|
BLAKE2b-256 checksum How to use checksums |
69c5eee23b3738e2aca0f07d7708d7885eb947a7d39f1bea8e6971865607c73b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / ppafm-0.4.1-cp310-cp310-macosx_11_0_arm64.whl
| Download URL | ppafm-0.4.1-cp310-cp310-macosx_11_0_arm64.whl |
|---|---|
| Size | 568.1 kB |
| Tags | CPython 3.10 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
a103b4e8964ca3a4d4f9f00cb005dff9878b873762fcb5ec7841688ce55e348c
|
|
BLAKE2b-256 checksum How to use checksums |
ec25414dea8a6107625d2b87cdcbe3b9cba97fc77e0c52bd247f8782cf150285
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / ppafm-0.4.1-cp39-cp39-win_amd64.whl
| Download URL | ppafm-0.4.1-cp39-cp39-win_amd64.whl |
|---|---|
| Size | 988.5 kB |
| Tags | CPython 3.9 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
7f73e11fea745bcd3d8eedd62784b3e7ac6913200f4d5599008fa1fa1cc7fdb3
|
|
BLAKE2b-256 checksum How to use checksums |
5055e644e50e80418588fb6ee45d6d5a5f55d07582f7de77378b082f4a9cc85e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / ppafm-0.4.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | ppafm-0.4.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 688.8 kB |
| Tags | CPython 3.9 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
0aab1fb97aeaac0c5060729749028ed6944c8c8836c5dd946ffa430f1be506ca
|
|
BLAKE2b-256 checksum How to use checksums |
9d6c816950ecf79c125ea8fc671bc5beb4bd37473692d2cb1a210b2ce8767e7c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / ppafm-0.4.1-cp39-cp39-macosx_11_0_arm64.whl
| Download URL | ppafm-0.4.1-cp39-cp39-macosx_11_0_arm64.whl |
|---|---|
| Size | 568.1 kB |
| Tags | CPython 3.9 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
d007752f6f1faa78a0a73e3ad7c0d7ca7c166316452908fcc18ec19e029aab9e
|
|
BLAKE2b-256 checksum How to use checksums |
ea4a9b60b4714d3f0bae2b771ef547781bd9a0e11096197668f58ba1342e89ed
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / ppafm-0.4.1-cp38-cp38-win_amd64.whl
| Download URL | ppafm-0.4.1-cp38-cp38-win_amd64.whl |
|---|---|
| Size | 988.5 kB |
| Tags | CPython 3.8 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
9a485521c81a6091f385df9bcc1924f1a7f170ee881612ac9ef5a3de2e2214fb
|
|
BLAKE2b-256 checksum How to use checksums |
b84f4c17beabfe79048551e6a399f84cfa796e86994c41b308f5c9c68a1a3a28
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / ppafm-0.4.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | ppafm-0.4.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 688.8 kB |
| Tags | CPython 3.8 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
1f14989d5916c3f359f4a0cbf4d2c187d6d0f686d7413af0f7f621208eb3d993
|
|
BLAKE2b-256 checksum How to use checksums |
a54c4d3b5527b5dd93de0093959371cb6f200ebf1d2a51c1920c7eb23d72486b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / ppafm-0.4.1-cp38-cp38-macosx_11_0_arm64.whl
| Download URL | ppafm-0.4.1-cp38-cp38-macosx_11_0_arm64.whl |
|---|---|
| Size | 568.1 kB |
| Tags | CPython 3.8 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
0b4c15eafa11519f80fb79471af9e9f58714fefd44481ab86182eaaa53dd805c
|
|
BLAKE2b-256 checksum How to use checksums |
25a6776b89fbe82452db4bedc0d30136bf765182cee18e76648405646d6fd7bd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|