Description
Return mean spectral density over a wavelength bin.
Spectral and radiation quantities depend on their denominator coordinates, reference levels and physical definitions. A density per wavelength changes by a Jacobian when expressed per frequency, and photon counts, radiant energy, exposure and absorbed dose remain different quantities.
Return mean spectral density over a wavelength bin.
When to use this tool
Use Conversion: Spectral Bin Energy To Density when checking the stated spectral, photon, attenuation or radiometric conversion.
How to use the tool and how it works
- Enter binEnergy, lowerWavelength, upperWavelength. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read result. Expand result to inspect the returned fields.
Return mean spectral density over a wavelength bin. Require binEnergy >= 0 and 0 <= lowerWavelength < upperWavelength; binWidth = upper-lower, meanSpectralDensity = energy/width.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| binEnergy | Bin Energy | Required. Finite number. |
| lowerWavelength | Lower Wavelength | Required. Finite number. |
| upperWavelength | Upper Wavelength | Required. Finite number. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| result | Returned calculated value or nested object under the stated output convention. | Required. Object. |
| result.meanSpectralDensity | Mean Spectral Density | Calculated result member: number. |
| result.binWidth | Bin Width | Calculated result member: number. |
{
"input": {
"binEnergy": 6,
"lowerWavelength": 2,
"upperWavelength": 5
},
"output": {
"result": {
"meanSpectralDensity": 2,
"binWidth": 3
}
}
} Limitations and assumptions
- Wavelength units set the density denominator; no spectral shape or pointwise value is recovered from a bin total.
- Outputs are nested inside result. 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
Use a complete spectrum, measurement calibration and appropriate physical interaction model for integration, uncertainty or exposure interpretation.
References
Similar or alternative tools
- Spectral Angular Frequency Frequency Density
Convert density per angular frequency to density per hertz.
- Power Spectral Density Amplitude Root Factor
Return amplitude spectral density from nonnegative power spectral density.