Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
pykat
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
finesse
pykat
Commits
7bfb9432
Commit
7bfb9432
authored
11 years ago
by
Andreas Freise
Browse files
Options
Downloads
Patches
Plain Diff
renaming gauss.wz to gauss.w, this is more common.
parent
58032632
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
examples/gauss_param.py
+15
-15
15 additions, 15 deletions
examples/gauss_param.py
pykat/utilities/optics/gaussian_beams.py
+2
-2
2 additions, 2 deletions
pykat/utilities/optics/gaussian_beams.py
with
17 additions
and
17 deletions
examples/gauss_param.py
+
15
−
15
View file @
7bfb9432
...
...
@@ -10,6 +10,6 @@ q2 = apply(abcd, q1, nr1, nr2)
# and out again
q3
=
apply
(
abcd
,
q2
,
nr2
,
nr1
)
print
"
q1 =
"
,
q1
,
"
w0 =
"
,
q1
.
w0
,
"
w
z
=
"
,
q1
.
w
z
,
"
z =
"
,
q1
.
z
print
"
q2 =
"
,
q2
,
"
w0 =
"
,
q2
.
w0
,
"
w
z
=
"
,
q2
.
w
z
,
"
z =
"
,
q2
.
z
print
"
q3 =
"
,
q3
,
"
w0 =
"
,
q3
.
w0
,
"
w
z
=
"
,
q3
.
w
z
,
"
z =
"
,
q3
.
z
print
"
q1 =
"
,
q1
,
"
w0 =
"
,
q1
.
w0
,
"
w =
"
,
q1
.
w
,
"
z =
"
,
q1
.
z
print
"
q2 =
"
,
q2
,
"
w0 =
"
,
q2
.
w0
,
"
w =
"
,
q2
.
w
,
"
z =
"
,
q2
.
z
print
"
q3 =
"
,
q3
,
"
w0 =
"
,
q3
.
w0
,
"
w =
"
,
q3
.
w
,
"
z =
"
,
q3
.
z
This diff is collapsed.
Click to expand it.
pykat/utilities/optics/gaussian_beams.py
+
2
−
2
View file @
7bfb9432
...
...
@@ -68,7 +68,7 @@ class gauss_param(object):
def
zr
(
self
):
return
self
.
__q
.
imag
@property
def
w
z
(
self
):
def
w
(
self
):
return
self
.
w0
*
math
.
sqrt
(
1
+
(
self
.
__q
.
real
/
self
.
__q
.
imag
)
**
2
)
@property
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment