add getMeasurementMetaData
This commit is contained in:
64
src/common/getMeasurementMetaData.h
Normal file
64
src/common/getMeasurementMetaData.h
Normal file
@@ -0,0 +1,64 @@
|
||||
#ifndef GET_MEASUREMENT_METADATA_H
|
||||
#define GET_MEASUREMENT_METADATA_H
|
||||
|
||||
#include "Data/TemperatureData.h"
|
||||
#include "Matrix.h"
|
||||
|
||||
class Parser;
|
||||
|
||||
namespace Recon
|
||||
{
|
||||
struct MeasurementInfo
|
||||
{
|
||||
unsigned int numberSamples;
|
||||
bool Bandpassundersampling;
|
||||
unsigned int sampleRate;
|
||||
std::string ascanDataType;
|
||||
std::string Hardware;
|
||||
std::string HardwareVersion;
|
||||
int EOffset;
|
||||
int Wavelength;
|
||||
unsigned int expectedAScanLength;
|
||||
std::string rootMeasUniqueID;
|
||||
};
|
||||
|
||||
struct CEInfo
|
||||
{
|
||||
Aurora::Matrix ce;
|
||||
double ceOffSet;
|
||||
double ce_sf;
|
||||
Aurora::Matrix tasIndices;
|
||||
Aurora::Matrix receiverIndices;
|
||||
Aurora::Matrix ceRef;
|
||||
double ceRefOffSet;
|
||||
double ceRef_sf;
|
||||
bool measuredCEUsed;
|
||||
bool measuredCEAvailable;
|
||||
bool ceAvailable;
|
||||
double offsetFilterEnabled;
|
||||
double offsetFilterDisabled;
|
||||
};
|
||||
|
||||
struct TempInfo
|
||||
{
|
||||
Aurora::Matrix jumoTemp;
|
||||
Aurora::Matrix tasTemperature;
|
||||
Aurora::Matrix expectedTemp;
|
||||
Aurora::Matrix expectedSOSWater;
|
||||
};
|
||||
|
||||
struct TransFormInfo
|
||||
{
|
||||
Aurora::Matrix rotationMatrix;
|
||||
Aurora::Matrix motorPos;
|
||||
};
|
||||
|
||||
//无用函数
|
||||
Aurora::Matrix getAvailableMotorPositions(Parser* aParser);
|
||||
MeasurementInfo loadMeasurementInfos(Parser* aParser);
|
||||
TransFormInfo getTransformationMatrix(Parser* aParser, const Aurora::Matrix& aMotorPosList);
|
||||
TempInfo getTemperatureInfo(Parser* aParser, double aNumTas);
|
||||
CEInfo getCEInfo(Parser* aParser, const MeasurementInfo aInfo);
|
||||
|
||||
}
|
||||
#endif // !GET_MEASUREMENT_METADATA_H
|
||||
Reference in New Issue
Block a user