Skip to main content

Package for extracting features from segemented defects in defect initated fatigue.

Project description

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.

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

poremetrics-1.0.2.tar.gz (12.2 kB view details)

Uploaded Source

Built Distribution

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

poremetrics-1.0.2-py3-none-any.whl (14.4 kB view details)

Uploaded Python 3

File details

Details for the file poremetrics-1.0.2.tar.gz.

File metadata

  • Download URL: poremetrics-1.0.2.tar.gz
  • Upload date:
  • Size: 12.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for poremetrics-1.0.2.tar.gz
Algorithm Hash digest
SHA256 19e349728d3277075fcfb031b26abb1821fd07fca4cbdc2e03273714d6fbda81
MD5 d0762da9de3d7576e844846383282d5c
BLAKE2b-256 f72012d7399b47952a11a9fa3167578593a0da366b507f34a2340586b10e10b7

See more details on using hashes here.

Provenance

The following attestation bundles were made for poremetrics-1.0.2.tar.gz:

Publisher: python-publish.yml on cwru-sdle/pore-fatigue-metrics

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file poremetrics-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: poremetrics-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 14.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for poremetrics-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a487a449ae607bd650df91a7a6f38ffecfd9579e7f147a2f4d377db6cd25d07f
MD5 32202ea5130eb1bdc57acb378d49bf2d
BLAKE2b-256 7d424f7b964ef73eddd9c81dde78123464156823fecfa0bb093277196f313e87

See more details on using hashes here.

Provenance

The following attestation bundles were made for poremetrics-1.0.2-py3-none-any.whl:

Publisher: python-publish.yml on cwru-sdle/pore-fatigue-metrics

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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