Skip to content

Main content

Fish Length Frequency Bin

Check a supplied fish length against explicit bin boundaries and a caller-selected upper-edge convention.

Loading tool…

Description

Check a fish-length record against a supplied bin with optional upper inclusion.

Fish records distinguish morphometric length definitions, relative image scales, annulus labels, detection times and survey-effort geometry. A supplied conversion factor need not apply across species or sizes. Local labels, ratios and nominal swept areas organize observations without identifying a fish, determining age or estimating abundance.

Check a fish-length record against a supplied bin with optional upper inclusion.

When to use this tool

Use Fish Length Frequency Bin when you already have fishLength, lowerEdge, upperEdge, includeUpper and need to check a fish-length record against a supplied bin with optional upper inclusion.

How to use the tool and how it works

  1. Enter fishLength, lowerEdge, upperEdge, includeUpper. Use the units and conventions below.
  2. Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
  3. Read inside. Inspect inside before interpreting the associated values.

Require fishLength/lowerEdge>=0 and upperEdge>lower; include the lower edge and include the upper only when includeUpper=true.1

Input fieldMeaning and unitsAccepted input
fishLengthFish LengthRequired. Finite number; minimum 0.
lowerEdgeLower EdgeRequired. Finite number; minimum 0.
upperEdgeUpper EdgeRequired. Finite number.
includeUpperControls the upper endpoint; lowerEdge is always included.Required. Boolean.
Output fieldInterpretationReturned shape
insideInsideRequired. Boolean.
json
{
  "input": {
    "fishLength": 15,
    "lowerEdge": 10,
    "upperEdge": 20,
    "includeUpper": false
  },
  "output": {
    "inside": true
  }
}

Limitations and assumptions

  • Bins are supplied; no length-frequency distribution, measurement validity or biological class is inferred.
  • Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
  • Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Numeric signed-zero results are exported as zero.

Alternative or Complementary methods

Inspect original specimens, images, reference definitions and survey logs when verifying observations. Use a complete species-appropriate measurement or population method for age, abundance or condition questions; local scales and effort terms preserve only their stated basis.

References

  1. Calculation and input contract: ichthyology/fish-length-frequency-bin — tool.io

Similar or alternative tools