format
This commit is contained in:
@ -945,8 +945,6 @@ def run_pyqtgraph(args) -> None:
|
|||||||
curve = p_line.plot(pen=pg.mkPen((80, 120, 255), width=1))
|
curve = p_line.plot(pen=pg.mkPen((80, 120, 255), width=1))
|
||||||
curve_raw_low = p_line.plot(pen=pg.mkPen((255, 90, 90), width=1))
|
curve_raw_low = p_line.plot(pen=pg.mkPen((255, 90, 90), width=1))
|
||||||
curve_raw_high = p_line.plot(pen=pg.mkPen((90, 220, 255), width=1))
|
curve_raw_high = p_line.plot(pen=pg.mkPen((90, 220, 255), width=1))
|
||||||
curve_secondary_ch1 = p_line.plot(pen=pg.mkPen((0, 200, 100), width=1))
|
|
||||||
curve_secondary_ch2 = p_line.plot(pen=pg.mkPen((200, 100, 200), width=1))
|
|
||||||
p_line_aux_vb = None
|
p_line_aux_vb = None
|
||||||
if bin_iq_power_mode:
|
if bin_iq_power_mode:
|
||||||
p_line_aux_vb = pg.ViewBox()
|
p_line_aux_vb = pg.ViewBox()
|
||||||
@ -962,21 +960,29 @@ def run_pyqtgraph(args) -> None:
|
|||||||
curve_aux_2 = pg.PlotDataItem(pen=pg.mkPen((170, 70, 255), width=1))
|
curve_aux_2 = pg.PlotDataItem(pen=pg.mkPen((170, 70, 255), width=1))
|
||||||
curve_aux_3 = pg.PlotDataItem(pen=pg.mkPen((255, 120, 20), width=1))
|
curve_aux_3 = pg.PlotDataItem(pen=pg.mkPen((255, 120, 20), width=1))
|
||||||
curve_aux_4 = pg.PlotDataItem(pen=pg.mkPen((120, 60, 220), width=1))
|
curve_aux_4 = pg.PlotDataItem(pen=pg.mkPen((120, 60, 220), width=1))
|
||||||
|
curve_secondary_ch1 = pg.PlotDataItem(pen=pg.mkPen((0, 200, 100), width=1))
|
||||||
|
curve_secondary_ch2 = pg.PlotDataItem(pen=pg.mkPen((200, 100, 200), width=1))
|
||||||
if p_line_aux_vb is not None:
|
if p_line_aux_vb is not None:
|
||||||
p_line_aux_vb.addItem(curve_aux_1)
|
p_line_aux_vb.addItem(curve_aux_1)
|
||||||
p_line_aux_vb.addItem(curve_aux_2)
|
p_line_aux_vb.addItem(curve_aux_2)
|
||||||
p_line_aux_vb.addItem(curve_aux_3)
|
p_line_aux_vb.addItem(curve_aux_3)
|
||||||
p_line_aux_vb.addItem(curve_aux_4)
|
p_line_aux_vb.addItem(curve_aux_4)
|
||||||
|
p_line_aux_vb.addItem(curve_secondary_ch1)
|
||||||
|
p_line_aux_vb.addItem(curve_secondary_ch2)
|
||||||
else:
|
else:
|
||||||
p_line.addItem(curve_aux_1)
|
p_line.addItem(curve_aux_1)
|
||||||
p_line.addItem(curve_aux_2)
|
p_line.addItem(curve_aux_2)
|
||||||
p_line.addItem(curve_aux_3)
|
p_line.addItem(curve_aux_3)
|
||||||
p_line.addItem(curve_aux_4)
|
p_line.addItem(curve_aux_4)
|
||||||
|
p_line.addItem(curve_secondary_ch1)
|
||||||
|
p_line.addItem(curve_secondary_ch2)
|
||||||
else:
|
else:
|
||||||
curve_aux_1 = p_line.plot(pen=pg.mkPen((255, 170, 40), width=1))
|
curve_aux_1 = p_line.plot(pen=pg.mkPen((255, 170, 40), width=1))
|
||||||
curve_aux_2 = p_line.plot(pen=pg.mkPen((170, 70, 255), width=1))
|
curve_aux_2 = p_line.plot(pen=pg.mkPen((170, 70, 255), width=1))
|
||||||
curve_aux_3 = p_line.plot(pen=pg.mkPen((255, 120, 20), width=1))
|
curve_aux_3 = p_line.plot(pen=pg.mkPen((255, 120, 20), width=1))
|
||||||
curve_aux_4 = p_line.plot(pen=pg.mkPen((120, 60, 220), width=1))
|
curve_aux_4 = p_line.plot(pen=pg.mkPen((120, 60, 220), width=1))
|
||||||
|
curve_secondary_ch1 = p_line.plot(pen=pg.mkPen((0, 200, 100), width=1))
|
||||||
|
curve_secondary_ch2 = p_line.plot(pen=pg.mkPen((200, 100, 200), width=1))
|
||||||
curve_calib = p_line.plot(pen=pg.mkPen((220, 60, 60), width=1))
|
curve_calib = p_line.plot(pen=pg.mkPen((220, 60, 60), width=1))
|
||||||
curve_norm = p_line.plot(pen=pg.mkPen((60, 180, 90), width=1))
|
curve_norm = p_line.plot(pen=pg.mkPen((60, 180, 90), width=1))
|
||||||
p_line.setLabel("bottom", "ГГц")
|
p_line.setLabel("bottom", "ГГц")
|
||||||
|
|||||||
Reference in New Issue
Block a user