pub fn spectrum_samples_sorted( lambda: &[Float], _vals: &[Float], n: i32) -> bool
Are the values sorted by wavelength?