https://github.com/danporter/i16_scan_generator
Simple GUI to automatically generate scan commands in GDA
https://github.com/danporter/i16_scan_generator
Last synced: about 1 year ago
JSON representation
Simple GUI to automatically generate scan commands in GDA
- Host: GitHub
- URL: https://github.com/danporter/i16_scan_generator
- Owner: DanPorter
- Created: 2022-10-24T19:47:48.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-10-29T07:41:02.000Z (over 3 years ago)
- Last Synced: 2025-02-08T09:45:39.262Z (over 1 year ago)
- Language: Python
- Size: 77.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# i16_scan_generator
Simple GUI to automatically generate scan commands in GDA
**Version 1.0**
By Dan Porter, PhD
Diamond Light Source Ltd.
2022

#### Usage:
Start the GUI from a terminal
```text
$ python -m i16_scan_generator.py
```
Or, start the window from another tkinter GUI
```python
import tkinter as tk
from i16_scan_generator import ScanGenerator
root = tk.Tk()
cmd = ScanGenerator(root).show() # Waits for user to press "insert"
```
For comments, queries or bugs - email [dan.porter@diamond.ac.uk](mailto:dan.porter@diamond.ac.uk)
# Installation
**Requirements:**
Python 3+ with packages: *Numpy*, *Tkinter*.
BuiltIn packages used: *sys*, *os*, *re*
Download latest version from GitHub, then run the file
```text
$ git clone https://github.com/DanPorter/i16_scan_generator.git
$ cd i16_scan_generator
$ python -m i16_scan_generator.py
```