Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
finesse
pykat
Commits
b50d5725
Commit
b50d5725
authored
Mar 02, 2014
by
Andreas Freise
Browse files
added method to reverse beam direction.
parent
ab06a7ed
Changes
1
Hide whitespace changes
Inline
Side-by-side
pykat/utilities/optics/gaussian_beams.py
View file @
b50d5725
...
...
@@ -145,6 +145,10 @@ class gauss_param(object):
def
imag
(
self
):
return
self
.
__q
.
imag
@
imag
.
setter
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
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment