mirror of
http://172.16.0.230/r/SIF/TowerOptoSifAndSpectral.git
synced 2025-10-19 19:49:42 +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());
|
std::ofstream outfile(calFile_csv.toStdString().c_str());
|
||||||
for (int i = 0; i < deviceAttribute.iPixels; i++)
|
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 << deviceAttribute.fWaveLengthInNM[i] << "," << m_gain[i] << std::endl;
|
||||||
}
|
}
|
||||||
outfile.close();
|
outfile.close();
|
||||||
|
Reference in New Issue
Block a user