Text this: Calibration method for the wavelength and uniformity of pixel response in photodetector arrays