Merge remote-tracking branch 'origin/TC'

This commit is contained in:
xin
2022-02-25 09:54:03 +08:00

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