• hash
    0
    Dear all,

    Many thanks for the Microwaves101 website and its newsletter, it's always a nice source of information and discoveries.

    In the last newsletter, there is a nice trick to perform interpolation between components:
    https://www.microwaves101.com/encyclopedias/s-parameter-interpolator

    I can't resist to show how to do perform the same with only 3 lines of Python using the scikit-rf package:

    import skrf as rf
    # Data from MTVA Series
    # https://www.smithsinterconnect.com/products/rf-mw-mmw-components/resistive-components/thermopad%C2%AE/
    ns = rf.NetworkSet.from_dir('MTVA0100N03')
    # reference temperatures (from filenames alphabetical order)
    temperatures = [125, 25, 55, -55]  # degC
    # interpolated Network at 0 degC
    ntwk_interp = ns.interpolate_from_network(temperatures, 0)
    
    # to check, plot it: 0°C is in between -55°C and 25°C
    ns.plot_s_db(m=1, n=0)  # S21
    ntwk_interp.plot_s_db(m=1, n=0, label='Interpolated @ 0°C')
    

    Doing the same from a MDIF file would be even easier, as then the temperature parameter would be directly included into the dataset. scikit-rf now knows how to read MDIF and use the named parameters defined within for interpolating networks.

    Hope it helps!

    You will find more info and doc about scikit-rf here : http://scikit-rf.org/

    Best regards,

    Julien
  • UnknownEditor
    4
    Julien

    This is great! I will add it to the page as an alternative way to interpolate. SciKit RF is awesome, I'm still waiting for Alex to print up some new shirts. Blam!

    Steve
  • hash
    0
    A new collection of T-shirt is coming ;)
  • UnknownEditor
    4
    I finally got around to adding this info to the interpolation page... Thanks again!

    https://www.microwaves101.com/encyclopedias/s-parameter-interpolator
bold
italic
underline
strike
code
quote
ulist
image
url
mention
reveal
youtube
tweet
Add a Comment

Welcome!

Join the international conversation on a broad range of microwave and RF topics. Learn about the latest developments in our industry, post questions for your peers to answer, and weigh in with some answers if you can!