def blackbody_spectrum(T_K):
    'Get the spectrum of a blackbody, as a numpy array.'
    spectrum = ciexyz.empty_spectrum()
    (num_rows, num_cols) = spectrum.shape
    for i in xrange(0, num_rows):
        specific_intensity = blackbody_specific_intensity(spectrum[i][0], T_K)
        spectrum[i][1] = ((specific_intensity * ciexyz.delta_wl_nm) * 1e-09)
    return spectrum
Get the spectrum of a blackbody, as a numpy array.
def blackbody_spectrum(T_K):
    
    spectrum = ciexyz.empty_spectrum()
    (num_rows, num_cols) = spectrum.shape
    for i in xrange(0, num_rows):
        specific_intensity = blackbody_specific_intensity(spectrum[i][0], T_K)
        spectrum[i][1] = ((specific_intensity * ciexyz.delta_wl_nm) * 1e-09)
    return spectrum