For test
Fork of MyTest by
Embed:
(wiki syntax)
Show/hide line numbers
cal_const.h
00001 // cal_const.h 00002 // Header file of cal_const.c 00003 00004 00005 // Version history 00006 // Version Date Author Remarks 00007 // -------------------------------------------------------------------------------------------------------------------------------- 00008 // 1.0 14-09-25 Jason Shen Initial 00009 00010 00011 #ifndef CAL_CONST_H 00012 #define CAL_CONST_H 00013 00014 #include "calculate.h" 00015 00016 #define CALI_CONST_IR_TAB_NUM 35 // Number of table for IR 00017 #define TEMP_CO_NUM 2 00018 #define GAIN_OFS_NUM 2 00019 00020 struct CalibrationConstants // Store the calibration constants 00021 { 00022 float Td0; // Detector temperature when calibrating 25oC 00023 float Ofs; // Offset for 1M table 00024 float En [CALI_CONST_IR_TAB_NUM]; // Table of energy of target 1M 00025 float ToS [CALI_CONST_IR_TAB_NUM]; // Table of temperature, IR 00026 float TempCo [TEMP_CO_NUM]; // Detector responsibility temp coefficient 00027 float GainOfs [GAIN_OFS_NUM]; // amp channel gain and offset 00028 float TempSHi; // Temperature range high limit in S (0.1S) 00029 float TempSLo; // Temperature range low limit in S (0.1S) 00030 }; 00031 00032 extern const struct CalibrationConstants CalConst_1M, CalConst_2M; 00033 00034 #endif
Generated on Tue Aug 2 2022 11:31:31 by
1.7.2
