qesuite 1.0.5 → 1.0.7

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 CHANGED
@@ -209,6 +209,20 @@ 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 LastObservationsChart(data: number[], N: number, title?: string): HTMLCanvasElement;
225
+ declare function CreateCapabilityHistogram(data: number[], specification: QESpecification): HTMLCanvasElement;
212
226
  /** ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
213
227
  */
214
228
  declare const Beta: {
@@ -765,6 +779,21 @@ declare function IndividualDistributionIdentification(data: number[]): {
765
779
  };
766
780
  };
767
781
  };
782
+ declare function IndividualDistributionPlots(data: number[]): {
783
+ summary: HTMLCanvasElement;
784
+ normal: HTMLCanvasElement;
785
+ boxCox: HTMLCanvasElement;
786
+ exponential: HTMLCanvasElement;
787
+ exponential2p: HTMLCanvasElement;
788
+ gamma: HTMLCanvasElement;
789
+ gamma3p: HTMLCanvasElement;
790
+ largestExtremeValue: HTMLCanvasElement;
791
+ logistic: HTMLCanvasElement;
792
+ loglogistic: HTMLCanvasElement;
793
+ lognormal: HTMLCanvasElement;
794
+ smallestExtremeValue: HTMLCanvasElement;
795
+ weibull: HTMLCanvasElement;
796
+ };
768
797
  declare const QQPlot: {
769
798
  p(data: number[], method?: string): number[][];
770
799
  Exponential(p: number): number;
@@ -931,7 +960,7 @@ declare function CreateSplitGraph(charts: QEChart[], title: string, chartSetting
931
960
  * @param title Chart Title
932
961
  * @param chartSettings Chart settings
933
962
  */
934
- declare function CreateSummaryChart(charts: OffscreenCanvas[], title: string): HTMLCanvasElement;
963
+ declare function CreateSummaryChart(charts: HTMLCanvasElement[], title: string): HTMLCanvasElement;
935
964
  /**
936
965
  * Create a scatter plot
937
966
  * @param data An array of data sets to plot
@@ -1038,5 +1067,58 @@ declare function VarianceComponents(ANOVA: any, data: GRR_Data): {
1038
1067
  Contribution: number;
1039
1068
  };
1040
1069
  };
1070
+ declare function G1_Graphs(data: any, tolerance: number, referenceValue: number): {
1071
+ charts: {
1072
+ RunChart: HTMLCanvasElement;
1073
+ };
1074
+ Cg: number;
1075
+ Cgk: number;
1076
+ bias: number;
1077
+ t: number;
1078
+ p: number;
1079
+ };
1080
+ declare function GRR_Graphs(data: any, tolerance: number, name?: string): {
1081
+ GRR: {
1082
+ ANOVA: any;
1083
+ VarComp: {
1084
+ TotalGRR: {
1085
+ VarComp: number;
1086
+ Contribution: number;
1087
+ };
1088
+ Repeatability: {
1089
+ VarComp: number;
1090
+ Contribution: number;
1091
+ };
1092
+ Reproducibility: {
1093
+ VarComp: number;
1094
+ Contribution: number;
1095
+ };
1096
+ Operator: {
1097
+ VarComp: number;
1098
+ Contribution: number;
1099
+ };
1100
+ PartToPart: {
1101
+ VarComp: number;
1102
+ Contribution: number;
1103
+ };
1104
+ TotalVariation: {
1105
+ VarComp: number;
1106
+ Contribution: number;
1107
+ };
1108
+ };
1109
+ GageEvaluation: any;
1110
+ };
1111
+ charts: {
1112
+ Summary: HTMLCanvasElement;
1113
+ VarComp: HTMLCanvasElement;
1114
+ ByPart: HTMLCanvasElement;
1115
+ R: HTMLCanvasElement;
1116
+ ByOperator: HTMLCanvasElement;
1117
+ Xbar: HTMLCanvasElement;
1118
+ PartxOperator: HTMLCanvasElement;
1119
+ };
1120
+ };
1121
+ declare function GRR_ByPartChart(data: GRR_Data): HTMLCanvasElement;
1122
+ declare function GRR_PartxOperatorChart(data: GRR_Data): HTMLCanvasElement;
1041
1123
 
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 };
1124
+ 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, LastObservationsChart, 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,20 @@ 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 LastObservationsChart(data: number[], N: number, title?: string): HTMLCanvasElement;
225
+ declare function CreateCapabilityHistogram(data: number[], specification: QESpecification): HTMLCanvasElement;
212
226
  /** ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
213
227
  */
214
228
  declare const Beta: {
@@ -765,6 +779,21 @@ declare function IndividualDistributionIdentification(data: number[]): {
765
779
  };
766
780
  };
767
781
  };
782
+ declare function IndividualDistributionPlots(data: number[]): {
783
+ summary: HTMLCanvasElement;
784
+ normal: HTMLCanvasElement;
785
+ boxCox: HTMLCanvasElement;
786
+ exponential: HTMLCanvasElement;
787
+ exponential2p: HTMLCanvasElement;
788
+ gamma: HTMLCanvasElement;
789
+ gamma3p: HTMLCanvasElement;
790
+ largestExtremeValue: HTMLCanvasElement;
791
+ logistic: HTMLCanvasElement;
792
+ loglogistic: HTMLCanvasElement;
793
+ lognormal: HTMLCanvasElement;
794
+ smallestExtremeValue: HTMLCanvasElement;
795
+ weibull: HTMLCanvasElement;
796
+ };
768
797
  declare const QQPlot: {
769
798
  p(data: number[], method?: string): number[][];
770
799
  Exponential(p: number): number;
@@ -931,7 +960,7 @@ declare function CreateSplitGraph(charts: QEChart[], title: string, chartSetting
931
960
  * @param title Chart Title
932
961
  * @param chartSettings Chart settings
933
962
  */
934
- declare function CreateSummaryChart(charts: OffscreenCanvas[], title: string): HTMLCanvasElement;
963
+ declare function CreateSummaryChart(charts: HTMLCanvasElement[], title: string): HTMLCanvasElement;
935
964
  /**
936
965
  * Create a scatter plot
937
966
  * @param data An array of data sets to plot
@@ -1038,5 +1067,58 @@ declare function VarianceComponents(ANOVA: any, data: GRR_Data): {
1038
1067
  Contribution: number;
1039
1068
  };
1040
1069
  };
1070
+ declare function G1_Graphs(data: any, tolerance: number, referenceValue: number): {
1071
+ charts: {
1072
+ RunChart: HTMLCanvasElement;
1073
+ };
1074
+ Cg: number;
1075
+ Cgk: number;
1076
+ bias: number;
1077
+ t: number;
1078
+ p: number;
1079
+ };
1080
+ declare function GRR_Graphs(data: any, tolerance: number, name?: string): {
1081
+ GRR: {
1082
+ ANOVA: any;
1083
+ VarComp: {
1084
+ TotalGRR: {
1085
+ VarComp: number;
1086
+ Contribution: number;
1087
+ };
1088
+ Repeatability: {
1089
+ VarComp: number;
1090
+ Contribution: number;
1091
+ };
1092
+ Reproducibility: {
1093
+ VarComp: number;
1094
+ Contribution: number;
1095
+ };
1096
+ Operator: {
1097
+ VarComp: number;
1098
+ Contribution: number;
1099
+ };
1100
+ PartToPart: {
1101
+ VarComp: number;
1102
+ Contribution: number;
1103
+ };
1104
+ TotalVariation: {
1105
+ VarComp: number;
1106
+ Contribution: number;
1107
+ };
1108
+ };
1109
+ GageEvaluation: any;
1110
+ };
1111
+ charts: {
1112
+ Summary: HTMLCanvasElement;
1113
+ VarComp: HTMLCanvasElement;
1114
+ ByPart: HTMLCanvasElement;
1115
+ R: HTMLCanvasElement;
1116
+ ByOperator: HTMLCanvasElement;
1117
+ Xbar: HTMLCanvasElement;
1118
+ PartxOperator: HTMLCanvasElement;
1119
+ };
1120
+ };
1121
+ declare function GRR_ByPartChart(data: GRR_Data): HTMLCanvasElement;
1122
+ declare function GRR_PartxOperatorChart(data: GRR_Data): HTMLCanvasElement;
1041
1123
 
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 };
1124
+ 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, LastObservationsChart, 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 };