Commit 6ae54931 authored by Daniel Brown's avatar Daniel Brown
Browse files

Merge branch 'master' of

parents 7450f30c b50d5725
......@@ -145,6 +145,10 @@ class gauss_param(object):
def imag(self): return self.__q.imag
def imag(self, value): self.__q.imag = SIfloat(value)
# reverse beam direction
def reverse(self):
self.__q = -1.0 * self.__q.real + 1j * self.__q.imag
class HG_gauss_beam(object):
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