private static LinearMatrix3 generateXYZ2Band() {
double a[][] = new double[3][3];
for (int i = 0; i < 3; i++) {
final int _i = i;
Tuple basis = ColorUtil.XYZ_WAVELENGTHS.map(new Tuple.Function() {
public double apply(double value) {
return MathUtil.inRangeCO(value, (400 + (100 * _i)) * 1e-9, (500 + (100 * _i)) * 1e-9) ? 1.0 : 0.0;
}
});