Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hyperspy/hyperspy_gui_traitsui
traitsui GUI elements for HyperSpy
https://github.com/hyperspy/hyperspy_gui_traitsui
gui hyperspy-extension
Last synced: about 2 months ago
JSON representation
traitsui GUI elements for HyperSpy
- Host: GitHub
- URL: https://github.com/hyperspy/hyperspy_gui_traitsui
- Owner: hyperspy
- License: gpl-3.0
- Created: 2017-05-16T16:52:19.000Z (over 7 years ago)
- Default Branch: main
- Last Pushed: 2024-07-25T17:52:34.000Z (6 months ago)
- Last Synced: 2024-10-30T03:38:00.616Z (3 months ago)
- Topics: gui, hyperspy-extension
- Language: Python
- Size: 325 KB
- Stars: 7
- Watchers: 7
- Forks: 12
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES.md
- License: LICENSE
Awesome Lists containing this project
README
[![Tests](https://github.com/hyperspy/hyperspy_gui_traitsui/workflows/Tests/badge.svg)](https://github.com/hyperspy/hyperspy_gui_traitsui/actions)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/hyperspy_gui_traitsui.svg)](https://pypi.org/project/hyperspy-gui-traitsui)
[![PyPI](https://img.shields.io/pypi/v/hyperspy_gui_traitsui.svg)](https://pypi.org/project/hyperspy-gui-traitsui)
[![Anaconda Cloud](https://anaconda.org/conda-forge/hyperspy-gui-traitsui/badges/version.svg)](https://anaconda.org/conda-forge/hyperspy-gui-traitsui)**hyperspy_gui_traitsui** provides traitsui graphic user interface (GUI) elements for hyperspy.
## Installation
### Option 1: With pip
Make sure you have
[pip installed](https://pip.pypa.io/en/stable/installing/) and run:```bash
pip install hyperspy_gui_traitsui
```### Option 2: With Anaconda
Install anaconda for your platform and run
```bash
conda install hyperspy-gui-traitsui -c conda-forge
```## Usage
Please refer to the [HyperSpy documentation](http://hyperspy.org/hyperspy-doc/current/index.html) for details. Example (to run in any jupyter flavour):
```python
%matplotlib qt
import hyperspy.api as hs
hs.preferences.gui(toolkit="traitsui")
```
![HyperSpy preferences traitsui](https://github.com/hyperspy/hyperspy_gui_traitsui/raw/main/images/preferences_gui.png "HyperSpy preferences traitsui")## Development
Contributions through pull requests are welcome. See the
[HyperSpy Developer Guide](http://hyperspy.org/hyperspy-doc/current/dev_guide.html).