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

Merge branch 'master' of

parents 7450f30c b50d5725
......@@ -146,6 +146,10 @@ class gauss_param(object):
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):
def __init__(self, qx, qy=None, n=0, m=0):
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