注释代码

This commit is contained in:
tangchao0503
2023-06-24 21:35:11 +08:00
parent 96c0da3c36
commit da52f56111

View File

@ -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)
# 将影像所有行平均,得到一行(帧)影像