Commit ac4b7da6 authored by Daniel Brown's avatar Daniel Brown

Fixing string parsing of laser frequency bug Anna spotted

parent 7defc50e
......@@ -1527,7 +1527,7 @@ class laser(Component):
self._requested_node_names.append(node)
self.__power = Param("P", self, SIfloat(P), canFsig=True, fsig_name="amp")
self.__f_offset = Param("f", self, f, canFsig=True, fsig_name="freq")
self.__f_offset = Param("f", self, SIfloat(f), canFsig=True, fsig_name="freq")
self.__phase = Param("phase", self, SIfloat(phase), canFsig=True, fsig_name="phase")
self.__w0 = Param("phase", self, None, canFsig=True, fsig_name="w0", isPutable=False, isPutter=False, isTunable=False)
self.__z = Param("phase", self, None, canFsig=True, fsig_name="z", isPutable=False, isPutter=False, isTunable=False)
......
Markdown is supported
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