clean unused variable

This commit is contained in:
Yingjie Wang 2023-11-10 02:44:21 -05:00
parent 0b0c8624c5
commit ffb42b8b0e

View File

@ -107,7 +107,6 @@ def sun_spectral(wavelength):
def rainbow(n_theta, temp):
angles, d_theta = np.linspace(0,np.pi/2,n_theta, retstep=True)
mid_angles = angles[:-1] + d_theta
angle_spectral = np.zeros((n_theta, len(colorspace.data_wavelength)))
angle_XYZ = np.zeros((n_theta, 3))