pub fn validate_spectrum_frame_count(
n_values: usize,
n_frames: usize,
kind: SpectrumValueKind,
) -> Result<(), IoError>Expand description
Validate that spectrum values are compatible with the TIFF frame count.
For bin edges: n_values == n_frames + 1.
For bin centers: n_values == n_frames.