Skip to main content

Photoelastic Python Environment

Photo- elastic Python Environment

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

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.11 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 or https://photoelasticity.net/

Metadata

Release files for pepe-granular 1.2.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pepe-granular 1.2.9
File Size Uploaded Provenance Actions
pepe_granular-1.2.9.tar.gz 106.7 kB Without provenance Details for pepe_granular-1.2.9.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pepe-granular 1.2.9
File Interpreter ABI Platform Actions
pepe_granular-1.2.9-py3-none-any.whl Python 3 none any Details for pepe_granular-1.2.9-py3-none-any.whl

Total release size: 230.2 kB

Release files / pepe_granular-1.2.9.tar.gz

Download URL pepe_granular-1.2.9.tar.gz
Size 106.7 kB
Tags Source
SHA-256 checksum
How to use checksums
ac06fdb86b5d28bc09d27c02b4955d751078f5d3180c64032acb1ec4400a8350
BLAKE2b-256 checksum
How to use checksums
de3fab9fb8501c09defc036faa577a90386747df6bf16a98899c421d1abb35df
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.9

Release files / pepe_granular-1.2.9-py3-none-any.whl

Download URL pepe_granular-1.2.9-py3-none-any.whl
Size 123.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e29b63aec68bd27b2267dacbbf72eacd106c6d6fb858086019c7eab0b16e305a
BLAKE2b-256 checksum
How to use checksums
5b8f203adbdff022e19adf3ba794f86df3f0823f26a057479298e0a0409c5d30
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.9

Security for pepe-granular 1.2.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page