mirror of
http://172.16.0.230/r/SIF/TowerOptoSifAndSpectral.git
synced 2025-10-24 05:19:43 +08:00
50 lines
991 B
C
50 lines
991 B
C
|
#pragma once
|
|||
|
#include <qthread.h>
|
|||
|
//#include <QFileDialog>
|
|||
|
#include <QFile>
|
|||
|
#include <QFileInfo>
|
|||
|
#include <QDateTime>
|
|||
|
|
|||
|
#include <iostream>
|
|||
|
#include <fstream>
|
|||
|
|
|||
|
#include "ZZ_Types.h"
|
|||
|
#include "ZZ_Math.h"
|
|||
|
//#include "Dense"
|
|||
|
#include "Eigen/Dense"
|
|||
|
#include "unsupported/Eigen/Splines"
|
|||
|
|
|||
|
using namespace ZZ_MISCDEF::IRIS::FS;
|
|||
|
|
|||
|
class CalibrationAlgorithm :public QObject
|
|||
|
{
|
|||
|
Q_OBJECT
|
|||
|
|
|||
|
public:
|
|||
|
CalibrationAlgorithm();
|
|||
|
~CalibrationAlgorithm();
|
|||
|
|
|||
|
void readFile(QString filePath, DeviceAttribute deviceAttribute, DeviceInfo deviceInfo);
|
|||
|
|
|||
|
void produceCalfile(QString calFilePath, DeviceAttribute deviceAttribute, DataFrame integratingSphereData, DataFrame darkData);
|
|||
|
|
|||
|
|
|||
|
protected:
|
|||
|
private:
|
|||
|
double m_dStandardLightDataBase;//<2F><><EFBFBD><D7BC><EFBFBD>ļ<EFBFBD><C4BC>Ļ<EFBFBD><EFBFBD><D7BC><EFBFBD><EFBFBD>
|
|||
|
double * m_dStandardLightWavelength;
|
|||
|
double * m_dStandardLightData;
|
|||
|
|
|||
|
double * m_dStandardLightWavelengthResampled;
|
|||
|
double * m_dStandardLightDataResampled;
|
|||
|
|
|||
|
double * m_gain;
|
|||
|
double * m_offset;
|
|||
|
|
|||
|
public slots:
|
|||
|
|
|||
|
|
|||
|
|
|||
|
signals:
|
|||
|
|
|||
|
};
|