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 1D histogram of the integrated detector counts vs time-of-flight
vs.tof(file2)

image.png

# 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.1.0.tar.gz (6.9 kB view details)

Uploaded Source

Built Distribution

visens-0.1.0-py3-none-any.whl (22.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: visens-0.1.0.tar.gz
  • Upload date:
  • Size: 6.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.1.0.tar.gz
Algorithm Hash digest
SHA256 03c038667b464972a02c23bd7688f7db44e33c5b82fc32f841aaefea41369986
MD5 659cb72b36d4e02841d28a0c4ea804de
BLAKE2b-256 ef5125b874186de78751cf1436e54ef382351e76ace23c755306b5096910b761

See more details on using hashes here.

File details

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

File metadata

  • Download URL: visens-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 22.4 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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 aadb5824f6283551dfc7c0de4d9e623c6d3081d9516b5b3fab66e00b096f99ae
MD5 cfd9669a1756020469f9fe9600e83ba0
BLAKE2b-256 5a8467bb0d54af0e430f632665c43d4b9e6d9894880f79b98649d68c7e25758c

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