VISualization for Ess Neutron Science
Project description
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)
# Plot a 2D image of the integrated detector counts
vs.image(file2)
# Plot a x versus time-of-flight diagram
vs.x_vs_tof(file1)
# Open a slicer plot that allows to navigate the tof dimension with mouse wheel
vs.slicer(file2)
# 3D volume rendering (x, y, tof)
# (only available in jupyter notebook, requires ipyvolume)
vs.volume(file1)
Project details
Release history Release notifications | RSS feed
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 hashes)
Built Distribution
visens-0.1.7-py3-none-any.whl
(23.6 kB
view hashes)