添加:将定标文件以csv形式输出,以便定标人员确定定标是否成功;

This commit is contained in:
2022-02-25 09:48:11 +08:00
parent eac09d5e8e
commit 70a3c251e3

View File

@ -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();