COMPASS  5.0.0
End-to-end AO simulation tool using GPU acceleration
bokeh_gamora.py
1 """
2 To launch it :
3 
4  - locally :
5  bokeh serve --show bokeh_display.py
6  - as a server :
7  bokeh serve --port 8081 --allow-websocket-origin hippo6.obspm.fr:8081 bokeh_roket.py
8  then, open a web browser and connect to http://hippo6.obspm.fr:8081/bokeh_roket
9 """
10 from widget_gamora import Bokeh_gamora
11 from bokeh.io import curdoc, output_file, show
12 import glob, os, atexit
13 
14 
16  files = glob.glob("/home/fferreira/public_html/roket_display*")
17  for f in files:
18  os.remove(f)
19 
20 
21 widget = Bokeh_gamora()
22 curdoc().clear()
23 #widget.update()
24 #output_file("roket.html")
25 #show(widget.tab)
26 curdoc().add_root(widget.tab)
27 
28 atexit.register(remove_files)
widget_gamora.Bokeh_gamora
Definition: widget_gamora.py:18
bokeh_gamora.remove_files
def remove_files()
Definition: bokeh_gamora.py:15