mirror of
http://172.16.0.230/r/SIF/TowerOptoSifAndSpectral.git
synced 2025-10-19 03:49:42 +08:00
添加了calibration first
This commit is contained in:
50
othersoft/calibration_console/Header_Files/calibration.h
Normal file
50
othersoft/calibration_console/Header_Files/calibration.h
Normal file
@ -0,0 +1,50 @@
|
||||
#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:
|
||||
|
||||
};
|
Reference in New Issue
Block a user