mirror of
http://172.16.0.230/r/SIF/TowerOptoSifAndSpectral.git
synced 2025-10-23 04:59:42 +08:00
更新支持使用asd测定的积分球标准能量曲线
This commit is contained in:
@ -186,7 +186,7 @@ void CalibrationAlgorithm::readAndResample_StandardLightFile(QString filePath, i
|
||||
// outfile2 << m_dStandardLightDataBase << std::endl;
|
||||
// }
|
||||
//
|
||||
// outfile2 << deviceAttribute.fWaveLengthInNM[i] << "," << dTemp << std::endl;
|
||||
// outfile2 << deviceAttribute.fWaveLengthInNM[i] << "," << m_dStandardLightDataResampled[i] << std::endl;
|
||||
// }
|
||||
// outfile2.close();
|
||||
}
|
||||
@ -228,14 +228,14 @@ void CalibrationAlgorithm::produceCalfile(QString calFilePath, DeviceAttribute d
|
||||
fclose(calFileHandle);
|
||||
|
||||
|
||||
// //д<>뵽CSV<53>ļ<EFBFBD>
|
||||
// QString calFile_csv = calFilePath.split(".")[0] + ".csv";
|
||||
// std::ofstream outfile(calFile_csv.toStdString().c_str());
|
||||
// for (int i = 0; i < deviceAttribute.iPixels; i++)
|
||||
// {
|
||||
// outfile << deviceAttribute.fWaveLengthInNM[i] << "," << m_gain[i] << std::endl;
|
||||
// }
|
||||
// outfile.close();
|
||||
//д<>뵽CSV<53>ļ<EFBFBD>
|
||||
QString calFile_csv = calFilePath.split(".")[0] + ".csv";
|
||||
std::ofstream outfile(calFile_csv.toStdString().c_str());
|
||||
for (int i = 0; i < deviceAttribute.iPixels; i++)
|
||||
{
|
||||
outfile << deviceAttribute.fWaveLengthInNM[i] << "," << m_gain[i] << std::endl;
|
||||
}
|
||||
outfile.close();
|
||||
|
||||
delete[] m_gain;
|
||||
}
|
||||
|
Reference in New Issue
Block a user