Holger Müller
9e629f0350
Updated copyright headers
2020-06-25 19:52:30 +02:00
Holger Müller
d0192fa8cf
Linting and Cleanups (F-Strings, Linebreaks)
2020-06-15 09:42:16 +02:00
Holger Mueller
88a37c316b
Enhanced formatting for complex and low digit count
2020-01-22 17:54:34 +01:00
Rune B. Broberg
c1e57c581d
Cleanup
2019-12-17 20:13:28 +01:00
Holger Mueller
5c45f261cb
Merge branch 'upstream_Development' into feature/refactor_marker
2019-12-13 08:30:10 +01:00
Holger Mueller
bd9287b9b9
bugfix: use under and over uprintable strings
2019-12-08 18:25:15 +01:00
Holger Mueller
c258043b3e
SI value formatting
...
- Output string can be limmited now - if a value is outside a given
range an "unprintable" string can be supplied
- The new formatting is used in Marker input field
2019-12-08 18:16:55 +01:00
Rune B. Broberg
28e95a25bc
Minor niggles
2019-12-08 16:32:13 +01:00
Holger Mueller
8daf3a3e72
Moved clamp function to SITools
2019-12-08 13:19:10 +01:00
Holger Mueller
650b107637
Added __int__() method to Value
2019-12-06 19:49:18 +01:00
Holger Mueller
4e020472d8
Merge branch 'master' of github.com:zarath/nanovna-saver
2019-11-30 22:10:21 +01:00
Holger Mueller
1e7faf1b1c
use annotations to express type hint returning self
2019-11-30 22:09:24 +01:00
Holger Mueller
5d188e67cc
Added Value typehint to parse method
2019-11-26 10:14:40 +01:00
Holger Mueller
8e446dcfb6
More SITools tests
...
Added more test for SITools Value
Modified parse semantic a little bit, returns Value object now
2019-11-25 10:33:07 +01:00
Holger Mueller
d1696c594f
SITools: Value now calls parser if input type is str
2019-11-22 10:05:03 +01:00
Holger Mueller
09b364f0f5
SITools: added a format assertion
2019-11-22 09:44:06 +01:00
Holger Mueller
ba3f31e60b
SITools: add min and max for parsing
...
added parse_clamp_min and parse_clamp_min
fixed tests for RFTools
2019-11-22 09:41:04 +01:00
Holger Mueller
a5b10559f1
fixes
2019-11-21 22:56:40 +01:00
Holger Mueller
8216f7d1a0
Fixes
2019-11-21 22:50:52 +01:00
Holger Mueller
91a8e3af2d
get more si precision with using Decimal
2019-11-21 22:25:40 +01:00
Rune Broberg
f3ba3fe3a8
Cleanup
2019-11-20 16:56:09 +01:00
Holger Mueller
c8afac2dc6
Full Precission sweep format
2019-11-18 08:00:45 +01:00
Holger Mueller
e32838d8b8
Use NamedTuple for SI Format
2019-11-12 23:15:33 +01:00
Holger Mueller
8abca59786
Code cleanup / linting
2019-11-12 19:55:54 +01:00
Holger Mueller
3f3862e7e9
sloppy SI parsing to allow common human errors
2019-11-12 15:54:57 +01:00
Rune Broberg
579dd8b482
Fixes for using KHz, khz, Mhz etc.
2019-11-12 11:33:57 +01:00
Rune Broberg
137715b76f
Add group delay as a marker display option
2019-11-11 10:51:24 +01:00
Rune B. Broberg
e942b32d5a
Bug: Number of digits increased on the format object if reusing it
2019-11-10 18:40:37 +01:00
Holger Mueller
a49c2cc146
Added file header
2019-11-10 09:18:45 +01:00
Holger Mueller
48132f61fb
Created SITools Module
...
This module
- converts numbers to strings wih SI prefixed unit represention.
- parses strings with SI values
2019-11-10 09:00:51 +01:00