Skip to main content

VISualization for Ess Neutron Science

Project description

VISENS

VISualization for ESS Neutron Science

Installation:

pip install visens

Usage:

import visens as vs

# Diffraction experiment
file1 = "V20_ESSIntegration_2018-12-13_0942_stripped.nxs"
# Reflectometry experiment
file2 = "nicos_00000447_agg_with_monitor.nxs"
# Plot a 2D image of the integrated detector counts
vs.image(file2)

image.png

# Plot a x versus time-of-flight diagram
vs.x_vs_tof(file1)

x_vs_tof.png

# Open a slicer plot that allows to navigate the tof dimension with mouse wheel
vs.slicer(file2)

slicer.png

# 3D volume rendering (x, y, tof)
# (only available in jupyter notebook, requires ipyvolume)
vs.volume(file1)

volume.png

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

visens-0.0.2.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

visens-0.0.2-py3-none-any.whl (19.8 kB view details)

Uploaded Python 3

File details

Details for the file visens-0.0.2.tar.gz.

File metadata

  • Download URL: visens-0.0.2.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3

File hashes

Hashes for visens-0.0.2.tar.gz
Algorithm Hash digest
SHA256 5490401d06a0bdbf6445818c9ce83ae0e7ba27b7ad539ed2e3b7ffd2f934517c
MD5 33d93097122026e1a7632d048ffc7272
BLAKE2b-256 b3e58de0827b8a88a65c523e2dd0b7edb950ce38cceda9be0659c2f82ae9af44

See more details on using hashes here.

File details

Details for the file visens-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: visens-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 19.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3

File hashes

Hashes for visens-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a0fdcf554e4b8d91f4f5f4cc7c7c6d017388f6e6ad83f6de0cde8c083cacc956
MD5 57b2d9ab9cfbeabc14157178b2168f44
BLAKE2b-256 fab6bd1777207259153f9ba33f1f512a7786064e02242e5a66ce2eaee2a83dfc

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