double wavelength = lambda.getWavelength();
double value;
if (wavelength < 400e-9) {
value = 0.0;
} else if (wavelength < 500e-9) {
value = Math.max(0.0, band.x());
} else if (wavelength < 600e-9) {
value = Math.max(0.0, band.y());
} else if (wavelength < 700e-9) {
value = Math.max(0.0, band.z());
} else { // wavelength >= 700e-9