Skip to content

Releases: scikit-rf/scikit-rf

v0.27.1

14 May 12:24
380986b
Compare
Choose a tag to compare

What's Changed

Important Changes in Media

  • Refactor media to simplify line creation by @mhuser in #727

The Media class has been refactored to simplify the API and avoid confusions related to the impedances. The z0 property now returns by default the Characteristic Impedance of the media (also available from z0_characteristic) if the property z0_override is defined, z0 returns z0_override instead of the Characteristic Impedance.

The embed argument and the parameters Z0 (capital) have been deprecated. If the property z0_port is defined, all lines will be renormalized from z0 to z0_port, like in a measurement with z0_port. Please refer to the Media tutorial more additional information and a clear explanation of the different between port and characteristic impedances.

New Features

New properties have been added to a Network: maximum stable gain (max_stable_gain), Maximum available power gain (max_gain) and Mason's unilateral gain (unilateral_gain)

Improvements

Bug Fixes

  • Make Network.copy also copy params dict by @cafeclimber in #887
  • Fix incorrect z0 handling in SeriesImpedance and ShuntAdmittance by @Ttl in #885
  • Handle non-zero length thru in TRL by @Ttl in #896
  • Resolve singularities for matched thru and line in determine_reflect by @eendebakpt in #870
  • Timescale by @FranzForstmayr in #900
  • Allow NISTMultilineTRL to work with non-exact floats by @eendebakpt in #895
  • Handle division by zero in stability by @Ttl in #910

Code Quality/CI

Documentation

New Contributors

Full Changelog: v.0.26.0...v0.27.0

v0.26.0

02 Apr 12:27
5c96e2d
Compare
Choose a tag to compare

New Features

Improvements

Bug Fix

Community, Code Quality and Continuous Integration

Documentation

Full Changelog: v0.25.0...v.0.26.0

v0.25.0

19 Feb 11:09
b824a9d
Compare
Choose a tag to compare

The release 0.25.0 of scikit-rf includes several new features, with for example:

The complete list of changes is found below. We welcome two new contributors @eendebakpt and @ericwrice for their work!

New Features

Improvements

Documentation

Bug Fixes

Code Quality

New Contributors

Full Changelog: v0.24.1...v0.25.0

v0.24.1

19 Nov 18:45
6bd6026
Compare
Choose a tag to compare

This release contains new features for time gating, make qtapps runable again and fixes related to matplotlib dependency.

Note that new warnings related to the default frequency and time unit are now generated if the frequency or time units are not explicitly passed. Indeed, SI units will used by default for frequency (Hz) and time (s) in future versions of scikit-rf, instead of GHz and ns as presently. It is thus recommended to pass explicitly the units in order to avoid surprises in future versions...

New Features

  • time.time_gate() has a new parameter method added, to choose how to perform gating either by convolution, by FFT (band-pass mode), or by RFFT (low-pass mode). Defaults is FFT. Also, another parameter fft_window is added, which enables frequency-domain windowing in case of FFT and RFFT mode. The default is a Hann window, but windowing can be disabled by setting fft_window=None. by @Vinc0110 in #770
  • qtapps are now runable again by @FranzForstmayr in #790

Changes of behaviour

Fixes

Documentation

Continuous Integration

  • Update the checkout and setup-python GA versions by @jhillairet in #793
  • update to pytest-cov ~=4.0 and drop the deprecation warning ignore by @altendky in #784

New Contributors

Full Changelog: v0.24.0...v0.24.1

v0.24.0

31 Oct 08:25
2cae754
Compare
Choose a tag to compare

The version 0.24 of scikit-rf includes a lot of improvements and bug fixes.

Note that this version officially drops the support for Python 3.6. The minimum required python version is thus now Python 3.7.

Improvements and new features

  • Improvement of the accurary of the OpenShort and ShortOpen de-embedding by @keikawa in #739.
  • (Huge) Speed improvement in the s2s function, particularly useful when working with large matrices (>300 ports), by avoiding unecessary conversion of S-matrix definition by @qmfrf in #738
  • Fix and Update methods in the virtual instrument module which called deprecated pyvisa methods by @cafeclimber in #409
  • New time-domain gating implementation using time-domain multiplication instead of frequency-domain convolution. This gives a speed benefit of multiple orders of magnitude, depending on the number of samples by @Vinc0110 in #735
  • read_all now sort files by default, to obtain a reproducible behaviour, by @xafra in #746
  • Important speed improvement in network_2_dataframe by @stevehamblin in #761
  • Make vector fitting Spice output compatible to LTSpice by @FranzForstmayr in #760
  • Added a new operator >> for 4-port network cascading with reversed indexing ("1=>2/3=>4" instead than "1=>3/2=>4") by @capn-freako in https://github.com/scikit

Documentation

  • add a warning in the docstring to inform matlab users of the differences compared to matlab original implementation.
    The differences are: i) FIX-2 is flipped (there is already a numbering diagram in docstring) and ii) Better root choice solution to avoid 180° phase jumps in certain circumstances (NZC methods only) by @mhuser in #781
  • Updates the documentation to highlight importance of different offset and port impedances, followed by 3 usage examples, close #754. by @biergaizi in #779
  • Fixing typo and reference in Qfactor example by @jhillairet in #767

