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.1.tar.gz (11.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.1-py3-none-any.whl (12.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: poremetrics-1.0.1.tar.gz
  • Upload date:
  • Size: 11.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.1.tar.gz
Algorithm Hash digest
SHA256 3a0b06bb1df98a0b3e7437045ed409652ccad794a58633e035a6fc91a93fa4df
MD5 af6927ae64ccb4cc8ec7e656d2c9a8cc
BLAKE2b-256 e07192040bf14bbf93f8cde2c2e31830a6af3d539c25087ab24205237923d4aa

See more details on using hashes here.

Provenance

The following attestation bundles were made for poremetrics-1.0.1.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.1-py3-none-any.whl.

File metadata

  • Download URL: poremetrics-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 12.8 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 89c1e2a28a13ba8d7547893de6ae8636f7304453a14f55026049f179e54618c0
MD5 65da6ef2edcbf8ae52f908f9c50f6a7c
BLAKE2b-256 b095edda3afe8a804db504f46a9953d0353ae0c5656e324ecfa9f77f90eb0264

See more details on using hashes here.

Provenance

The following attestation bundles were made for poremetrics-1.0.1-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