Scikit-rf

Latest version: v1.5.0

Safety actively analyzes 685670 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 5 of 6

0.18.1

This release contains bug fixes:

- FranzForstmayr removed pandas dependency
- luar123 fixed a relative import
- Vinc0110 fixed a typo in SPICE .SUBCKT

0.18

This new version of scikit-rf includes multiple bug fix and changes under-the-hood, that should not affect users except for users of the `connect()` method with N-port Network.

`Connect`
The automated port renumbering in `connect()` was quite unintuitive since 2020 and has been corrected in 448 by hohe. To make things as clear as possible, [special tutorial dedicated to Network connections](https://scikit-rf.readthedocs.io/en/latest/tutorials/Connecting_Networks.html) has been added to the documentation (jhillairet).

Vector Fitting
* 469 & 473 Vinc0110 fixes two bugs in the vector fitting algorithm and adds some documentation and tests.
* FranzForstmayr removed the mandatory matplotlib dependency in Vector Fitting in 444
* following a suggestion in the mailing-list Vinc0110, added optional Axes parameters to the plotting functions in vectorFitting.py to control the output with matplotlib in 450.

Type Hints
* FranzForstmayr in 451 updated a lot of the function & method definitions to add type hints to improve the quality of the autosuggestions in IDEs.

Documentation
* NikoDaGreat Fixed math typesetting in `network.chopinhalf` in 465
* jhillairet refreshed the main Github welcome page in 445. In addition, please note that a [suggestion box](https://docs.google.com/forms/d/e/1FAIpQLSfkSNy8KzoHwdDxYGCmHHiA3GsHgN6zKTFI2NrcUR29U7Xx6A/viewform) has been added: please send us your suggestions/wishes/comments!
* NikoDaGreat fixed some typos in 446
* jhillairet correct documentation figures in 452 and 453

Improvements and bug fix
* 442 : wbarnha added an option for renaming files in the Qt NetworkList widget
* 447 : improve Binder graphical compatibility by jhillairet
* 445 FranzForstmayr improved the Z0 setter/getter and also add new tests detailed the various cases
* 457 FranzForstmayr (contributor of the month!) fixed reading HFSS files from StringIO.
* 458 + 459 jhillairet fix NetworkSet zip file reading bug introduced by StringIO compatibility + add NetworkSet tests and fix continuous integration of the notebooks
* 460 Vinc0110 fixes the generated API docs of the VectorFitting class, which were missing the plotting functions.
* 461 FranzForstmayr update and tests to mathFunctions.py
* 472 luar123 fixes a bug in write_touchstone when the port names are written: The first port should be Port[1] instead of Port[0].

0.17

The support of Python 2.7 has been dropped with this version (PR436 from JAnderson419). For the moment, only the Travis and GitHub Actions testing have been dropped, the Python2 parts of code still exist and remain to be cleaned one day.

New Features
subnetwork
Creating the `rf.subnetwork()` function and `Network.subnetwork()` method for creating sub-Network for a given list of port indices. (PR 423 from jhillairet)

As an illustration, below three 2ports subnetwork are extracted from a reference 3ports Network. These 3 subnetworks are after recombined into a 3ports Network.

python
import skrf as rf

3 port Network
tee = rf.data.tee
2 port Networks as if one measures the tee with a 2 ports VNA
tee12 = rf.subnetwork(tee, [0, 1]) 2 port Network from ports 1 & 2, port 3 matched
tee23 = rf.subnetwork(tee, [1, 2]) 2 port Network from ports 2 & 3, port 1 matched
tee13 = rf.subnetwork(tee, [0, 2]) 2 port Network from ports 1 & 3, port 2 matched

recreate the original 3 ports Network from the thee 2-port sub-Networks
ntw_list = [tee12, tee23, tee13]
tee2 = rf.n_twoports_2_nport(ntw_list, nports=3)
print(tee2 == tee) --> True


Circular waveguide media (`media.CircularWaveguide`)
* Added circular waveguide (single mode homogeneous filled) Media from scimax (PR 376). Also made some corrections to some rectangular waveguide formuale (cutoff)
python
In the following example an ideal waveguide of 2.39 mm diameter is
constructed for the high W band, operated in the fundamental TE11 mode.
If no conductivity is provided the walls are treated as perfect
electric conductors.
freq = rf.Frequency(88,110,101,'ghz')
rf.CircularWaveguide(freq, r=0.5 * 2.39e-3)


Improvements of existing features
* Network() can now supports StringIO for filename from arsenovic (PR 433)

* write port names to Touchstone files (as comment) from luar123 (PR 428

* Improve Error handling for step/impulse responses from FranzForstmayr (PR 435, fixes 434). Now throws a:
- `ValueError` if one wants to calculate step or impulse response with an Network with more than one port
- `NotImplementedError` if one wants to calculate step or impulse response If used with non equidistant sampled frequency vector

Documentation
* Fixing documentation notebooks from jhillairet (PR 425)

* Notebook tests are included using nbsmoke (but do not count for coverage) from ema00 (PR424, fixes partly 114)

* Documentation improvements from arsenovic (PR 433)

Fixed Bug
* Use relative paths for import from luar123 (PR 438)
* Fix `rf.io.Touchstone.get_comment_variables()` which was cropping decimals from JAnderson419 (PR 427, fixes 426 )

* Matplotlib backend reconfiguration from Vinc0110 (PR 420, fixes 419):
* Disabling the matplotlib backend reconfiguration in plotting.py (Edit: keeping it for Python2)
* Disabling invalid parameter interactive from matplotlib stylesheets, which were causing warnings in skrf.stylely()

0.16.0

New Feature : Vector Fitting
---------------------------------
- This version 0.16.0 integrates a new feature from Vinc0110 (PR 416). It adds the class `VectorFitting`, which provides a Python implementation of the Vector Fitting algorithm and various functions for the fit analysis and export of SPICE equivalent circuits. Avector fitting algorithm fits the frequency responses (S-matrix) in a `Network` to a sum of rational basis functions. Those rational basis functions can then be translated into equivalent passive or active impedances or admittances, enabling the modelling of the original frequency response in any kind of circuit simulator, e.g. SPICE simulations.

Documentation
------------------
PR 416 from Vinc0110 also documents extensively the Vector Fitting features:
- Vector Fitting Tutorials https://scikit-rf.readthedocs.io/en/latest/tutorials/VectorFitting.html
- Mathematical Description
- Equivalent Electrical Circuits
- Equivalent Circuit of a Vector Fitted N-Port
- References
- 2 examples:
- Measured 190 GHz Active 2-Port https://scikit-rf.readthedocs.io/en/latest/examples/vectorfitting/vectorfitting_190ghz_active.html
- Ring Slot https://scikit-rf.readthedocs.io/en/latest/examples/vectorfitting/vectorfitting_ringslot.html

Other Improvements
------------------------
- PR 415 from JAnderson419 adds the `pathlib.Path` support to `Network`.
- PR 412 from wbarnha adds group delay feature to qt widget in `networkPlotWidget`
- PR 410 and 417 from jhillairet setups GitHub Actions for Continuous Integration (linting and tests), in addition of Travis.
- PR 408 from jhillairet allows users to define Frequency with a scalar value (ie. a unique frequency point)

0.15.5

Documentation
----------------
- Update One Port Tiered Calibration (PR 406 by JAnderson419 )
- Added a basic mixed-mode conversion tutorial for documentation. (PR 396 by JAnderson419 )
- Correct failing media import in Time domain notebook and correct documentation in `std_s_db` in `NetworkSet` (jhillairet )
- minor improvements: 398

Improvements
----------------
- Allows defining `Frequency` from a scalar value (PR 408 by jhillairet )
- fix `s2a` for non-symmetric S-matrices (PR 403 by keikawa )
- change ifft to fft in gate frequency domain calculation (PR 391 by jhillairet )
- Clean Up Memory Leaks and Remove Python Warnings (PR 399 by bogdantabacaru )

0.15.4

New Features
------------------
- Voltages and currents can be extracted from Circuit 381 (see associated documentation: https://scikit-rf.readthedocs.io/en/latest/examples/circuit/Voltages%20and%20Currents%20in%20Circuits.html)

Documentation
------------------
- Documentation Improvements 374:
- added various examples on how to create Network in tutorial documentation
- fix documentation on Media
- renamed media.circuit to media.device to avoid confusion with Circuit
- added media.device to the API documentation
- added many undocumented things to the API documentation:
- I/O (general, cvs, Touchstone, etc),
- constants
- NetworkSet
- plotting
- 358: add example on Mixed Mode S and Impedance Transformation.ipynb by jrmagers
- 382: Mention the 'traveling' option in the `s_def` option in the documentation

Bug corrections
------------------
- 385: Don't shadow skrf's io module with the system io module by DanielO
- 378: Python 3.8 SyntaxWarnings 378 fixed by sxntxn
- 377: Plotted different mode gain instead of common mode gain 377 fixed by jrmagers
- 375: Fixes issue 369 on Numpy 1.19 behaviour
- 372: Correct the nrows calculation according to the proposal of cloidnerux in 366
- 365: add sorted in the `read_all()` in `general.py` 365 by xafra
- 364: remove unused matplotlib imports by JAnderson419
- 361: Fixed the bug reported by RF-NanoDetec in 360 in CPW Media and add tests
- 351: Fixed 2020 R2 HFSS Touchstone files reading

Page 5 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.