NanoVNASaver.Settings package

Submodules

NanoVNASaver.Settings.Bands module

class NanoVNASaver.Settings.Bands.BandsModel[source]

Bases: QAbstractTableModel

addRow()[source]
color = <PyQt6.QtGui.QColor object>
columnCount(self, parent: QModelIndex = QModelIndex()) int[source]
data(self, index: QModelIndex, role: int = Qt.DisplayRole) Any[source]
flags(self, index: QModelIndex) Qt.ItemFlag[source]
headerData(self, section: int, orientation: Qt.Orientation, role: int = Qt.DisplayRole) Any[source]
index(self, row: int, column: int, parent: QModelIndex = QModelIndex()) QModelIndex[source]
removeRow(self, row: int, parent: QModelIndex = QModelIndex()) bool[source]
resetBands()[source]
rowCount(self, parent: QModelIndex = QModelIndex()) int[source]
saveSettings()[source]
setColor(color)[source]
setData(self, index: QModelIndex, value: Any, role: int = Qt.EditRole) bool[source]

NanoVNASaver.Settings.Sweep module

class NanoVNASaver.Settings.Sweep.Properties(name, mode, averages, logarithmic)[source]

Bases: NamedTuple

averages: tuple[int, int]

Alias for field number 2

logarithmic: bool

Alias for field number 3

mode: SweepMode

Alias for field number 1

name: str

Alias for field number 0

class NanoVNASaver.Settings.Sweep.Sweep(start: int = 3600000, end: int = 30000000, points: int = 101, segments: int = 1, properties: Properties = ('', SweepMode.SINGLE, (3, 0), False))[source]

Bases: object

check()[source]
copy() Sweep[source]
property end: int
get_frequencies() Iterator[int][source]
get_index_range(index: int) tuple[int, int][source]
property points: int
property properties: Properties
property segments: int
set_averages(amount: int, truncates: int) None[source]
set_logarithmic(logarithmic: bool) None[source]
set_mode(mode: SweepMode) None[source]
set_name(name: str) None[source]
set_points(points: int) None[source]
property span: int
property start: int
property stepsize: int
update(start: int, end: int, segments: int, points: int) None[source]
class NanoVNASaver.Settings.Sweep.SweepMode(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: Enum

AVERAGE = 2
CONTINOUS = 1
SINGLE = 0

Module contents