Holger Mueller
cb1ef3608c
Fix Bug #158
...
Test for gamma of 1+0j
2020-02-15 20:27:14 +01:00
Rune Broberg
707bd792c7
Make the gain function return -inf if the magnitude of Z is 0
2020-02-10 10:30:19 +01:00
Holger Mueller
88a37c316b
Enhanced formatting for complex and low digit count
2020-01-22 17:54:34 +01:00
Rune B. Broberg
67c1b5c551
Through cal is not reflective. Impedance transformation mustn't fail on divide by zero. TDR charts should work even if set to zero span.
2020-01-06 21:46:56 +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
ca23f8ff2d
Clamp frequency input to only positive values
2019-12-08 21:20:04 +01:00
Rune B. Broberg
28e95a25bc
Minor niggles
2019-12-08 16:32:13 +01:00
Rune B. Broberg
899886e8d8
Added back k/m to impedance display
...
Fixed some style issues.
2019-12-08 16:29:55 +01:00
Holger Mueller
8daf3a3e72
Moved clamp function to SITools
2019-12-08 13:19:10 +01:00
Holger Mueller
42263aa1f2
Refactored Marker formatting
2019-12-07 23:22:54 +01:00
Holger Mueller
bfca29016d
Moved special formattings out of RFTools
2019-12-06 19:50:06 +01:00
Holger Mueller
b5ca88e2c8
Merge upstream/Development
2019-12-05 13:42:02 +01:00
Holger Mueller
c1c33d1100
Refactored formattings in Marker
2019-12-02 09:39:30 +01:00
Holger Mueller
188cf7b5f9
More unittests
2019-12-01 17:59:15 +01:00
Holger Mueller
bb2cf2f2a0
RFTools: adding reversing fuction
...
- added norm_to_impedance
- corrected a faulty function descrition
2019-11-29 13:07:47 +01:00
Rune Broberg
28bab998ec
Reverting VSWR calculation for compatibility.
2019-11-27 15:53:57 +01:00
Holger Mueller
5cc454da14
Pep8 cleanups
2019-11-25 11:00:30 +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
9e09f8ec9f
fixed typo
2019-11-24 17:48:15 +01:00
Holger Mueller
42594da396
Merge branch 'upstream_Development' into feature/si_use_decimal
2019-11-24 17:35:35 +01:00
Rune B. Broberg
43f412f7f2
Reset reference on the combined logmag chart fixed
2019-11-24 14:27:39 +01:00
Holger Mueller
0d99293e98
Code cleanups
...
moved groupDelay out of unneeded RFTools class
splited some Marker code to functions
2019-11-23 11:45:34 +01:00
Rune Broberg
394b65f844
Consistent naming with the rest of the software.
2019-11-20 16:53:56 +01:00
mihtjel
a60208aab3
Merge pull request #97 from zarath/refactor/RFTools
...
Refactor/rf tools
2019-11-18 09:12:18 +01:00
Holger Mueller
c8afac2dc6
Full Precission sweep format
2019-11-18 08:00:45 +01:00
Holger Mueller
d00ef61aee
RFTools: renamed clamp function
...
renamed and allow numbers.Real as parameters
2019-11-17 15:56:43 +01:00
Holger Mueller
50dcf944b8
Renamed to_methods to methods
2019-11-17 14:42:12 +01:00
Holger Mueller
6b2506ff4b
Replaced RFTools.normalize50 by Datapoint method
2019-11-17 14:25:53 +01:00
Holger Mueller
10399ad8c4
Replaced RFTools.qualityFactor by q_factor method
2019-11-17 14:02:12 +01:00
Holger Mueller
8dd67ac85e
Replaced RFTools.gain by Datapoint property
2019-11-17 13:51:20 +01:00
Holger Mueller
2405408eec
Make gain a datapoint property
2019-11-17 12:55:45 +01:00
Holger Mueller
b52fa930a6
Make vswr a datapoint property
2019-11-17 12:53:59 +01:00
Holger Mueller
f6d614b247
Replaced RFTools.calculateVSWR by Datapoint method
2019-11-17 12:33:31 +01:00
Holger Mueller
9bb42ffc29
refactored phaseAngle methods
2019-11-16 15:33:11 +01:00
Holger Mueller
ae4fb3dcca
Added phase property to RFTools.Datapoint
2019-11-15 12:55:54 +01:00
Holger Mueller
ea344eda45
added methods to Datatapoint
...
added RFTools conversation functions to Datapoint class
2019-11-15 12:43:18 +01:00
Holger Mueller
0f4af45bfe
RFTools: added generic gamma to impedance funtion
2019-11-13 20:50:19 +01:00
Holger Mueller
43cd92bdcf
Use python native complex numbers in RFTools
2019-11-13 18:55:06 +01:00
Holger Mueller
9fc0f9fc2b
Fixed: add classname to staticmethod
2019-11-12 22:03:56 +01:00
Holger Mueller
6e97270ca2
Fixed bug in group delay
...
Group delay was misscalculated at upper boundary.
Now using a clamp function to make method even more robust
against index errors
2019-11-12 21:29:32 +01:00
Holger Mueller
57d73fac94
RFTools code cleanup
...
linting
removed code doublings by adjusting index in group delay method
2019-11-12 20:20:44 +01:00
Holger Mueller
3f3862e7e9
sloppy SI parsing to allow common human errors
2019-11-12 15:54:57 +01:00
Rune B. Broberg
ba1a644e39
Scroll speed reduced.
...
Made Group Delay charts work correctly.
Made Group Delay marker calculations work correctly.
2019-11-11 23:41:23 +01:00
Rune Broberg
137715b76f
Add group delay as a marker display option
2019-11-11 10:51:24 +01:00
mihtjel
0a6e1e27de
Merge pull request #89 from zarath/Development
...
SI formatting and parsing class
2019-11-10 16:07:44 +01:00
Rune B. Broberg
054ec22a67
Work on group delay chart
2019-11-10 16:02:42 +01:00
Holger Mueller
722957f9f3
Use SITools for value parsing and formatting
2019-11-10 10:06:57 +01:00
Rune Broberg
2d462e892e
New function for setting sweep display values without losing accuracy
2019-11-06 11:22:50 +01:00
dhunt1342
a4b2873396
Separate formatFrequency for Sweep values
...
formatFixedFrequency limits the maximum digits displayed to fit return values within space available. For sweep frequencies this results in actual loss of accuracy. formatSweepFrequency instead provides the smallest retuen value that does not result in loss of accuracy, but allows for padding trailing zeroes if desired.
2019-11-05 05:02:09 -05:00