Skip to main content

A toolbox for Statistical Process Control

Project description

Statistical Process Control Toolbox Documentation

Welcome to the Statistical Process Control (SPC) Toolbox Documentation. This toolbox provides a comprehensive set of tools for monitoring and analyzing manufacturing processes. The toolbox is designed to help quality assurance professionals and engineers to maintain high standards of quality by identifying variations in processes using various SPC charts.

Installation

To install the SPC Toolbox, use the following command:

pip install spc-toolbox

Quick Start

Here's a quick example of how to use the XBarChart class to monitor process means:

import pandas as pd
from spc_toolbox import XBarChart

# Load data from CSV
df = pd.read_csv("data/XBar-RChart.csv")

# Initialize XBarChart
xbarChart = XBarChart()

# Fit data to the chart
xbarChart.fit(index=df.index, values=df, axis=1, dispersion_type="range")

# Plot the chart
xbarChart.plot()

This example demonstrates how to create an XBarChart object, fit it with sample data, and plot the control chart to visualize the process means.

Control Charts

The SPC Toolbox provides several types of control charts, each designed to monitor different aspects of a manufacturing process. Here are the main control charts available in the toolbox:

  • XBarChart: Monitors the average of subgroup means in a process.
  • RChart: Tracks the range of values within subgroups to assess process variability.
  • SChart: Monitors the standard deviation of subgroups to evaluate process dispersion.
  • UChart: Tracks the number of defects per unit of output to assess process quality.
  • PChart: Monitors the proportion of defective items in a sample to evaluate process quality.
  • IChart: Tracks the number of defects per unit of output in a Poisson process.
  • MRChart: Monitors the moving range of consecutive observations to assess process variability.

Each control chart class provides methods for fitting data, plotting the control chart, and accessing statistical parameters.

Contributing

If you would like to contribute to the SPC Toolbox, please read our contributing guidelines for more information on how to get started.

License

The SPC Toolbox is released under the MIT License.

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

spc_toolbox-0.1.1.tar.gz (9.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

spc_toolbox-0.1.1-py3-none-any.whl (13.2 kB view details)

Uploaded Python 3

File details

Details for the file spc_toolbox-0.1.1.tar.gz.

File metadata

  • Download URL: spc_toolbox-0.1.1.tar.gz
  • Upload date:
  • Size: 9.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.10.12 Linux/5.15.133.1-deploykf-WSL2+

File hashes

Hashes for spc_toolbox-0.1.1.tar.gz
Algorithm Hash digest
SHA256 a5c2c4aad5c3845274b71a32051466f4a7fbf40ba0dea41b4fe53ab37eb3385f
MD5 7fa237088b2e36fe9744edcc4ee2a392
BLAKE2b-256 5214dea0680cc3c13f5ff027eb577232bfdc5836a52639696aee02fff5c73c5b

See more details on using hashes here.

File details

Details for the file spc_toolbox-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: spc_toolbox-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 13.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.10.12 Linux/5.15.133.1-deploykf-WSL2+

File hashes

Hashes for spc_toolbox-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 68ab604e787bb210aaf4eec387033d85919d8136dfa6d6cef3fc99c87301c2ac
MD5 3e753ebc94c25bbcee81f76642b297c4
BLAKE2b-256 715f2cdf2db0e5a8902df49b2e573e41b983b01c910451363b6924488b5a34e8

See more details on using hashes here.

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