mirror of
http://172.16.0.230/r/SIF/TowerOptoSifAndSpectral.git
synced 2025-10-18 19:39:43 +08:00
添加:将定标文件以csv形式输出,以便定标人员确定定标是否成功;
This commit is contained in:
@ -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();
|
||||
|
Reference in New Issue
Block a user