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.7.tar.gz (5.1 kB view hashes)

Uploaded Source

Built Distribution

visens-0.0.7-py3-none-any.whl (19.9 kB view hashes)

Uploaded Python 3

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