Skip to main content

VISualization for Ess Neutron Science

Project description

image.png

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

Uploaded Source

Built Distribution

visens-0.1.7-py3-none-any.whl (23.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: visens-0.1.7.tar.gz
  • Upload date:
  • Size: 8.3 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.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for visens-0.1.7.tar.gz
Algorithm Hash digest
SHA256 26b12e306b9d3a226a43ff0b4755a48fb371368b7776b2ac941808fa27cd95aa
MD5 94e1709eaf88663d92f4b137ab5101ae
BLAKE2b-256 66a9cf7e71c0024891834ac754eeadf1996bf1ebc52ddfda45fa58790f432523

See more details on using hashes here.

File details

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

File metadata

  • Download URL: visens-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 23.6 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.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for visens-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 16c8cf7282be5981e5de834dbffa37823f36159ed844811ef7e043a6a44fafd8
MD5 ec2ad10a29f5e9ca6c04b7ba2818d108
BLAKE2b-256 a68d9ff68dd2b0ce9d3c23d9a152f3372345f5b819817d4453e89c2e047b59ba

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