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.0.tar.gz (9.6 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.0-py3-none-any.whl (11.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: poremetrics-1.0.0.tar.gz
  • Upload date:
  • Size: 9.6 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.0.tar.gz
Algorithm Hash digest
SHA256 d5564987c60d089e22cfcfccd3217118d26720bab9412d35ef3b6a0b2d52151b
MD5 870fd30d0fb7beac300555f706fb7dc6
BLAKE2b-256 be105a02f4773b5295ac5e6835c2cb605cae33b99e15d570fc2c01664c07ac63

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: poremetrics-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 11.5 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5d4e02cf0f1f0811e9861cd00c7da86d2ed36c3afc77698b37f61277813c8c6d
MD5 0bb6be9720faf3d54bb7012648ec009e
BLAKE2b-256 70a21c1ffa6f58e585389e13189fdb9fd78a1128a946dfa0e69f40e4604e8420

See more details on using hashes here.

Provenance

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