Evenness Defects Per KM Counter
Count contiguous thin/thick yarn episodes rather than every sample, normalizing by inspected length and reporting out-of-band length; thresholds are caller method definitions.
Description
Consecutive thin or thick yarn samples can represent one defect episode.
Consecutive thin or thick yarn samples can represent one defect episode. Counting every sample would depend on sampling resolution.
Count contiguous thin/thick yarn episodes rather than every sample, normalizing by inspected length and reporting out-of-band length; thresholds are caller method definitions.
When to use Evenness Defects Per KM Counter
Use this tool to count contiguous thin/thick yarn episodes rather than every sample, normalizing by inspected length and reporting out-of-band length; thresholds are caller method definitions.
Prepare cocoon, larval, leaf or reeling measurements on a consistent batch and moisture basis. Use the declared mass, length and time units.
How to use Evenness Defects Per KM Counter and understand its results
- Prepare cocoon, larval, leaf or reeling measurements on a consistent batch and moisture basis. Use the declared mass, length and time units.
- Enter segmentLengthsM, relativeLinearDensities, thinThresholdRatio, thickThresholdRatio using the field table and calculation rules, then run the tool.
- Read thinEventCount, thickEventCount, thinEventsPerKm, thickEventsPerKm, outOfBandLengthFraction. The explanation below defines the units, signs, ordering and any flags or placeholder values.
- If the tool reports an input issue, correct the values and run it again. Apply the stated assumptions when interpreting a successfully returned result.
| Input field | Meaning | Value type; see rules below | Requirement |
|---|---|---|---|
| segmentLengthsM | Segment lengths m | list of number | Required |
| relativeLinearDensities | Relative linear densities | list of number | Required |
| thinThresholdRatio | Thin threshold ratio | number | Required |
| thickThresholdRatio | Thick threshold ratio | number | Required |
Align positive segment lengths with nonnegative relative densities. Require a positive thin threshold below one and thick threshold above one. Strict crossings form classes; a class change starts a new event. Return episode counts, rates and out-of-band length fraction.1
Paired lists must be nonempty and have equal lengths.
defects/km = contiguous class episodes × 1000/inspected meters Units, indexing, boundary conditions and exceptional cases are defined in the calculation rules above.
| Output field | Meaning | Value type |
|---|---|---|
| thinEventCount | Thin event count | number |
| thickEventCount | Thick event count | number |
| thinEventsPerKm | Thin events per km | number |
| thickEventsPerKm | Thick events per km | number |
| outOfBandLengthFraction | Out of band length fraction | number |
{
"input": {
"segmentLengthsM": [
100,
200,
100
],
"relativeLinearDensities": [
0.7,
0.8,
1.3
],
"thinThresholdRatio": 0.9,
"thickThresholdRatio": 1.2
},
"output": {
"thinEventCount": 1,
"thickEventCount": 1,
"thinEventsPerKm": 2.5,
"thickEventsPerKm": 2.5,
"outOfBandLengthFraction": 1
}
} Limitations and assumptions
Thresholds define the caller method; no universal grade is assigned.
Numbers and computed results must be finite; overflow produces an error. Numeric lists are limited to 100,000 entries; the rules above may require smaller limits. Missing required fields, extra fields, wrong value types and violations of the calculation rules are input errors.
Alternative or Complementary methods
Use Tenacity From Breaking Force: Normalize matched yarn breaking force to cN/tex and audit a caller threshold; force is not fabric strength and method conditioning is external. For a complementary task, use Denier From Length Weight: Infer filament denier as grams per 9000 meters, returning sample values and length-weighted pooled linear density; redundant denier/tex conversion aliases excluded.
References
-
Evenness Defects Per KM Counter — tool.io
Similar or alternative tools
- Tenacity From Breaking Force
Normalize matched yarn breaking force to cN/tex and audit a caller threshold; force is not fabric strength and method conditioning is external.
- Denier From Length Weight
Infer filament denier as grams per 9000 meters, returning sample values and length-weighted pooled linear density; redundant denier/tex conversion aliases excluded.