Skip to main content

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

Metadata

Release files for visens 0.1.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for visens 0.1.7
File Size Uploaded
visens-0.1.7.tar.gz 8.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for visens 0.1.7
File Interpreter ABI Platform
visens-0.1.7-py3-none-any.whl Python 3 none any Details

Total release size: 31.9 kB

Release files / visens-0.1.7.tar.gz

Download URL visens-0.1.7.tar.gz
Size 8.3 kB
Tags Source
SHA-256 checksum
How to use checksums
26b12e306b9d3a226a43ff0b4755a48fb371368b7776b2ac941808fa27cd95aa
BLAKE2b-256 checksum
How to use checksums
66a9cf7e71c0024891834ac754eeadf1996bf1ebc52ddfda45fa58790f432523
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / visens-0.1.7-py3-none-any.whl

Download URL visens-0.1.7-py3-none-any.whl
Size 23.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
16c8cf7282be5981e5de834dbffa37823f36159ed844811ef7e043a6a44fafd8
BLAKE2b-256 checksum
How to use checksums
a68d9ff68dd2b0ce9d3c23d9a152f3372345f5b819817d4453e89c2e047b59ba
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.1.7 This release

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page