Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Institute of Experimental Physics
Quantum Circuits
python-repo
Commits
c9313696
Commit
c9313696
authored
Feb 14, 2021
by
Christian Schneider
Browse files
Bugfix for circlefit
parent
083af882
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
CircleFit/circuit.py
CircleFit/circuit.py
+3
-3
No files found.
CircleFit/circuit.py
View file @
c9313696
...
...
@@ -373,7 +373,7 @@ class Notch(circuit):
# Notch model
value
=
(
self
.
a
*
np
.
exp
(
1j
*
self
.
alpha
)
*
(
1
-
self
.
Ql
/
self
.
absQc
*
np
.
exp
(
1j
*
self
.
phi0
)
/
(
1.
+
2j
*
self
.
Ql
*
(
self
.
freq
/
(
1.
+
2j
*
self
.
Ql
*
(
freq
s
/
self
.
fr
-
1
))))
# Subtract Background
try
:
...
...
@@ -385,7 +385,7 @@ class Notch(circuit):
pass
# Electric delay
value
*=
np
.
exp
(
-
2j
*
np
.
pi
*
self
.
freq
*
self
.
delay
)
value
*=
np
.
exp
(
-
2j
*
np
.
pi
*
freq
s
*
self
.
delay
)
return
value
...
...
@@ -470,6 +470,6 @@ class Reflection(circuit):
pass
# Electric delay
value
*=
np
.
exp
(
-
2j
*
np
.
pi
*
self
.
freq
*
self
.
delay
)
value
*=
np
.
exp
(
-
2j
*
np
.
pi
*
freq
s
*
self
.
delay
)
return
value
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment