qesuite 1.0.5 → 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +83 -2
- package/dist/index.d.ts +83 -2
- package/dist/index.js +437 -1
- package/dist/index.mjs +428 -1
- package/index.ts +501 -3
- package/package.json +1 -1
- package/versions/1_0_6.md +28 -0
package/dist/index.d.mts
CHANGED
|
@@ -209,6 +209,19 @@ declare const Capability: {
|
|
|
209
209
|
*/
|
|
210
210
|
Ppk(data: number[], spec: QESpecification): number;
|
|
211
211
|
};
|
|
212
|
+
declare function SixPack(data: number[], specification: QESpecification, title?: string): {
|
|
213
|
+
charts: {
|
|
214
|
+
IndividualValue: HTMLCanvasElement;
|
|
215
|
+
CapabilityHistogram: HTMLCanvasElement;
|
|
216
|
+
MovingRange: HTMLCanvasElement;
|
|
217
|
+
NormalProbability: HTMLCanvasElement;
|
|
218
|
+
LastObservations: HTMLCanvasElement;
|
|
219
|
+
Summary: HTMLCanvasElement;
|
|
220
|
+
};
|
|
221
|
+
};
|
|
222
|
+
declare function IndividualValuePlot(data: number[], title?: string, historicalMean?: number): HTMLCanvasElement;
|
|
223
|
+
declare function MovingRangeChart(data: number[], title?: string, w?: number): HTMLCanvasElement;
|
|
224
|
+
declare function CreateCapabilityHistogram(data: number[], specification: QESpecification): HTMLCanvasElement;
|
|
212
225
|
/** ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
213
226
|
*/
|
|
214
227
|
declare const Beta: {
|
|
@@ -765,6 +778,21 @@ declare function IndividualDistributionIdentification(data: number[]): {
|
|
|
765
778
|
};
|
|
766
779
|
};
|
|
767
780
|
};
|
|
781
|
+
declare function IndividualDistributionPlots(data: number[]): {
|
|
782
|
+
summary: HTMLCanvasElement;
|
|
783
|
+
normal: HTMLCanvasElement;
|
|
784
|
+
boxCox: HTMLCanvasElement;
|
|
785
|
+
exponential: HTMLCanvasElement;
|
|
786
|
+
exponential2p: HTMLCanvasElement;
|
|
787
|
+
gamma: HTMLCanvasElement;
|
|
788
|
+
gamma3p: HTMLCanvasElement;
|
|
789
|
+
largestExtremeValue: HTMLCanvasElement;
|
|
790
|
+
logistic: HTMLCanvasElement;
|
|
791
|
+
loglogistic: HTMLCanvasElement;
|
|
792
|
+
lognormal: HTMLCanvasElement;
|
|
793
|
+
smallestExtremeValue: HTMLCanvasElement;
|
|
794
|
+
weibull: HTMLCanvasElement;
|
|
795
|
+
};
|
|
768
796
|
declare const QQPlot: {
|
|
769
797
|
p(data: number[], method?: string): number[][];
|
|
770
798
|
Exponential(p: number): number;
|
|
@@ -931,7 +959,7 @@ declare function CreateSplitGraph(charts: QEChart[], title: string, chartSetting
|
|
|
931
959
|
* @param title Chart Title
|
|
932
960
|
* @param chartSettings Chart settings
|
|
933
961
|
*/
|
|
934
|
-
declare function CreateSummaryChart(charts:
|
|
962
|
+
declare function CreateSummaryChart(charts: HTMLCanvasElement[], title: string): HTMLCanvasElement;
|
|
935
963
|
/**
|
|
936
964
|
* Create a scatter plot
|
|
937
965
|
* @param data An array of data sets to plot
|
|
@@ -1038,5 +1066,58 @@ declare function VarianceComponents(ANOVA: any, data: GRR_Data): {
|
|
|
1038
1066
|
Contribution: number;
|
|
1039
1067
|
};
|
|
1040
1068
|
};
|
|
1069
|
+
declare function G1_Graphs(data: any, tolerance: number, referenceValue: number): {
|
|
1070
|
+
charts: {
|
|
1071
|
+
RunChart: HTMLCanvasElement;
|
|
1072
|
+
};
|
|
1073
|
+
Cg: number;
|
|
1074
|
+
Cgk: number;
|
|
1075
|
+
bias: number;
|
|
1076
|
+
t: number;
|
|
1077
|
+
p: number;
|
|
1078
|
+
};
|
|
1079
|
+
declare function GRR_Graphs(data: any, tolerance: number, name?: string): {
|
|
1080
|
+
GRR: {
|
|
1081
|
+
ANOVA: any;
|
|
1082
|
+
VarComp: {
|
|
1083
|
+
TotalGRR: {
|
|
1084
|
+
VarComp: number;
|
|
1085
|
+
Contribution: number;
|
|
1086
|
+
};
|
|
1087
|
+
Repeatability: {
|
|
1088
|
+
VarComp: number;
|
|
1089
|
+
Contribution: number;
|
|
1090
|
+
};
|
|
1091
|
+
Reproducibility: {
|
|
1092
|
+
VarComp: number;
|
|
1093
|
+
Contribution: number;
|
|
1094
|
+
};
|
|
1095
|
+
Operator: {
|
|
1096
|
+
VarComp: number;
|
|
1097
|
+
Contribution: number;
|
|
1098
|
+
};
|
|
1099
|
+
PartToPart: {
|
|
1100
|
+
VarComp: number;
|
|
1101
|
+
Contribution: number;
|
|
1102
|
+
};
|
|
1103
|
+
TotalVariation: {
|
|
1104
|
+
VarComp: number;
|
|
1105
|
+
Contribution: number;
|
|
1106
|
+
};
|
|
1107
|
+
};
|
|
1108
|
+
GageEvaluation: any;
|
|
1109
|
+
};
|
|
1110
|
+
charts: {
|
|
1111
|
+
Summary: HTMLCanvasElement;
|
|
1112
|
+
VarComp: HTMLCanvasElement;
|
|
1113
|
+
ByPart: HTMLCanvasElement;
|
|
1114
|
+
R: HTMLCanvasElement;
|
|
1115
|
+
ByOperator: HTMLCanvasElement;
|
|
1116
|
+
Xbar: HTMLCanvasElement;
|
|
1117
|
+
PartxOperator: HTMLCanvasElement;
|
|
1118
|
+
};
|
|
1119
|
+
};
|
|
1120
|
+
declare function GRR_ByPartChart(data: GRR_Data): HTMLCanvasElement;
|
|
1121
|
+
declare function GRR_PartxOperatorChart(data: GRR_Data): HTMLCanvasElement;
|
|
1041
1122
|
|
|
1042
|
-
export { AnovaTableTwoWay, AverageMovingRange, Beta, CanvasDrawSettings, Capability, CreateBoxandWhiskerGraph, CreateCategoricalBarGraph, CreateContinuousBarGraph, CreateScatterPlot, CreateSplitGraph, CreateStackedChart, CreateSummaryChart, Distributions, ERF, EngFont, FixedPointIteration, G1, GRR, GRR_Data, GRR_Operator, GRR_Replication, GageEvaluation, Gamma, GetFunctionValues, GetHistogramDataset, GoodnessOfFit, IndividualDistributionIdentification, Margin, MarkOutOfControl, Mean, Median, MovingRange, NewtonRaphson, ObjectToArray, Point, QEAxisSettings, QEChart, QEChartSettings, QECustomGridline, QEDataCollection, QEDataSet, QELine, QESpecification, QQPlot, QQPlotChart, Range, RoundTO, SerializeData, StDev, Sum, UnbiasingConstant, VarianceComponents };
|
|
1123
|
+
export { AnovaTableTwoWay, AverageMovingRange, Beta, CanvasDrawSettings, Capability, CreateBoxandWhiskerGraph, CreateCapabilityHistogram, CreateCategoricalBarGraph, CreateContinuousBarGraph, CreateScatterPlot, CreateSplitGraph, CreateStackedChart, CreateSummaryChart, Distributions, ERF, EngFont, FixedPointIteration, G1, G1_Graphs, GRR, GRR_ByPartChart, GRR_Data, GRR_Graphs, GRR_Operator, GRR_PartxOperatorChart, GRR_Replication, GageEvaluation, Gamma, GetFunctionValues, GetHistogramDataset, GoodnessOfFit, IndividualDistributionIdentification, IndividualDistributionPlots, IndividualValuePlot, Margin, MarkOutOfControl, Mean, Median, MovingRange, MovingRangeChart, NewtonRaphson, ObjectToArray, Point, QEAxisSettings, QEChart, QEChartSettings, QECustomGridline, QEDataCollection, QEDataSet, QELine, QESpecification, QQPlot, QQPlotChart, Range, RoundTO, SerializeData, SixPack, StDev, Sum, UnbiasingConstant, VarianceComponents };
|
package/dist/index.d.ts
CHANGED
|
@@ -209,6 +209,19 @@ declare const Capability: {
|
|
|
209
209
|
*/
|
|
210
210
|
Ppk(data: number[], spec: QESpecification): number;
|
|
211
211
|
};
|
|
212
|
+
declare function SixPack(data: number[], specification: QESpecification, title?: string): {
|
|
213
|
+
charts: {
|
|
214
|
+
IndividualValue: HTMLCanvasElement;
|
|
215
|
+
CapabilityHistogram: HTMLCanvasElement;
|
|
216
|
+
MovingRange: HTMLCanvasElement;
|
|
217
|
+
NormalProbability: HTMLCanvasElement;
|
|
218
|
+
LastObservations: HTMLCanvasElement;
|
|
219
|
+
Summary: HTMLCanvasElement;
|
|
220
|
+
};
|
|
221
|
+
};
|
|
222
|
+
declare function IndividualValuePlot(data: number[], title?: string, historicalMean?: number): HTMLCanvasElement;
|
|
223
|
+
declare function MovingRangeChart(data: number[], title?: string, w?: number): HTMLCanvasElement;
|
|
224
|
+
declare function CreateCapabilityHistogram(data: number[], specification: QESpecification): HTMLCanvasElement;
|
|
212
225
|
/** ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
213
226
|
*/
|
|
214
227
|
declare const Beta: {
|
|
@@ -765,6 +778,21 @@ declare function IndividualDistributionIdentification(data: number[]): {
|
|
|
765
778
|
};
|
|
766
779
|
};
|
|
767
780
|
};
|
|
781
|
+
declare function IndividualDistributionPlots(data: number[]): {
|
|
782
|
+
summary: HTMLCanvasElement;
|
|
783
|
+
normal: HTMLCanvasElement;
|
|
784
|
+
boxCox: HTMLCanvasElement;
|
|
785
|
+
exponential: HTMLCanvasElement;
|
|
786
|
+
exponential2p: HTMLCanvasElement;
|
|
787
|
+
gamma: HTMLCanvasElement;
|
|
788
|
+
gamma3p: HTMLCanvasElement;
|
|
789
|
+
largestExtremeValue: HTMLCanvasElement;
|
|
790
|
+
logistic: HTMLCanvasElement;
|
|
791
|
+
loglogistic: HTMLCanvasElement;
|
|
792
|
+
lognormal: HTMLCanvasElement;
|
|
793
|
+
smallestExtremeValue: HTMLCanvasElement;
|
|
794
|
+
weibull: HTMLCanvasElement;
|
|
795
|
+
};
|
|
768
796
|
declare const QQPlot: {
|
|
769
797
|
p(data: number[], method?: string): number[][];
|
|
770
798
|
Exponential(p: number): number;
|
|
@@ -931,7 +959,7 @@ declare function CreateSplitGraph(charts: QEChart[], title: string, chartSetting
|
|
|
931
959
|
* @param title Chart Title
|
|
932
960
|
* @param chartSettings Chart settings
|
|
933
961
|
*/
|
|
934
|
-
declare function CreateSummaryChart(charts:
|
|
962
|
+
declare function CreateSummaryChart(charts: HTMLCanvasElement[], title: string): HTMLCanvasElement;
|
|
935
963
|
/**
|
|
936
964
|
* Create a scatter plot
|
|
937
965
|
* @param data An array of data sets to plot
|
|
@@ -1038,5 +1066,58 @@ declare function VarianceComponents(ANOVA: any, data: GRR_Data): {
|
|
|
1038
1066
|
Contribution: number;
|
|
1039
1067
|
};
|
|
1040
1068
|
};
|
|
1069
|
+
declare function G1_Graphs(data: any, tolerance: number, referenceValue: number): {
|
|
1070
|
+
charts: {
|
|
1071
|
+
RunChart: HTMLCanvasElement;
|
|
1072
|
+
};
|
|
1073
|
+
Cg: number;
|
|
1074
|
+
Cgk: number;
|
|
1075
|
+
bias: number;
|
|
1076
|
+
t: number;
|
|
1077
|
+
p: number;
|
|
1078
|
+
};
|
|
1079
|
+
declare function GRR_Graphs(data: any, tolerance: number, name?: string): {
|
|
1080
|
+
GRR: {
|
|
1081
|
+
ANOVA: any;
|
|
1082
|
+
VarComp: {
|
|
1083
|
+
TotalGRR: {
|
|
1084
|
+
VarComp: number;
|
|
1085
|
+
Contribution: number;
|
|
1086
|
+
};
|
|
1087
|
+
Repeatability: {
|
|
1088
|
+
VarComp: number;
|
|
1089
|
+
Contribution: number;
|
|
1090
|
+
};
|
|
1091
|
+
Reproducibility: {
|
|
1092
|
+
VarComp: number;
|
|
1093
|
+
Contribution: number;
|
|
1094
|
+
};
|
|
1095
|
+
Operator: {
|
|
1096
|
+
VarComp: number;
|
|
1097
|
+
Contribution: number;
|
|
1098
|
+
};
|
|
1099
|
+
PartToPart: {
|
|
1100
|
+
VarComp: number;
|
|
1101
|
+
Contribution: number;
|
|
1102
|
+
};
|
|
1103
|
+
TotalVariation: {
|
|
1104
|
+
VarComp: number;
|
|
1105
|
+
Contribution: number;
|
|
1106
|
+
};
|
|
1107
|
+
};
|
|
1108
|
+
GageEvaluation: any;
|
|
1109
|
+
};
|
|
1110
|
+
charts: {
|
|
1111
|
+
Summary: HTMLCanvasElement;
|
|
1112
|
+
VarComp: HTMLCanvasElement;
|
|
1113
|
+
ByPart: HTMLCanvasElement;
|
|
1114
|
+
R: HTMLCanvasElement;
|
|
1115
|
+
ByOperator: HTMLCanvasElement;
|
|
1116
|
+
Xbar: HTMLCanvasElement;
|
|
1117
|
+
PartxOperator: HTMLCanvasElement;
|
|
1118
|
+
};
|
|
1119
|
+
};
|
|
1120
|
+
declare function GRR_ByPartChart(data: GRR_Data): HTMLCanvasElement;
|
|
1121
|
+
declare function GRR_PartxOperatorChart(data: GRR_Data): HTMLCanvasElement;
|
|
1041
1122
|
|
|
1042
|
-
export { AnovaTableTwoWay, AverageMovingRange, Beta, CanvasDrawSettings, Capability, CreateBoxandWhiskerGraph, CreateCategoricalBarGraph, CreateContinuousBarGraph, CreateScatterPlot, CreateSplitGraph, CreateStackedChart, CreateSummaryChart, Distributions, ERF, EngFont, FixedPointIteration, G1, GRR, GRR_Data, GRR_Operator, GRR_Replication, GageEvaluation, Gamma, GetFunctionValues, GetHistogramDataset, GoodnessOfFit, IndividualDistributionIdentification, Margin, MarkOutOfControl, Mean, Median, MovingRange, NewtonRaphson, ObjectToArray, Point, QEAxisSettings, QEChart, QEChartSettings, QECustomGridline, QEDataCollection, QEDataSet, QELine, QESpecification, QQPlot, QQPlotChart, Range, RoundTO, SerializeData, StDev, Sum, UnbiasingConstant, VarianceComponents };
|
|
1123
|
+
export { AnovaTableTwoWay, AverageMovingRange, Beta, CanvasDrawSettings, Capability, CreateBoxandWhiskerGraph, CreateCapabilityHistogram, CreateCategoricalBarGraph, CreateContinuousBarGraph, CreateScatterPlot, CreateSplitGraph, CreateStackedChart, CreateSummaryChart, Distributions, ERF, EngFont, FixedPointIteration, G1, G1_Graphs, GRR, GRR_ByPartChart, GRR_Data, GRR_Graphs, GRR_Operator, GRR_PartxOperatorChart, GRR_Replication, GageEvaluation, Gamma, GetFunctionValues, GetHistogramDataset, GoodnessOfFit, IndividualDistributionIdentification, IndividualDistributionPlots, IndividualValuePlot, Margin, MarkOutOfControl, Mean, Median, MovingRange, MovingRangeChart, NewtonRaphson, ObjectToArray, Point, QEAxisSettings, QEChart, QEChartSettings, QECustomGridline, QEDataCollection, QEDataSet, QELine, QESpecification, QQPlot, QQPlotChart, Range, RoundTO, SerializeData, SixPack, StDev, Sum, UnbiasingConstant, VarianceComponents };
|