beta功能Extrapolation页面分析功能poly2对应线形图返回数据错误问题修改

This commit is contained in:
qiaoqinzheng 2023-10-23 11:38:46 +08:00
parent f486d4e994
commit fd7a0113e6

View File

@ -2344,9 +2344,9 @@ public class SpectrumAnalysisServiceImpl implements ISpectrumAnalysisService {
SeriseData temp = new SeriseData();
List<Double> data = new LinkedList<>();
List<Double> rData = new LinkedList<>();
data.add(pos*maxBottom/50);
data.add(i*maxBottom/50);
rData = EnergySpectrumHandler.GetFittingData(data,fittype,fittingPara);
temp.setX(pos*maxBottom/50);
temp.setX(i*maxBottom/50);
temp.setY(rData.get(0));
line_serise_data.add(temp);
}