Error after using IEEEP370_MM_NZC_2xThru

50 views
Skip to first unread message

zwelch

unread,
Jul 27, 2022, 8:24:44 AM7/27/22
to scikit-rf
Hi, 
iam getting an error executing following code:

import skrf as rf
from pylab import *
import numpy as np
from skrf.calibration import (IEEEP370_SE_NZC_2xThru, IEEEP370_MM_NZC_2xThru,
                              IEEEP370_SE_ZC_2xThru, IEEEP370_MM_ZC_2xThru)

# load single-ended data
se_2xthru = rf.Network('CAL_K1_SN100815_V11_RI.s4p')

# transform to mixed-modes
mm_2xthru = se_2xthru.copy()
mm_2xthru.se2gmm(p = 2)

# extrapolate to DC for time step
mm_2xthru_dc = mm_2xthru.extrapolate_to_dc(kind='cubic')

# de-embedding
z0 = 50
dm_mmnzc  = IEEEP370_MM_NZC_2xThru(dummy_2xthru = se_2xthru, z0 = z0, name = 'mmnzc')

Error:
Screenshot 2022-07-27 142358.png

Julien Hillairet

unread,
Jul 27, 2022, 8:46:24 AM7/27/22
to scik...@googlegroups.com
Hi,

Could you submit an issue on GitHub ? With the version of scikit-rf you have used and the test file.

Thank you.

Julien

--
You received this message because you are subscribed to the Google Groups "scikit-rf" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scikit-rf+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/scikit-rf/5a3c07d4-e9c1-4ea1-8ee8-9d4dcf9c1a2an%40googlegroups.com.

vinc0110

unread,
Jul 27, 2022, 8:48:08 AM7/27/22
to scikit-rf
Are you sure you're passing the network with the correct port sequence to IEEEP370_MM_NZC_2xThru()?
It can be selected with the 'port_order' parameter, see here:

zwelch

unread,
Jul 27, 2022, 9:37:56 AM7/27/22
to scikit-rf
Thanks,

port_order was causing the error. port_order = "first" is what i need.
Reply all
Reply to author
Forward
0 new messages