kopia lustrzana https://github.com/NanoVNA-Saver/nanovna-saver
Minor bugfixes: Example Marker should obey the return loss sign, and bandpass analysis reset needs to reset the center frequency.
rodzic
9ff6c6eb4b
commit
67a743b91c
|
@ -262,7 +262,7 @@ class HighPassAnalysis(Analysis):
|
|||
|
||||
if pass_band_location < 0:
|
||||
logger.debug("No location for %s", self.app.markers[0].name)
|
||||
self.result_label.setText("Please place " + self.app.markers[0].name + " in the passband.")
|
||||
self.result_label.setText("Please place " + self.app.markers[0].name + " in the passband.")
|
||||
return
|
||||
|
||||
pass_band_db = RFTools.gain(self.app.data21[pass_band_location])
|
||||
|
@ -437,6 +437,7 @@ class BandPassAnalysis(Analysis):
|
|||
|
||||
def reset(self):
|
||||
self.result_label.clear()
|
||||
self.center_frequency_label.clear()
|
||||
self.span_label.clear()
|
||||
self.quality_label.clear()
|
||||
self.six_db_span_label.clear()
|
||||
|
|
|
@ -1429,6 +1429,8 @@ class DisplaySettingsWindow(QtWidgets.QWidget):
|
|||
for m in self.app.markers:
|
||||
m.returnloss_is_positive = state
|
||||
m.updateLabels(self.app.data, self.app.data21)
|
||||
self.marker_window.exampleMarker.returnloss_is_positive = state
|
||||
self.marker_window.updateMarker()
|
||||
self.app.s11LogMag.isInverted = state
|
||||
self.app.s11LogMag.update()
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue