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
7d1d15c8
Commit
7d1d15c8
authored
Feb 17, 2015
by
Daniel Brown
Browse files
playing with length scaling for optivis
parent
ed941460
Changes
1
Hide whitespace changes
Inline
Side-by-side
pykat/finesse.py
View file @
7d1d15c8
...
...
@@ -154,9 +154,9 @@ def f__lkat_trace_callback(lkat, trace_info, getCavities, getNodes, getSpaces):
def
GUILength
(
L
):
"""
Should scale the lengths in some way to handle km and mm
Should scale the lengths in some way to handle km and mm
for time being
"""
return
1
0
*
erfc
(
L
/
1
e3
)
+
0.01
return
L
*
(
2
0
*
erfc
(
L
/
2
e3
)
+
0.01
)
class
katRun
(
object
):
def
__init__
(
self
):
...
...
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