Description
Sum mass times (1-moisture), separately for supported rows, then return their ratio or zero with defined false when total dry mass is zero.
Geochemical mass calculations distinguish wet sample, dry sample, ash, digest, and crucible-inclusive measurements. Moisture fractions and dilution factors change the reporting basis; they do not establish recovery, analyte retention, or laboratory accuracy.
Sum mass times (1-moisture), separately for supported rows, then return their ratio or zero with defined false when total dry mass is zero.
When to use this tool
Use Sample Dry Mass Support Share when you need an explicit sample-mass or concentration-basis calculation.
How to use the tool and how it works
- Enter wetMasses, moistureFractions, supported. Keep parallel arrays aligned. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read dryMass, supportedDryMass, share, defined. Inspect defined before interpreting the associated values.
Require equally long wetMasses, moistureFractions, and supported arrays, with nonnegative masses and moisture fractions in [0, 1]. Sum mass times (1-moisture), separately for supported rows, then return their ratio or zero with defined false when total dry mass is zero.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| wetMasses | Wet Masses | Required. Array of finite number; minimum 0; maximum items 256. |
| moistureFractions | Moisture Fractions | Required. Array of finite number; maximum items 256. |
| supported | Caller-supplied support flag, not an independently verified evidence assessment. | Required. Array of boolean; maximum items 256. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| dryMass | Dry Mass | Required. Finite number. |
| supportedDryMass | Supported Dry Mass | Required. Finite number. |
| share | Dimensionless share on the numerator and denominator basis stated above. | Required. Finite number. |
| defined | Whether the stated denominator or normalization exists; inspect before interpreting a zero placeholder. | Required. Boolean. |
{
"input": {
"wetMasses": [
10,
20
],
"moistureFractions": [
0.2,
0.5
],
"supported": [
true,
false
]
},
"output": {
"dryMass": 18,
"supportedDryMass": 8,
"share": 0.4444444444444444,
"defined": true
}
} Limitations and assumptions
- Moisture is a wet-mass fraction rather than a percentage or dry-basis ratio. Support flags are supplied metadata; the zero placeholder needs its defined flag and does not validate laboratory provenance.
- 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
Check the analytical preparation and measurement records for blanks, recovery, moisture, and mass basis. Use the laboratory's validated procedure for actual sample interpretation.
References
Similar or alternative tools
- Geochemical Dry Wet Concentration Crosswalk
Return solidsFraction as one minus water fraction and dryConcentration as wetConcentration divided by solidsFraction.
- Loss On Ignition Mass Gap
Return before minus after as measuredLoss, and measuredLoss minus referenceLoss as residual.