From 70a3c251e37db37f9e4a912701f645a0f06e2ef8 Mon Sep 17 00:00:00 2001 From: tangchao Date: Fri, 25 Feb 2022 09:48:11 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=EF=BC=9A=E5=B0=86=E5=AE=9A?= =?UTF-8?q?=E6=A0=87=E6=96=87=E4=BB=B6=E4=BB=A5csv=E5=BD=A2=E5=BC=8F?= =?UTF-8?q?=E8=BE=93=E5=87=BA=EF=BC=8C=E4=BB=A5=E4=BE=BF=E5=AE=9A=E6=A0=87?= =?UTF-8?q?=E4=BA=BA=E5=91=98=E7=A1=AE=E5=AE=9A=E5=AE=9A=E6=A0=87=E6=98=AF?= =?UTF-8?q?=E5=90=A6=E6=88=90=E5=8A=9F=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- othersoft/calibration_console/Source_Files/calibration.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/othersoft/calibration_console/Source_Files/calibration.cpp b/othersoft/calibration_console/Source_Files/calibration.cpp index b6704dc..fe4a7b4 100644 --- a/othersoft/calibration_console/Source_Files/calibration.cpp +++ b/othersoft/calibration_console/Source_Files/calibration.cpp @@ -233,6 +233,11 @@ void CalibrationAlgorithm::produceCalfile(QString calFilePath, DeviceAttribute d std::ofstream outfile(calFile_csv.toStdString().c_str()); for (int i = 0; i < deviceAttribute.iPixels; i++) { + if (i==0) + { + outfile << integratingSphereData.usExposureTimeInMS << std::endl; + } + outfile << deviceAttribute.fWaveLengthInNM[i] << "," << m_gain[i] << std::endl; } outfile.close();