注释代码
This commit is contained in:
@ -215,10 +215,10 @@ class RadianceCalibration():
|
||||
asd_radiance_interpolated = [f(float(i)) for i in dn_hdr["wavelength"]]
|
||||
asd_radiance_interpolated2 = np.array(asd_radiance_interpolated)
|
||||
|
||||
notuse = np.zeros((asd_radiance_interpolated2.shape[0], 2))
|
||||
notuse[:, 0] = np.array([float(i) for i in dn_hdr["wavelength"]])
|
||||
notuse[:, 1] =asd_radiance_interpolated2
|
||||
np.savetxt(os.path.join(self.out_file_path, "asd_radiance_interpolated.txt"), notuse)
|
||||
# notuse = np.zeros((asd_radiance_interpolated2.shape[0], 2))
|
||||
# notuse[:, 0] = np.array([float(i) for i in dn_hdr["wavelength"]])
|
||||
# notuse[:, 1] =asd_radiance_interpolated2
|
||||
# np.savetxt(os.path.join(self.out_file_path, "asd_radiance_interpolated.txt"), notuse)
|
||||
|
||||
|
||||
# 将影像所有行平均,得到一行(帧)影像
|
||||
|
Reference in New Issue
Block a user