Commit d2d35516 authored by Andreas Freise's avatar Andreas Freise
Browse files

fixing a problem with pd initialisation.

parent 059817b3
...@@ -97,7 +97,7 @@ class photodiode(Detector): ...@@ -97,7 +97,7 @@ class photodiode(Detector):
def phi(self): return self.__phi 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) Detector.__init__(self, name, node)
if num_demods>2: if num_demods>2:
raise NotImplementedError("pd with more than two demodulations not implemented yet") raise NotImplementedError("pd with more than two demodulations not implemented yet")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment