feat: add multiple port case

This commit is contained in:
mayge
2025-09-22 22:21:43 -04:00
parent 4450653526
commit 9a2df95f00
3 changed files with 322 additions and 133 deletions

View File

@@ -258,7 +258,7 @@ def noise(n:complex,coeff:float=0.05):
if __name__ == "__main__":
start_point = 0
network = rf.Network("/tmp/paramer/simulation/3000/3000.s2p")
K = 10
K = 50
full_freqences = network.f[start_point:]
noised_sampled_points = [(network.y[i][0][0]) for i in range(start_point,len(network.y))]
@@ -354,6 +354,7 @@ if __name__ == "__main__":
ax21.legend(loc="best")
fig.tight_layout()
plt.savefig(f"relaxed_basic_basis_QR.png")
print("Saved relaxed_basic_basis_QR.png")