Commit 6c633651 authored by Sebastian Steinlechner's avatar Sebastian Steinlechner
Browse files

fixed getTraceData for non-default wavelengths

parent eef8f458
...@@ -1687,7 +1687,8 @@ class kat(object): ...@@ -1687,7 +1687,8 @@ class kat(object):
qx = spqx[0].split("=")[1].replace('i','j').replace(' ','') qx = spqx[0].split("=")[1].replace('i','j').replace(' ','')
qy = spqy[0].split("=")[1].replace('i','j').replace(' ','') qy = spqy[0].split("=")[1].replace('i','j').replace(' ','')
traceData[-1][node_name] = (pykat.beam_param(q=complex(qx)), pykat.beam_param(q=complex(qy))) traceData[-1][node_name] = (pykat.beam_param(q=complex(qx),wavelength=self.lambda0),
pykat.beam_param(q=complex(qy),wavelength=self.lambda0))
finally: finally:
ifile.close() ifile.close()
......
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