Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
finesse
pykat
Commits
d2d35516
Commit
d2d35516
authored
Dec 11, 2013
by
Andreas Freise
Browse files
fixing a problem with pd initialisation.
parent
059817b3
Changes
1
Hide whitespace changes
Inline
Side-by-side
pykat/detectors.py
View file @
d2d35516
...
...
@@ -97,7 +97,7 @@ class photodiode(Detector):
def
phi
(
self
):
return
self
.
__phi
def
__init__
(
self
,
name
,
node
,
senstype
=
None
,
num_demods
=
0
,
demods
=
[]):
def
__init__
(
self
,
name
,
node
,
senstype
=
""
,
num_demods
=
0
,
demods
=
[]):
Detector
.
__init__
(
self
,
name
,
node
)
if
num_demods
>
2
:
raise
NotImplementedError
(
"pd with more than two demodulations not implemented yet"
)
...
...
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