Bug Fixes

  • Fix plot_s_polar() for matplotlib version >=3.6 (#762) by @Vinc0110 in #765
  • Vector Fitting: bugfix for data including dc samples by @Vinc0110 in #768

Code Quality Improvements and Continuous Integration

An important work has been made by @FranzForstmayr to improve the code quality and to move the codebase to the PEP 0621:

New Contributors

Full Changelog: v0.23.1...v0.24.0

v0.23.1

16 Jul 12:34
7f4eee8
Compare
Choose a tag to compare

This minor release of scikit-rf contains in particular an important bug fix to the Touchstone's file writing function. In addition, this release includes some simplifications of the handling of the characteristic impedance and on an inconsistent behaviour when passing a network name as kwarg. See below for the complete list of changes.`

Bug Fixes

  • write_touchstone: don't write z_ref in complex format if it's real, fix #724 by @biergaizi in #725
  • fix an AttributeError raised by Network.renormalize by @mhuser in #723
  • Fix IEEEP370 deembedding methods for dataset with existing DC point or interpolation required by @mhuser in #728

What's Changed

Full Changelog: v0.23.0...v0.23.1

v0.23.0

19 Jun 14:38
ba3b0a7
Compare
Choose a tag to compare

The version 0.23 of scikit-rf includes a lot of improvements and bug fixes (with a huge work from @Ttl , @mhuser and @biergaizi !)

This new release also includes a new feature, the Quality factor class Qfactor, which allows determining the loaded and unloaded quality factors of a Network.

The development activity of scikit-rf continues to grow! The scikit-rf development team has been consolidated with additional collaborators: @Ttl , @mhuser, @FranzForstmayr and @Vinc0110. Welcome and thank you!

New Features

Improvements

Network and Media

Circuit

  • Mark Circuit Ports with attribute instead of name by @Ttl in #671

Instruments

Touchstone, MDIF

  • Fix write_touchstone with complex or non-equal z0 by @Ttl in #672
  • Add NetworkSet.write_mdif() method to export NetworkSet to a generalized MDIF file by @jrmagers in #680

Calibration

  • LRRM fix for unsymmetric thru, non-iterative lc fit by @Ttl in #682
  • IEEEP370 Flip FIX-2 and minor improvements by @mhuser in #698
  • Add forced_z11x to IEEEP370_SE_NZC_2xThru and correct typo by @mhuser in #708

Vector Fitting

Documentation

Bug fixes

  • Avoid division by zero at 0 Hz in DistributedCircuit by @Ttl in #658
  • Fix for #662 and other minor corrections by @Vinc0110 in #666
  • fix #684 phase jumps in 2xthru deembedding by @mhuser in #687
  • Remove comparison to CPW model from MTRL example by @Ttl in #695
  • Vector Fitting: Bug fix for #677 and #702 by @Vinc0110 in #678
  • drop_non_monotonic_increasing fix for 2D z0 shape by @Ttl in #705

Full Changelog: v0.22.1...v0.23.0

v0.22.1

27 Apr 18:07
4a76377
Compare
Choose a tag to compare

Minor release, mostly to fix a #640

What's Changed

Full Changelog: v0.22.0...v0.22.1

v0.22.0

24 Apr 07:33
112f780
Compare
Choose a tag to compare

Release 0.22 of scikit-rf includes a new feature and important bug fixes, as well as other improvements, new or improved documentation and bug fixes.

New Features

  • Implement IEEEP370 NZC and ZC deembedding methods by @mhuser in #628
  • Virtual Instruments: Adding NanoVNA V2 support by @Vinc0110 in #616

Improvements

  • se2gmm z0 broadcasting, docstring and tests by @Ttl in #635
  • Vector fitting: code reorganization + speed improvements by @Vinc0110 in #614
  • Correct Network.f property return type-hint by @lstuemke in #612
  • Forbid duplicates in Circuit connection description by @jhillairet in #619

Bug Fixes

  • Fix gmm2se phase inversion by @Ttl in #632
  • Fix#618 scipy.ndimage.filters namespace deprecation warning by @l-johnston in #620
  • Bug Fix for Parser.py yaml.load deprecated by @xreymason in #621
  • Fix numerical issue in TwoPortOnePath by @Ttl in #625

Documentation

We are very happy to welcome new contributors to the project 👍

New Contributors

Full Changelog: v0.21.0...v0.22.0

v0.21.0

08 Feb 20:13
3bb6cd2
Compare
Choose a tag to compare

This new release adds the following new features and improvements:

New Features or important improvements

Bug fixes and other improvements

  • Fix/dc extrapolation array by @FranzForstmayr in #571
  • Correct error when asking db/ma from ri file by @edumur in #588
  • Fix coefs_8term and coefs_12term by @Ttl in #589
  • fix reading ISO-8859-1 encoded Touchstone file and add encoding param to Network() and Touchstone() by @jhillairet in #587
  • Vector Fitting: Notation and other minor improvements by @Vinc0110 in #577
  • Don't initialize z0 from str by @Ttl in #598
  • Don't modify apply_cal input network by @Ttl in #602
  • Remove confusing transposes by @Ttl in #603

Documentation

CI

New Contributors