修复Step3去耀斑模块三大问题:SUGAR分支变量名冲突、Kutser参数默认值错误、波段索引类型统一转为int

This commit is contained in:
DXC
2026-05-09 09:58:50 +08:00
parent 4d23a65a21
commit 56de4b6fc4
2 changed files with 19 additions and 21 deletions

View File

@ -99,24 +99,22 @@ class Step3Panel(QWidget):
self.oxy_band = QSpinBox()
self.oxy_band.setRange(0, 200)
self.oxy_band.setValue(8)
self.oxy_band.setValue(38)
kutser_layout.addRow("氧吸收波段索引:", self.oxy_band)
self.lower_oxy = QDoubleSpinBox()
self.lower_oxy.setDecimals(2)
self.lower_oxy.setRange(0, 1000)
self.lower_oxy.setValue(756.54)
kutser_layout.addRow("下氧吸收波长(nm):", self.lower_oxy)
self.lower_oxy = QSpinBox()
self.lower_oxy.setRange(0, 200)
self.lower_oxy.setValue(36)
kutser_layout.addRow("下氧吸收波段索引:", self.lower_oxy)
self.upper_oxy = QDoubleSpinBox()
self.upper_oxy.setDecimals(2)
self.upper_oxy.setRange(0, 1000)
self.upper_oxy.setValue(766.54)
kutser_layout.addRow("上氧吸收波长(nm):", self.upper_oxy)
self.upper_oxy = QSpinBox()
self.upper_oxy.setRange(0, 200)
self.upper_oxy.setValue(49)
kutser_layout.addRow("上氧吸收波段索引:", self.upper_oxy)
self.nir_band = QSpinBox()
self.nir_band.setRange(0, 200)
self.nir_band.setValue(65)
self.nir_band.setValue(47)
kutser_layout.addRow("NIR波段索引:", self.nir_band)
self.kutser_group.setLayout(kutser_layout)