Scikit-rf

Latest version: v1.1.0

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

Scan your dependencies

Page 4 of 5

0.19.0

A lot of work has been done these last month on scikit-rf, many thanks to all contributors. This new version brings some new features, bug fixes and a lot of improved documentation.

New Features
--------------
- Implementation of a deembedding class 480 by vik-s
- Add VNA Keysight n9918a for usage in data_grabber.py 482 by wbarnha
- Add `stdev` function, organize file, allow `read_all()` to recursively check directories 485 by wbarnha
- Add functionality to plot group delay for multiple files simultaneously 489 by wbarnha
- two new features to the `VectorFitting` class 498 from Vinc0110 :
- Evaluation of model passivity (functions `passivity_test()` and `is_passive()`)
- Enforcement of model passivity (function `passivity_enforce()`)

Improvements
---------------
- Updated continuous integration, RTD setup and package dependencies in 494 and 501 by Vinc0110
- Support of Python 3.9 in 507 by jhillairet
- Single Ended to Mixed Mode conversion now can usereference impedance different from 50 Ohms 510 by FranzForstmayr

Documentation
----------------
- Fix a lot of typos in the code docstring 484 and notebooks 491 by nikosavola
- Improve docstring for `Network.renumber` and many other things in 504 by jhillairet
- various documentation improvements in 490 by jhillairet
- wiki was deleted and its content was moved to main documentation 500 by jhillairet
- improve a lot of dosctring and type hints in 504, 505 and 506 by Vinc0110 and jhillairet
- Example for tapered transmission line 511 by jhillairet

Bug Fixes
----------
- Fix bug 299 (offset in time vector) in 488 by FranzForstmayr
- Fix bug 467 (`is_symmetric`) in 502 by Vinc0110

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 )

Page 4 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.