Git Product home page Git Product logo

pypetb's Introduction


THE PROCESS ENGINEER TOOLBOX

python pre-commit Code style: black

Process Engineer Tool Box is a package where a set of tools are developed to help in our daily tasks. It is based in the use of pandas. In daily chemical industry task, focused on data analysis and improvement projects developing, no long dataset are usually used and pandas cover all the requirements.

2- INSTALLATION

Use the package manager pip to install pyPETB.

pip install pypetb

3- USAGE

Please refer to the Documentation

Gage R&R use case

4- LICENSE

Distributed under the MIT License.

5- ROADMAP

  • V0.1 RnRnumeric class to analyze numerical measurement system --> Available
  • V0.2 Capability class to make process capability analysis --> Available
  • V0.3 Repeatability class to analyze automated measurement system --> Available
  • V0.4 RnRcat class to analyze categorical measurement system (Atributes) --> On going
  • V0.5 DOE class to analyze DOE results

6- ACKNOLEDGMENTS

Visual Studio Code Poetry ReadTheDocs

pypetb's People

Contributors

jgherruzo avatar

Stargazers

 avatar  avatar  avatar Jim Carow avatar

Watchers

 avatar

Forkers

lisberg

pypetb's Issues

Allow title to be added to RnR_Report

I think it would be great if it were possible to, optionally, provide a title to the RnR_Report function. This to be able to show what measurement the graph is describing. I can put up a pull request if you think it is a good idea.

improve RnRNumeric init input control

    self.dict_key=mydict_key    
    # Check dictionary is correctly defined
    lst_key=['1','2','3','4']
    if not all(key in mydict_key for key in lst_key):
      raise ValueError(
          f"Error init_01: wrong dictionary keys: {mydict_key.keys()} |"
          f" Be sure to use: {lst_key}"          
      ) 

Crossed, Nested, and Crossed & Nested structures; Additional sampling tree levels

Hello and nice work.

From looking at the code I believe the 'classical' gage R&R is implemented, where each operator measures the same set of parts, so measurement is nested under part, and part and operator are crossed.

Do you have any plans to support a fully nested sampling plan where each operator measures their own set of parts (mentioned in the article you referenced as a case in destructive testing)?

Additionally, it would be great to be able to analyze the variance components for a larger sampling plan. A simple example: each operator uses two gages, so parts are crossed with gages, and gages are crossed with operators.

image

Increase compatibility

Source code was developed with Python 3.8. use It in poetry in order to increase the compatibility

Static colors and markers for technicians

As of right now the line colors and markers are randomized for each of the graphs. I think it would be better if they were static, so that each technician has their own color and marker across all graphs and multiple measurements. If you agree I can put up a pull-request :)

Docs update

Add an example adding tittle to the RnR_report() figure

Unused space in generated image

Hi!

When saving the matplotlib figure as an image, I realized that the space wasn't utilized that well, lots of empty space in the generated image. I have made some adjustments to the gridspec in the figure and optimized the used space a bit better. Attached are some images of the old and new layouts. What do you think?

-------------------- Old Layout --------------------
old_layout_unacceptable
old_layout_ok
old_layout_acceptable

-------------------- New Layout --------------------
new_layout_unacceptable
new_layout_acceptable
new_layout_ok

Include bol_pass in RnRSolve()

tables module coudl work with more than 25 piezes, however, rnr function doesnt content this possibility. Just include it as optional

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.