added tnmh; some bugfixes
This commit is contained in:
@ -800,6 +800,25 @@ class UpperManagement(QtCore.QObject):
|
||||
set_id_list.append(self.add(v))
|
||||
self.newData.emit(set_id_list, graph_id)
|
||||
|
||||
elif dtype == 'tnmh':
|
||||
set_id_list = []
|
||||
graph_id = dic1.pop('graph')
|
||||
for k, (tg, fit) in dic1.items():
|
||||
p: ExperimentContainer = self[k]
|
||||
col = p.plot_real.linecolor
|
||||
|
||||
tg_data_id = []
|
||||
|
||||
if tg is not None:
|
||||
set_id_list.append(self.add(tg, color=col))
|
||||
|
||||
set_id = self.add(fit, color=col)
|
||||
self[set_id].setLine(style=LineStyle.Dashed)
|
||||
self[set_id].setSymbol(symbol=SymbolStyle.No)
|
||||
set_id_list.append(set_id)
|
||||
|
||||
self.newData.emit(set_id_list, graph_id)
|
||||
|
||||
@QtCore.pyqtSlot(int, dict)
|
||||
def smooth_data(self, npoints, param_kwargs):
|
||||
_active = self.graphs[self.current_graph].active
|
||||
|
Reference in New Issue
Block a user