fix:新增BetaGamma的analyse算法
This commit is contained in:
parent
917a76da41
commit
4a9486ab43
|
@ -1,5 +1,6 @@
|
||||||
package org.jeecg.modules.native_jni;
|
package org.jeecg.modules.native_jni;
|
||||||
|
|
||||||
|
import org.jeecg.modules.native_jni.struct.BgAnalyseResult;
|
||||||
import org.jeecg.modules.native_jni.struct.BgBoundary;
|
import org.jeecg.modules.native_jni.struct.BgBoundary;
|
||||||
import org.jeecg.modules.native_jni.struct.CalcBgBoundaryParam;
|
import org.jeecg.modules.native_jni.struct.CalcBgBoundaryParam;
|
||||||
import org.jeecg.modules.native_jni.struct.EnergySpectrumStruct;
|
import org.jeecg.modules.native_jni.struct.EnergySpectrumStruct;
|
||||||
|
@ -41,4 +42,14 @@ public class EnergySpectrumHandler {
|
||||||
*/
|
*/
|
||||||
public static native List<Double> GetFileFittingData(List<Double> centroid_channel, List<Double> fittingPara);
|
public static native List<Double> GetFileFittingData(List<Double> centroid_channel, List<Double> fittingPara);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* BetaGamma 分析算法
|
||||||
|
* @param sampleFile 样品谱文件
|
||||||
|
* @param gasFile 气体谱文件
|
||||||
|
* @param detFile 探测器本地谱文件
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
public static native BgAnalyseResult bgAnalyse(String sampleFile, String gasFile, String detFile);
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,29 @@
|
||||||
|
package org.jeecg.modules.native_jni.struct;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
public class BgAnalyseResult {
|
||||||
|
/************************** BgMDCPara **************************/
|
||||||
|
/** MDC XE135 */
|
||||||
|
double MDC_Xe135;
|
||||||
|
/** MDC XE131m */
|
||||||
|
double MDC_Xe131m;
|
||||||
|
/** MDC XE133m*/
|
||||||
|
double MDC_Xe133m;
|
||||||
|
/** MDC XE133 */
|
||||||
|
double MDC_Xe133;
|
||||||
|
List<Double> MDC;
|
||||||
|
List<Double> MDC_CTS;
|
||||||
|
|
||||||
|
/************************** BgXeConUncer **************************/
|
||||||
|
/** 135不浓度 */
|
||||||
|
double Xe135_con;
|
||||||
|
/** 135不确定度 */
|
||||||
|
double Xe135_uncer;
|
||||||
|
double Xe131m_con;
|
||||||
|
double Xe131m_uncer;
|
||||||
|
double Xe133m_con;
|
||||||
|
double Xe133m_uncer;
|
||||||
|
double Xe133_con;
|
||||||
|
double Xe133_uncer;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user