Skip to main content

Neutron Scattering software suite.

Project description

MJOLNIR-GUI

This is a graphical interface for the MJOLNIR: https://github.com/MJOLNIRPackage/MJOLNIR/, which deals with multiplexing inelastic neutron spectrometers. MJOLNIRGui is meant to introduce the scripting software in a user-friendly way and to give access to data-overview methods either during an experiment or when inspecting data files. Further information can be found at https://www.psi.ch/en/sinq/camea/data-treatment.

Citing this package

If you use this software for data treatment, please do cite it using its doi and the article found at https://www.psi.ch/en/sinq/camea/data-treatment.

Install

There are in total four ways of installing this interface to MJOLNIR

Using installers

Installers for the app is currently supported on Windows and Ubuntu. For both, installation files are available at https://www.psi.ch/en/sinq/camea/data-treatment. To install, double click the .exe file in windows, or run the .deb file through the system package manager on Ubuntu.

Anaconda and Pip

The app can be install in an Anaconda environment on all platforms. In order to do this, first the anaconda environment is to be set up

    conda create --name MJOLNIRGui python=3.6 geos numpy scipy shapely

For windows, it is important that the geos and shapely modules are installed through conda instead of pip. Next, the app is installed by

    conda activate MJOLNIRGui
    pip install MJOLNIRGui

This installs the needed packages and creates a command line script to run the app. To run, be sure to be in the right environment and call

    MJOLNIRGui

Through git

As an alternative to the two above methods, it is possible to clone the git repository og MJOLNIRGui and run it locally. This is done by creating a folder in which to clone and invoke the clone command

    git clone https://github.com/MJOLNIRPackage/MJOLNIR-GUI.git
    cd MJOLNIR-GUI

As was the case for the anaconda and pip method, on Windows the geos and shapely modules need to be installed through anaconda. Further needed packages are fbs PyQt5 PyInstaller==3.4 setuptools<45.0.0, MJOLNIR. With all of these installed navigate to the root directory of the git repository (containing setup.py, src, ...) and call

    fbs run

Ubunto through the apt-get

You can also add the MJOLNIRGui to be automatically update through the software updater. This is done by

    sudo apt-get install apt-transport-https
    wget -qO - https://fbs.sh/MJOLNIRPackage/MJOLNIRGui/public-key.gpg | sudo apt-key add -
    echo 'deb [arch=amd64] https://fbs.sh/MJOLNIRPackage/MJOLNIRGui/deb stable main' | sudo tee /etc/apt/sources.list.d/mjolnirgui.list
    sudo apt-get update
    sudo apt-get install mjolnirgui

If you already have installed the app, a forced update can be triggered via:

    sudo apt-get update -o Dir::Etc::sourcelist="/etc/apt/sources.list.d/mjolnirgui.list" -o Dir::Etc::sourceparts="-" -o APT::Get::List-Cleanup="0"
    sudo apt-get install --only-upgrade mjolnirgui

Lastly, your can also install without automatic updates by downloading:

https://fbs.sh/MJOLNIRPackage/MJOLNIRGui/MJOLNIRGui.deb

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

MJOLNIRGui-0.9.0.tar.gz (187.9 kB view details)

Uploaded Source

Built Distribution

MJOLNIRGui-0.9.0-py3-none-any.whl (2.9 MB view details)

Uploaded Python 3

File details

Details for the file MJOLNIRGui-0.9.0.tar.gz.

File metadata

  • Download URL: MJOLNIRGui-0.9.0.tar.gz
  • Upload date:
  • Size: 187.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.10

File hashes

Hashes for MJOLNIRGui-0.9.0.tar.gz
Algorithm Hash digest
SHA256 7c3983aaf57300fa42b8da3f123d86f8e2e56791f8cc0c37b15c696dbc979b25
MD5 93ebf6b53c0a9a0ef17f4625cb38aba9
BLAKE2b-256 3a224e186c19469984e074a2dc8d6984d5ad8b4815e49f2cba8812bda5b4d4bf

See more details on using hashes here.

File details

Details for the file MJOLNIRGui-0.9.0-py3-none-any.whl.

File metadata

  • Download URL: MJOLNIRGui-0.9.0-py3-none-any.whl
  • Upload date:
  • Size: 2.9 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.10

File hashes

Hashes for MJOLNIRGui-0.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e565e860a2cf0ececa66aa013ef2eed55ce57ec53cb4ed7d3b3d061cff6b3813
MD5 8b0a7aa74246c051ee607b33ce3fd52f
BLAKE2b-256 14bb77d1fd39a1e2db85128c2aade41ac55675176485da7b20b126588f2b56ee

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page