Giter VIP home page Giter VIP logo

pipeline.anomaly.dimension.class's Introduction

Python class for pipeline anomaly dimension classification

GitHub Workflow Status GitHub Workflow Status GitHub Workflow Status Codacy Badge Codacy Badge

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.

Anomaly dimension classification

Graphical presentation of metal loss anomalies per dimension class

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 [email protected]: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

pipeline.anomaly.dimension.class's People

Contributors

vb64 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.