Python class for pipeline anomaly dimension classification
Project description
Python class for pipeline anomaly dimension classification
This Python module implements the definition of the "defect dimension class" of a pipeline according to Specifications and requirements for intelligent pig inspection of pipelines.
Installation
pip install pipeline-anomaly-dimension-class
Usage
from pipeline_anomaly_dimension_class import size_class, FeatureClass
# a defect measuring 100x100 mm on a pipe wall 10 mm thick is a defect of the "GENE" class
assert size_class(100, 100, 10) == FeatureClass.GENE
# defects with zero dimensions are not allowed
size_class(0, 100, 10)
pipeline_anomaly_dimension_class.Error: Wrong FeatureClass params. l=0 w=100 t=10
Development
git clone git@github.com:vb64/pipeline.anomaly.dimension.class.git
cd pipeline.anomaly.dimension.class
With Python 2
make setup2 PYTHON_BIN=/path/to/python27/executable
make tests2
With Python 3
make setup PYTHON_BIN=/path/to/python3/executable
make tests
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pipeline_anomaly_dimension_class-1.1.tar.gz
.
File metadata
- Download URL: pipeline_anomaly_dimension_class-1.1.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d7c4cf48667cca09e60613eb281ba67f88790f7bdd6b9b6f3f7adc350f4872ca |
|
MD5 | 4a5f8e73000c6eca00d4f187c3655a82 |
|
BLAKE2b-256 | b40e00b66f7e5a8e845ae243315a5bf37ed632ddddea2fa3bc65f9aa375105fe |
File details
Details for the file pipeline_anomaly_dimension_class-1.1-py3-none-any.whl
.
File metadata
- Download URL: pipeline_anomaly_dimension_class-1.1-py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 94f12d0b8c04d8bf0b9d04a361a78ca2a4007a6bc108d620971e8c4262ee2423 |
|
MD5 | 8505c32e2384d6506dded0f3ef429eac |
|
BLAKE2b-256 | 0bc0d870036b7e67af136cc6a741bad2e79b12536239ede90de13f7066efe263 |