Skip to main content

Automated Analysis for Atomic Force Microscopy Images of Biomolecules

Project description

TopoStats

PyPI version PyPI - Python Version Documentation Status Code style: Ruff) Code style: black Code style: flake8 codecov pre-commit.ci status ORDA

Downloads Downloads Downloads


An AFM image analysis program to batch process data and obtain statistics from images.

There is more complete documentation on the projects documentation website.

Installation

TopoStats is available via PyPI and can be installed in your Virtual Environment with...

pip install topostats

For more on installation and how to upgrade please see the installation instructions.

How to Use

Tutorials and Examples

For a full description of usage please refer to the usage documentation.

A default configuration is loaded automatically and so the simplest method of processing images is to run topostats process in the same directory as your scans after having activated the virtual environment in which you have installed TopoStats

topostats process

If you have your own YAML configuration file (see Usage : Configuring TopoStats) then invoke topostats process and use the argument for --config <config_file>.yaml that points to your file.

# Edit and save my_config.yaml then run TopoStats with this configuration file
topostats process --config my_config.yaml

The configuration file is validated before analysis begins and if there are problems you will see errors messages that are hopefully useful in resolving the error(s) in your modified configuration.

You can generate a sample configuration file using the topostats create-config argument which writes the default configuration to the file ./config.yaml (i.e. in the current directory). This will not run any analyses.

NB - This feature is only available in versions > v2.0.0 as it was introduced after v2.0.0 was released. In older version > 2.0.0 and <= 2.1.2 you can use the older run_topostats --create-config option.

run_topostats --create-config-file config.yaml

Notebooks

Example Jupyter Notebooks have been developed that show how to use TopoStats package interactively which is useful when you are unsure of what parameters are most suited to your scans. Other notebooks exist which show how to produce plots of the summary grain and tracing statistics or how to generate plots of scans from processed images which saves having to run the processing again. See the documentation on Notebooks for further details.

Contributing

See contributing guidelines.

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.

Publications

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

topostats-2.2.post0.tar.gz (86.4 MB view details)

Uploaded Source

Built Distribution

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

topostats-2.2.post0-py3-none-any.whl (125.0 kB view details)

Uploaded Python 3

File details

Details for the file topostats-2.2.post0.tar.gz.

File metadata

  • Download URL: topostats-2.2.post0.tar.gz
  • Upload date:
  • Size: 86.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for topostats-2.2.post0.tar.gz
Algorithm Hash digest
SHA256 4e83abce0cfe504a1fbd6f6a5424c9f7b11ccf2b0169998d250b0c8fe5e5ce96
MD5 5ca307e7d8da327b10bd195e578c91cf
BLAKE2b-256 381be6cdbaf7ba547beea6bb0a702e021921535422806fde3ada698c5e60d076

See more details on using hashes here.

File details

Details for the file topostats-2.2.post0-py3-none-any.whl.

File metadata

  • Download URL: topostats-2.2.post0-py3-none-any.whl
  • Upload date:
  • Size: 125.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for topostats-2.2.post0-py3-none-any.whl
Algorithm Hash digest
SHA256 2f822c83cd736a5197227d5e9b5a5b4ba9227d074a5443aee68ac4a98bbe3b20
MD5 5d8942155e5d5734a105ffaadf5e57d7
BLAKE2b-256 0e8b4ab048f6b3f62c77b68c110241570cbe2766c82084061360d8007fa74b0c

See more details on using hashes here.

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