Skip to main content

Toolbox for granular analysis of photoelastic images

Project description

Photoelastic Python Environment

Photoelastic Python Environment

This is a collection of tools for working with photoelastic particle images, including common analysis methods like particle tracking, force solving, and trajectory identification.

Features

  • Common analysis techniques (G2, D2min, etc.)
  • Particle tracking
  • Masking and other preprocessing tools
  • Synthetic photoelastic response generation
  • Force solving (as in PeGS [1a, 1b])

Installation

The library is available on PyPi:

pip install pepe-granular

It can also be installed from the Github repository:

git clone https://github.com/Jfeatherstone/pepe
cd pepe
pip install .

Documentation

Available here.

Requirements

Python 3.7 is the recommended version to use, with the following packages:

These can all be installed (alongside their dependencies) via pip:

git clone https://github.com/jfeatherstone/pepe
cd pepe
pip install -r requirements.txt

Usage

The wiki and documentation contain information about how to use the toolbox. Test notebooks can be found in the repo's notebooks directory, and unit tests can be found in the pepe.test directory.

Some of the test notebooks make use of the Matlab API to compare against Jonathan Kollmer's code [1a], but this is not required to use any functions in the library itself. Installing the Matlab API requires a local installation of Matlab proper; see here for more information.

Further Reading and References

[1] Daniels, K. E., Kollmer, J. E., & Puckett, J. G. (2017). Photoelastic force measurements in granular materials. Review of Scientific Instruments, 88(5), 051808. https://doi.org/10.1063/1.4983049

[1a] Jonathan Kollmer's implementation in Matlab: https://github.com/jekollmer/PEGS

[1b] Olivier Lantsoght's implementation in Python: https://git.immc.ucl.ac.be/olantsoght/pegs_py

[2] Abed Zadeh, A., Barés, J., Brzinski, T. A., Daniels, K. E., Dijksman, J., Docquier, N., Everitt, H. O., Kollmer, J. E., Lantsoght, O., Wang, D., Workamp, M., Zhao, Y., & Zheng, H. (2019). Enlightening force chains: A review of photoelasticimetry in granular matter. Granular Matter, 21(4), 83. https://doi.org/10.1007/s10035-019-0942-2

[3] Photoelastic methods wiki. https://git-xen.lmgc.univ-montp2.fr/PhotoElasticity/Main/-/wikis/home

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

pepe-granular-1.0.0.tar.gz (89.9 kB view details)

Uploaded Source

Built Distribution

pepe_granular-1.0.0-py3-none-any.whl (109.4 kB view details)

Uploaded Python 3

File details

Details for the file pepe-granular-1.0.0.tar.gz.

File metadata

  • Download URL: pepe-granular-1.0.0.tar.gz
  • Upload date:
  • Size: 89.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.8.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.1

File hashes

Hashes for pepe-granular-1.0.0.tar.gz
Algorithm Hash digest
SHA256 dc3378ce680f81becf7f5ef16919e40b51e672fd5cd323027480e9ede17bde9d
MD5 f965371f6ec7f0058408fcdb4dbd71de
BLAKE2b-256 df26b7050b0ffb45b5dcec258de39966b4be53a8a433d051f8f4a3d707f07db0

See more details on using hashes here.

File details

Details for the file pepe_granular-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: pepe_granular-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 109.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.8.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.1

File hashes

Hashes for pepe_granular-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7a4c9605044b23733747c15de6e623ddf4914afcf98234ead8994de01714ccc3
MD5 6c827a6928f609d96cc242d865f7b0b7
BLAKE2b-256 b220e87c78cd1ff177a93a30dc4d2ec5335cb42151a0e0f13af5c97431eb31db

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page