topostats

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

https://github.com/afm-spm/topostats

Science Score: 59.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 7 DOI reference(s) in README
  • Academic publication links
    Links to: biorxiv.org
  • Committers with academic emails
    9 of 18 committers (50.0%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (16.3%) to scientific vocabulary

Keywords

afm atomic-force-microscopy hacktoberfest image-processing python python3 spm

Keywords from Contributors

energy-system-model mesh particles quantum-circuit led standards yolov5s climate-model medical-imaging optimizer
Last synced: 6 months ago · JSON representation

Repository

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

Basic Info
Statistics
  • Stars: 75
  • Watchers: 6
  • Forks: 19
  • Open Issues: 144
  • Releases: 9
Topics
afm atomic-force-microscopy hacktoberfest image-processing python python3 spm
Created about 7 years ago · Last pushed 6 months ago
Metadata Files
Readme Contributing License Code of conduct Citation

README.md

TopoStats

[![PyPI version](https://badge.fury.io/py/topostats.svg)](https://badge.fury.io/py/topostats) ![PyPI - Python Version](https://img.shields.io/pypi/pyversions/topostats) [![Documentation Status](https://readthedocs.org/projects/topostats/badge/?version=dev)](https://topostats.readthedocs.io/en/dev/?badge=dev) [![Code style: Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff) [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black) [![Code style: flake8](https://img.shields.io/badge/code%20style-flake8-456789.svg)](https://github.com/psf/flake8) [![codecov](https://codecov.io/gh/AFM-SPM/TopoStats/branch/dev/graph/badge.svg)](https://codecov.io/gh/AFM-SPM/TopoStats) [![pre-commit.ci status](https://results.pre-commit.ci/badge/github/AFM-SPM/TopoStats/main.svg)](https://results.pre-commit.ci/latest/github/AFM-SPM/TopoStats/main) [![ORDA](https://img.shields.io/badge/ORDA--DOI-10.15131%2Fshef.data.22633528.v.1-lightgrey)](https://figshare.shef.ac.uk/articles/software/TopoStats/22633528/1) [![fair-software.eu](https://img.shields.io/badge/fair--software.eu-%E2%97%8F%20%20%E2%97%8F%20%20%E2%97%8F%20%20%E2%97%8F%20%20%E2%97%8B-yellow)](https://fair-software.eu)
[![Downloads](https://static.pepy.tech/badge/topostats)](https://pepy.tech/project/topostats) [![Downloads](https://static.pepy.tech/badge/topostats/month)](https://pepy.tech/project/topostats) [![Downloads](https://static.pepy.tech/badge/topostats/week)](https://pepy.tech/project/topostats)
| [Installation](#installation) | [Tutorials and Examples](#tutorials-and-examples) | [Contributing](contributing.md) | [Licence](#licence) | [Citation](#citation) |

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...

bash pip install topostats

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

NB The minimum supported version of Python is >=3.10 and because of a constraint in a dependency the maximum supported version is <= 3.11 (for now, we hope to support newer versions in the near future).

How to Use

Tutorials and Examples

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

A default configuration is loaded automatically that works with .spm files. 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

bash topostats process

If you have files other than .spm please refer topostats --help and the documentation on how to process those images with TopoStats.

NB If your configuration specifies .spm (the default) files with the old-style Bruker extension (i.e. .001, .002 etc.) will also be processed.

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

```bash

Edit and save my_config.yaml then run TopoStats with this configuration file

topostats --config my_config.yaml process ```

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.

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

Please refer to our contributing guidelines documentation.

Licence

This software is licensed as specified by the GPL License and LGPL License.

Citation

If you use TopoStats in your work or research please cite us. There is a Citation File Format in this repository to aid citation.

Publications

Owner

  • Name: Software for AFM & SPM data analysis
  • Login: AFM-SPM
  • Kind: organization

A community hub for Atomic Force Microscopy and Scanning Probe Microscopy analysis code

Committers

Last synced: 11 months ago

All Time
  • Total Commits: 3,507
  • Total Committers: 18
  • Avg Commits per committer: 194.833
  • Development Distribution Score (DDS): 0.649
Past Year
  • Commits: 1,253
  • Committers: 9
  • Avg Commits per committer: 139.222
  • Development Distribution Score (DDS): 0.534
Top Committers
Name Email Commits
SylviaWhittle s****e@g****m 1,232
Neil Shephard n****d@s****k 841
Max Gamill m****1@s****k 801
pre-commit-ci[bot] 6****] 159
alicepyne a****e@u****k 131
Robert (Bob) Turner r****r@s****k 115
JoeBeton j****n@h****k 84
Jean-Du m****2@s****k 66
Laura Wiggins l****s@s****k 30
derollins d****1@g****m 13
TomC t****y@s****k 12
slackline n****d@p****m 9
bobturneruk 3****k 6
Ben Thomas b****s@s****k 3
dependabot[bot] 4****] 2
Test t****t@L****l 1
Daniel Eddie Rollins d****1@s****k 1
ucapkah 4****h 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 352
  • Total pull requests: 498
  • Average time to close issues: 6 months
  • Average time to close pull requests: 14 days
  • Total issue authors: 21
  • Total pull request authors: 13
  • Average comments per issue: 1.2
  • Average comments per pull request: 1.57
  • Merged pull requests: 388
  • Bot issues: 1
  • Bot pull requests: 52
Past Year
  • Issues: 122
  • Pull requests: 224
  • Average time to close issues: 9 days
  • Average time to close pull requests: 4 days
  • Issue authors: 12
  • Pull request authors: 10
  • Average comments per issue: 0.5
  • Average comments per pull request: 1.29
  • Merged pull requests: 167
  • Bot issues: 0
  • Bot pull requests: 22
Top Authors
Issue Authors
  • ns-rse (205)
  • SylviaWhittle (58)
  • MaxGamill-Sheffield (29)
  • Jean-Du (17)
  • derollins (14)
  • llwiggins (4)
  • tcatley (4)
  • bobturneruk (3)
  • LunchBobs (2)
  • AdriSP2 (2)
  • LHolmes2 (2)
  • pre-commit-ci[bot] (1)
  • Malisa-Vittoria (1)
  • yetijbsmith (1)
  • stavrina (1)
Pull Request Authors
  • ns-rse (311)
  • SylviaWhittle (80)
  • MaxGamill-Sheffield (58)
  • pre-commit-ci[bot] (49)
  • llwiggins (11)
  • dependabot[bot] (6)
  • derollins (4)
  • bobturneruk (3)
  • iobataya (3)
  • EvaMartinC (2)
  • AuroVarat (2)
  • tcatley (2)
  • tobyallwood (1)
Top Labels
Issue Labels
enhancement (78) bug (61) Low Priority (31) documentation (26) CI/CD (23) IO (17) tests (13) Plotting (13) testing (12) v2.3.0 (12) DNATracing (11) notebooks (11) user experience (10) Medium Priority (8) ui (7) v2.4.0 (7) admin (6) good first issue (6) Images (5) linting (4) refactor (4) GrainStats (3) configuration (3) Epic (3) Grains (3) help wanted (2) duplicate (2) packaging (2) v2.3.1 (2) blocked (2)
Pull Request Labels
IO (31) CI/CD (30) v2.3.0 (30) documentation (27) tests (24) enhancement (16) linting (15) Plotting (11) Grains (10) refactor (10) configuration (8) GrainStats (7) ui (7) dependencies (6) DNATracing (5) user experience (5) packaging (4) bug (4) github_actions (2) disordered tracing (2) processing (2) v2.4.0 (2) v2.3.1 (2) measure (2) testing (2) Low Priority (1) Images (1) Filters (1) notebooks (1) Medium Priority (1)

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 165 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 1
  • Total versions: 8
  • Total maintainers: 1
pypi.org: topostats

Automated Analysis for Atomic Force Microscopy Images of Biomolecules

  • Versions: 8
  • Dependent Packages: 0
  • Dependent Repositories: 1
  • Downloads: 165 Last month
Rankings
Stargazers count: 9.6%
Dependent packages count: 10.1%
Forks count: 10.9%
Average: 14.6%
Downloads: 21.0%
Dependent repos count: 21.5%
Maintainers (1)
Last synced: 6 months ago

Dependencies

.github/workflows/ORDA.yaml actions
  • figshare/github-upload-action v1.1 composite
.github/workflows/add-issue-to-project.yaml actions
  • actions/add-to-project v0.4.0 composite
.github/workflows/pypi.yaml actions
  • actions/checkout v3 composite
  • actions/setup-python v4.3.0 composite
  • pypa/gh-action-pypi-publish release/v1 composite
.github/workflows/sphinx_docs_to_gh_pages.yaml actions
  • actions/checkout v3 composite
  • actions/setup-python v4.3.0 composite
  • ns-rse/action-sphinx-docs-to-gh-pages main composite
.github/workflows/tests.yaml actions
  • actions/checkout v3 composite
  • actions/setup-python v4.3.0 composite
  • codecov/codecov-action v3.1.1 composite
pyproject.toml pypi
  • h5py *
  • igor *
  • matplotlib *
  • numpy ==1.23.4
  • pandas *
  • pySPM *
  • pyfiglet *
  • pyyaml *
  • ruamel.yaml *
  • schema *
  • scikit-image *
  • scipy *
  • seaborn *
  • tifffile *
  • tqdm *