hyperspy / hyperspy_gui_ipywidgets

ipywidgets GUI elements for HyperSpy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

hyperspy_gui_ipywidgets

Tests PyPI - Python Version PyPI Anaconda Cloud

hyperspy_gui_ipywidgets provides ipywidgets graphic user interface (GUI) elements for hyperspy.

Installation

Option 1: With pip

Make sure you have pip installed and run:

pip install hyperspy_gui_ipywidgets

Option 2: With Anaconda

Install anaconda for your platform and run

conda install hyperspy-gui-ipywidgets -c conda-forge

Running the tests

py.test is required to run the tests.

pip install "hyperspy_gui_ipywidgets[test]"
py.test --pyargs hyperspy_gui_ipywidgets

Usage

Please refer to the HyperSpy documentation for details. Example (to run in the Jupyter Notebook):

import hyperspy.api as hs
hs.preferences.gui(toolkit="ipywidgets")

HyperSpy preferences ipywidget

Development

Contributions through pull requests are welcome. See the HyperSpy Developer Guide.

About

ipywidgets GUI elements for HyperSpy

License:GNU General Public License v3.0


Languages

Language:Python 100.0%