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 pipeline_anomaly_dimension_class
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)
oeg_feature_class.Error: Wrong FeatureClass params. l=0 w=100 t=10
Development
git clone git@github.com:vb64/pipeline.anomaly.dimension.class.git
cd oeg.feature.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
Close
Hashes for pipeline_anomaly_dimension_class-1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f501dcb1143ff6cb7488c4b690ccd11cb814cf22bf32b1457c5563a976ca1765 |
|
MD5 | 08a31c9e7fbac0421e5f4773b54dfe3a |
|
BLAKE2b-256 | f6ddfa6d0c1cffe886f8a9ff2748da012359dd0e865353fdbbef0646dd07c0ae |
Close
Hashes for pipeline_anomaly_dimension_class-1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c743e916aa923bb1413be6b08ee682221f33bc2380d89d70d472291cb43e7f77 |
|
MD5 | adb31faf9d3e37739437fa429a1df3b4 |
|
BLAKE2b-256 | 0caf44d532adb36f587ed90cf0315dfdcded41b29f6bd15fa86481e4d36fe549 |