Skip to content

Commit a20ca80

Browse files
Update combine_extend_snp.py
Update required due to change in scikit-rf
1 parent a1e6504 commit a20ca80

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

scripts/combine_extend_snp.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
import os,re, json, math
1111
import skrf as rf
12+
from skrf.network import connect
1213
import numpy as np
1314

1415

@@ -279,7 +280,7 @@ def port_deembedding (snp_filename, port_info_available, port_info_data):
279280
# cascade with the main network
280281
# due to internal renumbering the new port always appears at the end
281282
# after iterating over all ports we have the correct order again
282-
ntwk = rf.connect(inductor, 0, ntwk, 0)
283+
ntwk = connect(inductor, 0, ntwk, 0)
283284

284285

285286
filename, file_extension = os.path.splitext(snp_filename)

0 commit comments

Comments
 (0)