From 7d1d15c8e552b71ce35fd1cb15c11be505327665 Mon Sep 17 00:00:00 2001
From: Daniel Brown <ddb@star.sr.bham.ac.uk>
Date: Tue, 17 Feb 2015 11:19:26 +0000
Subject: [PATCH] playing with length scaling for optivis

---
 pykat/finesse.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pykat/finesse.py b/pykat/finesse.py
index 3ac2858..c379195 100644
--- a/pykat/finesse.py
+++ b/pykat/finesse.py
@@ -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 10 * erfc(L/1e3) + 0.01
+    return L * ( 20 * erfc(L/2e3) + 0.01)
     
 class katRun(object):
     def __init__(self):
-- 
GitLab