From 637ba3be00486a7c51e68ec8552431d1c6a0ea8c Mon Sep 17 00:00:00 2001 From: MarcinK00 Date: Wed, 12 Mar 2025 22:51:21 +0100 Subject: [PATCH] Correction of La element acording to #312 and #286 issue --- impedance/models/circuits/elements.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/impedance/models/circuits/elements.py b/impedance/models/circuits/elements.py index 643ff69..b1c496d 100644 --- a/impedance/models/circuits/elements.py +++ b/impedance/models/circuits/elements.py @@ -232,7 +232,7 @@ def La(p, f): """ omega = 2 * np.pi * np.array(f) L, alpha = p[0], p[1] - Z = (L * 1j * omega) ** alpha + Z = L * (1j * omega) ** alpha return Z