From da52f561118e0ebe257eb585e2242ff7b77a1723 Mon Sep 17 00:00:00 2001 From: tangchao0503 <735056338@qq.com> Date: Sat, 24 Jun 2023 21:35:11 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B3=A8=E9=87=8A=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 1.1radiance_calibration_300tc.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/1.1radiance_calibration_300tc.py b/1.1radiance_calibration_300tc.py index 32d3758..a27a729 100644 --- a/1.1radiance_calibration_300tc.py +++ b/1.1radiance_calibration_300tc.py @@ -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) # 将影像所有行平均,得到一行(帧)影像