Skip to main content

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.

Metadata

Release files for spc-toolbox 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for spc-toolbox 0.1.2
File Size Uploaded Provenance
spc_toolbox-0.1.2.tar.gz 9.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for spc-toolbox 0.1.2
File Interpreter ABI Platform
spc_toolbox-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 23.2 kB

Release files / spc_toolbox-0.1.2.tar.gz

Download URL spc_toolbox-0.1.2.tar.gz
Size 9.5 kB
Tags Source
SHA-256 checksum
How to use checksums
39b8c5996de4640a08fe5f9465135f7904141b2635e62506ae4b0eda675e67cd
BLAKE2b-256 checksum
How to use checksums
3eeb326d6e893f32fa9f6396adbc0f1cd65d4b0255d3035e13065cbf2a84cbeb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.6.1 CPython/3.10.12 Linux/5.15.133.1-deploykf-WSL2+

Release files / spc_toolbox-0.1.2-py3-none-any.whl

Download URL spc_toolbox-0.1.2-py3-none-any.whl
Size 13.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3e69b6a05db4899fb5c334a7888698a8f4169e29daab0d8c1822ea8ce2f511f6
BLAKE2b-256 checksum
How to use checksums
0d052470a9e170931fe9c1fe8d520b908ff11048d8387b2f9698cdc46f74be5f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.6.1 CPython/3.10.12 Linux/5.15.133.1-deploykf-WSL2+

Security for spc-toolbox 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page