This is a UI library that can run the user interface in a browser or a native viewer Nion UI Launcher.
It is targeted at Python 3.5.
- Install twisted, autobahn, numpy, and scipy.
- Clone the repository into a nion/ui subfolder.
- Run the script
python tools/websocket.py examples/basic/HelloWorld.py
- Open the URL in web browser 'http://localhost:8888/client.html'
- Install numpy and scipy and Nion UI Launcher.
- Clone the repository into a nion/ui subfolder.
- On Mac OS:
"Nion UI Launcher.app/Contents/MacOS/Nion UI Launcher" /path/to/anaconda/ nionui/examples/basic/HelloWorld.py
- On Windows:
"Nion UI Launcher.exe" /path/to/anaconda nionui/examples/basic/HelloWorld.py
- On Linux:
"Nion UI Launcher" /path/to/anaconda nionui/examples/basic/HelloWorld.py