Skip to main content

Module field_spectrum

Module field_spectrum 

Source
Expand description

Full-spectrum physical axes and explicit SI conversions; independent of display bands. Candidate physical spectral axes over the full representable positive spectrum. No sensor/manufacturer, frequency-band or colour-display dependency. Schema132 references field data; this adds no new .10d/.emf magic or duplicated cell store. Static/aperiodic fields have no carrier axis and must not substitute zero Hz.

Structs§

AxisView
Borrowed physical coordinates; sigma labels do not replace or infer these data.
ConvertedBin
A derived ascending bin with explicit source-to-target order. Original edges and source values remain untouched. Integral units retain radiance/irradiance.
Coordinates
DensityJacobian
Limits
NoResponse
WorkBudget
Response providers must charge their own variable work before performing it.

Enums§

AxisKind
AxisOrder
DensityCoordinate
Nanometres are explicit DERIVED density units; schema132 coordinates stay SI.
Error
Quantity
Exact candidate quantity spellings; aliases are not silently admitted.
SampleSemantics
SigmaInterpretation

Constants§

ELECTRON_VOLT_JOULE
PLANCK_JOULE_SECOND
SCHEMA_ID
VACUUM_SPEED_OF_LIGHT_M_PER_S
Exact SI defining constants, represented in f64 (normal rounding applies).

Traits§

ResponseValidator
Must resolve the exact nonzero metadata ID to a SUPPORTED typed response schema/profile, declared quantity/unit and explicit normalization. Unknown is never a flat response. This is a registry hook, not a default response model.

Functions§

admit_axis
convert_bin_average
density_coordinate_jacobian
|d(source coordinate)/d(target coordinate)|, using source units as declared. This helper is exclusively for point densities. Bin averages must preserve their integral and divide by the NEW bin width, not reuse a point derivative. Reflectance and bin integrals are not densities and reject this operation.
density_per_metre_to_per_nanometre
Explicit per-metre to per-nanometre derived values (factor1e-9). Linear unit scaling also applies to density bin averages, never to integrals.
density_per_nanometre_to_per_metre
frequency_hz_to_photon_energy_ev
frequency_hz_to_photon_energy_j
frequency_hz_to_vacuum_wavelength_m
Positive carrier only; static/aperiodic fields must retain absence instead.
photon_energy_j_to_frequency_hz
photon_energy_j_to_vacuum_wavelength_m
schema_rules
A family registry can expose these rules, then call admit_axis with its true N.
vacuum_wavelength_m_to_frequency_hz
vacuum_wavelength_m_to_photon_energy_j