Skip to main content

pore-fatigue-metrics

This repo contains the source code for the poremetrics package, which provides functions which take binary numpy arratys as an input nd outputs features which can be used to predict fatigue performance in the case of defect initiated fatigue.

While many packages have some of these metrics, such as skimage,measure and OpenCV, these are meant as general purpose tools, often requiring different input formats, so when applying to large image datasets, a standard input format for all metrics is very useful. Here, the standard fomat is a numpy array of shape (x,y), with no channels, and a format of np.uint8.

Since the tests are on numpy arrays, making these shapes into numpy arrays intoduces an error, since it's not an exact shape. The tests/parameters.py controls the acceptable error associated, and tests are performed on 1024x1024 images because of it's standard size.

Metadata

Release files for poremetrics 1.0.2

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

Source distribution (sdist)

Source distribution for poremetrics 1.0.2
File Size Uploaded
poremetrics-1.0.2.tar.gz 12.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for poremetrics 1.0.2
File Interpreter ABI Platform
poremetrics-1.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 26.5 kB

Release files / poremetrics-1.0.2.tar.gz

Download URL poremetrics-1.0.2.tar.gz
Size 12.2 kB
Tags Source
SHA-256 checksum
How to use checksums
19e349728d3277075fcfb031b26abb1821fd07fca4cbdc2e03273714d6fbda81
BLAKE2b-256 checksum
How to use checksums
f72012d7399b47952a11a9fa3167578593a0da366b507f34a2340586b10e10b7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 6, 2025.

Transparency log

Release files / poremetrics-1.0.2-py3-none-any.whl

Download URL poremetrics-1.0.2-py3-none-any.whl
Size 14.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a487a449ae607bd650df91a7a6f38ffecfd9579e7f147a2f4d377db6cd25d07f
BLAKE2b-256 checksum
How to use checksums
7d424f7b964ef73eddd9c81dde78123464156823fecfa0bb093277196f313e87
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 6, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

1.0.2 This release

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

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