u_analytics/capability/mod.rs
1//! Process capability analysis.
2//!
3//! Computes standard capability indices for assessing how well a process
4//! meets specification limits.
5//!
6//! # Indices
7//!
8//! - **Cp** — Potential capability (spread vs tolerance)
9//! - **Cpk** — Actual capability (centering considered)
10//! - **Pp**, **Ppk** — Long-term performance indices
11//! - **Cpm** — Taguchi capability (target deviation)
12//!
13//! # Sigma Level
14//!
15//! - [`sigma_to_ppm`] — Convert sigma level to PPM defect rate
16//! - [`ppm_to_sigma`] — Convert PPM defect rate to sigma level
17//!
18//! # References
19//!
20//! - Montgomery (2019), *Introduction to Statistical Quality Control*, 8th ed.
21
22mod indices;
23mod sigma_level;
24
25pub use indices::{CapabilityIndices, ProcessCapability};
26pub use sigma_level::{ppm_to_sigma, sigma_to_ppm};