Description
Return leaf length under a petiole-inclusion policy.
Botanical measurements use explicit specimen geometry, pixel scales, length origins and angular direction. A projected-area ratio or geometric contribution summarizes supplied measurements without identifying a species, recovering an actual shape or establishing biological health.
Return leaf length under a petiole-inclusion policy.
When to use this tool
Use Leaf Petiole Inclusion Base Flag when checking the stated plant-measurement, geometry or angular convention.
How to use the tool and how it works
- Enter bladeLength, petioleLength, includePetiole. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read reportedLength, petioleFraction. Use the output convention below.
Return leaf length under a petiole-inclusion policy. Require nonnegative blade/petiole lengths with positive sum; reportedLength adds petiole only when includePetiole, petioleFraction always divides petiole by blade+petiole.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| bladeLength | Blade Length | Required. Finite number; minimum 0. |
| petioleLength | Petiole Length | Required. Finite number; minimum 0. |
| includePetiole | Include Petiole | Required. Boolean. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| reportedLength | Reported Length | Required. Finite number. |
| petioleFraction | Petiole divided by full blade-plus-petiole length, independently of reportedLength policy. | Required. Finite number. |
{
"input": {
"bladeLength": 8,
"petioleLength": 2,
"includePetiole": true
},
"output": {
"reportedLength": 10,
"petioleFraction": 0.2
}
} Limitations and assumptions
- Reported and fraction denominators follow different explicit bases; no botanical measurement protocol or leaf morphology is verified.
- 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 the specimen and measurement protocol, apply verified calibration and use an appropriate biological or geometric model for substantive interpretation.
References
Similar or alternative tools
- Leaf Outline Solidity
Return leaf-outline solidity and convex-area deficit.
- Stem Taper Two Diameter Volume Term
Return outer and under-bark frustum stem volumes.