Skip to main content

codecov Build Status PyPI version Documentation Status PyPI-downloads

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

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:

License

MIT

Download files

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

Source Distribution

ppafm-0.4.1.tar.gz (528.8 kB view details)

Uploaded Source

Built Distributions

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

ppafm-0.4.1-cp312-cp312-win_amd64.whl (988.5 kB view details)

Uploaded CPython 3.12Windows x86-64

ppafm-0.4.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (688.8 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

ppafm-0.4.1-cp312-cp312-macosx_11_0_arm64.whl (568.1 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

ppafm-0.4.1-cp311-cp311-win_amd64.whl (988.5 kB view details)

Uploaded CPython 3.11Windows x86-64

ppafm-0.4.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (688.8 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

ppafm-0.4.1-cp311-cp311-macosx_11_0_arm64.whl (568.1 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

ppafm-0.4.1-cp310-cp310-win_amd64.whl (988.5 kB view details)

Uploaded CPython 3.10Windows x86-64

ppafm-0.4.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (688.8 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

ppafm-0.4.1-cp310-cp310-macosx_11_0_arm64.whl (568.1 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

ppafm-0.4.1-cp39-cp39-win_amd64.whl (988.5 kB view details)

Uploaded CPython 3.9Windows x86-64

ppafm-0.4.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (688.8 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

ppafm-0.4.1-cp39-cp39-macosx_11_0_arm64.whl (568.1 kB view details)

Uploaded CPython 3.9macOS 11.0+ ARM64

ppafm-0.4.1-cp38-cp38-win_amd64.whl (988.5 kB view details)

Uploaded CPython 3.8Windows x86-64

ppafm-0.4.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (688.8 kB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ x86-64

ppafm-0.4.1-cp38-cp38-macosx_11_0_arm64.whl (568.1 kB view details)

Uploaded CPython 3.8macOS 11.0+ ARM64

File details

Details for the file ppafm-0.4.1.tar.gz.

File metadata

  • Download URL: ppafm-0.4.1.tar.gz
  • Upload date:
  • Size: 528.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for ppafm-0.4.1.tar.gz
Algorithm Hash digest
SHA256 9e19be4768c63122fccab12872dfaf64bc5086b6534d5343aaf9db09e79ca12e
MD5 3f71e6e26b7eab38c1ee5ba6cea3ee6b
BLAKE2b-256 dab54e73faf71918fa7c70db1c1e2f0bd17bd490300d494c85cde58120312e5e

See more details on using hashes here.

File details

Details for the file ppafm-0.4.1-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: ppafm-0.4.1-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 988.5 kB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for ppafm-0.4.1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 451ee61ac53d92dc8ac64ce4a2c707cb97b18225ab6d6449eb4806f103c35dba
MD5 836841d453598d05b72a1a46f9f27b9b
BLAKE2b-256 aa9c3ea37ea74cd2e9ee43e922042c67b0ae14814ed5ce9ce561706229ceb4c7

See more details on using hashes here.

File details

Details for the file ppafm-0.4.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for ppafm-0.4.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 17f1fab84efaff80f8d1456f4ca09fe39c6d6a3abba2765b114ad539799e01ea
MD5 085e43c9e821ae2262f2700df08cff82
BLAKE2b-256 1b5fe28141ad2337027ded0cc2467ed52ddc269611362848c1a7e321d83c96bb

See more details on using hashes here.

File details

Details for the file ppafm-0.4.1-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for ppafm-0.4.1-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d0883d15914981e3127b8fbd4a7777c14446feff2d8bcd7d326c38afc39721a8
MD5 c46022692c47e1b39d2f441a08eab391
BLAKE2b-256 8eda81dea4c6daeb2e36c2eed1299a2977a1f9464a83de8b4a819cc027623b79

See more details on using hashes here.

File details

Details for the file ppafm-0.4.1-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: ppafm-0.4.1-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 988.5 kB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for ppafm-0.4.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 99e84562e27d45aec6d83c1f31639516f9ca4edbe2fd2c178e28e06433c62f2d
MD5 22b55ae2018592ee4fb29e91a50d2241
BLAKE2b-256 7bfd3bebdba9986b8271c201544ce547ad7c1cd1c26d625254f8f9c3f0ed1324

See more details on using hashes here.

File details

Details for the file ppafm-0.4.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for ppafm-0.4.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ae91e5e5ee85331f5547789abf445a78373d35c693351e167357204717a1badb
MD5 cf5948b9bb04e6fe7928007ed5053dfe
BLAKE2b-256 dd1e5270274db9c18070e086be39d3e1240cf79334531fffa8d4d1fd3f9d3603

See more details on using hashes here.

File details

Details for the file ppafm-0.4.1-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for ppafm-0.4.1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 02858330f7c3346f89e757c611ef1bd66231b09ffdff53d1a231deb5a559e7ff
MD5 91b921e93d87e3eea05e248266edc8a3
BLAKE2b-256 e0b2f69c7183b8c5074dc2072995b0a54447672f15133562fd01d6b7dcd887ac

See more details on using hashes here.

File details

Details for the file ppafm-0.4.1-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: ppafm-0.4.1-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 988.5 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for ppafm-0.4.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 550208c437d0435b3fd875a05b2cad295e38c2b6a8ec176f86c878e70b0d9e65
MD5 2ea74941ec257995f1afb7efd2c3f003
BLAKE2b-256 3de1a035975242cd98727aa13a63cff3ecdd7a7979382790217ae63512f5655f

See more details on using hashes here.

File details

Details for the file ppafm-0.4.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for ppafm-0.4.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 dd79dd86ff8c7c4329b1180435032cd085ddd1dac95ddd2e9008f964d0535c59
MD5 7fcd59f1dd06769897a74c687429d80f
BLAKE2b-256 69c5eee23b3738e2aca0f07d7708d7885eb947a7d39f1bea8e6971865607c73b

See more details on using hashes here.

File details

Details for the file ppafm-0.4.1-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for ppafm-0.4.1-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a103b4e8964ca3a4d4f9f00cb005dff9878b873762fcb5ec7841688ce55e348c
MD5 f4b66a5fc272d5f96ca0b19d4f876905
BLAKE2b-256 ec25414dea8a6107625d2b87cdcbe3b9cba97fc77e0c52bd247f8782cf150285

See more details on using hashes here.

File details

Details for the file ppafm-0.4.1-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: ppafm-0.4.1-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 988.5 kB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for ppafm-0.4.1-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 7f73e11fea745bcd3d8eedd62784b3e7ac6913200f4d5599008fa1fa1cc7fdb3
MD5 879fda3833e181c01e6120bab49cb9e2
BLAKE2b-256 5055e644e50e80418588fb6ee45d6d5a5f55d07582f7de77378b082f4a9cc85e

See more details on using hashes here.

File details

Details for the file ppafm-0.4.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for ppafm-0.4.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0aab1fb97aeaac0c5060729749028ed6944c8c8836c5dd946ffa430f1be506ca
MD5 72cf08c7ac858503f36ab5754ea44faa
BLAKE2b-256 9d6c816950ecf79c125ea8fc671bc5beb4bd37473692d2cb1a210b2ce8767e7c

See more details on using hashes here.

File details

Details for the file ppafm-0.4.1-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

  • Download URL: ppafm-0.4.1-cp39-cp39-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 568.1 kB
  • Tags: CPython 3.9, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for ppafm-0.4.1-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d007752f6f1faa78a0a73e3ad7c0d7ca7c166316452908fcc18ec19e029aab9e
MD5 d63e0fa93f643a810841971856bb08bc
BLAKE2b-256 ea4a9b60b4714d3f0bae2b771ef547781bd9a0e11096197668f58ba1342e89ed

See more details on using hashes here.

File details

Details for the file ppafm-0.4.1-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: ppafm-0.4.1-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 988.5 kB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for ppafm-0.4.1-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 9a485521c81a6091f385df9bcc1924f1a7f170ee881612ac9ef5a3de2e2214fb
MD5 b907eac719bab3c0061fc62ac082f97b
BLAKE2b-256 b84f4c17beabfe79048551e6a399f84cfa796e86994c41b308f5c9c68a1a3a28

See more details on using hashes here.

File details

Details for the file ppafm-0.4.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for ppafm-0.4.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1f14989d5916c3f359f4a0cbf4d2c187d6d0f686d7413af0f7f621208eb3d993
MD5 70d902c08f2a5d4e797e612a7ca589a8
BLAKE2b-256 a54c4d3b5527b5dd93de0093959371cb6f200ebf1d2a51c1920c7eb23d72486b

See more details on using hashes here.

File details

Details for the file ppafm-0.4.1-cp38-cp38-macosx_11_0_arm64.whl.

File metadata

  • Download URL: ppafm-0.4.1-cp38-cp38-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 568.1 kB
  • Tags: CPython 3.8, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for ppafm-0.4.1-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0b4c15eafa11519f80fb79471af9e9f58714fefd44481ab86182eaaa53dd805c
MD5 65925de038cc9fc83aae5dfaedaf8c1e
BLAKE2b-256 25a6776b89fbe82452db4bedc0d30136bf765182cee18e76648405646d6fd7bd

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.4.1 This release

16 files

0.4.0

16 files

0.3.2

18 files

0.3.1

19 files

0.3.0

16 files

0.2.2

16 files

0.2.1

16 files

0.2.0

1 file

0.1.0

2 files

Supported by

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