Wykres commitów

6 Commity (abb80a5160f88c82bc95fa0d7ddb8f3f13af1240)

Autor SHA1 Wiadomość Data
Name abb80a5160
Sweep.py: add getters and setters for private fields (#659)
* style, Sweep.py: remove a double negation

* style, NanoVNASaver.py: simplify sweepSource computation

* Sweep.py: add getters and setters for private fields

Beware that this commit removes a lock from
SweepSettings.update_tex_power, and adds one to
DeviceSettings.updatecustomPoint.
Both changse may be incorrect, depending on the role of the lock
(issue #657).

Follows: 6eb24f23 d09b55e1 dbea311a

Since d09b55e1, the Properties.name class attribute is overriden by
each assignment to the properties.name instance attribute.
This is most probably unwanted.

This commit

 * removes @dataclass, which is confusing as some attributes are
   managed because of the lock.
   Because of this, it has to restore __repr__ and __eq__.
 * provides getters and setters for private attributes, and
   protects each update by a thread lock
 * adds a regression test for the bug fixed by d09b55e1 (immutable
   properties).
2023-07-30 09:03:06 +02:00
t52ta6ek 20c1e4ec7c
With current firmware, the JNCRadio, SV4401A, SV6301A devices allows 1001 datapoints (#662)
* With current firmware, these JNCRadio_VNA_3G, SV4401A, SV6301A devices allow 1001 datapoints.

Updated datapoints dropdown to show their respective minimums, the 'typical' 101, device default 501 and maximum 1001 points. Users may choose any other values between min and max not seen in the dropdown list using the custom datapoints option.

These devices now use the factory default 501 datapoints as their initial datapoints value.

* cut-paste typo in sweep_points_min (facepalm)
2023-07-26 07:54:31 +02:00
t52ta6ek a4a923a649
Jncradiovna3g - support Sysjoint-Tek / CHELEGANCE JNCRadio VNA 3G (#652)
* Added support for Sysjoint-Tek / CHELEGANCE JNCRadio VNA 3G
   Device reported as JNCRadio and Custom points added under Manage tab.
* Minor change to correct spelling or error msg.
2023-07-05 10:18:51 +02:00
Holger Müller b768a8e01b pyqt6 2023-03-13 12:13:44 +01:00
Holger Müller 50b540a832 used black for reformatting/lintig 2023-03-08 09:40:39 +01:00
Holger Müller b0110002ec moved to pyscaffold directory structure
and fixed resonances analysys crash #608
2023-03-07 21:11:12 +01:00