A method for using a computer in conjunction with photon counting is described. The computer system (University of Michigan Amdahl 470V/6) is not dedicated but the programming gives a fast, efficient, versatile, and accurate calibration of high resolution visible-uv spectra. In addition, the system greatly enhances and facilitates the production of plots of the spectrum, integration of spectral intensities, and signal averaging of weak spectra.