clean unused variable
This commit is contained in:
parent
0b0c8624c5
commit
ffb42b8b0e
@ -107,7 +107,6 @@ def sun_spectral(wavelength):
|
|||||||
|
|
||||||
def rainbow(n_theta, temp):
|
def rainbow(n_theta, temp):
|
||||||
angles, d_theta = np.linspace(0,np.pi/2,n_theta, retstep=True)
|
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_spectral = np.zeros((n_theta, len(colorspace.data_wavelength)))
|
||||||
angle_XYZ = np.zeros((n_theta, 3))
|
angle_XYZ = np.zeros((n_theta, 3))
|
||||||
|
Loading…
Reference in New Issue
Block a user