Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

VESUIVO REPOSITORY

This repository contains:

  • mvesuvio package containing the Optimized NCP analysis procedures, published nightly.
  • Vesuvio calibration script

mvesuvio package

Install mamba

To use the mvesuvio package you will need to use the conda package manager (or preferably mamba, a much faster implementation of conda).

This is also the recommended best practice way of using the mantid packages.

To download and install mamba:

Create and activate an environment for mvesuvio

Firstly create a conda environment where mvesuvio is going to be installed:

  • mamba create -n <environment_name>

Next activate the environment you created:

  • mamba activate <environment_name>

Finally, install mvesuvio through the mantid channel:

  • mamba install -c mantid/label/nightly mvesuvio

Using mvesuvio via the command line

You can use mvesuvio via the command line. There are two commands available: config and run.

config

The config command has three optional arguments:

  • --set-cache - Sets the location mvesuvio will set up the experiment directory.
  • --set-experiment - Sets the current experiment. This creates a new directory in the experiment directory (if not existing) which contains an input file. mvesuvio caches and outputs workspaces here.
  • --set-ipfolder - Sets the directory in which mvesuvio will look for instrument parameter files.

If any of these arguments are not provided a default location/experiment will be selected. These will be output on the running of mvesuvo config

Usage examples:

  • mvesuvio config --set-cache C:\Vesuvio --set-experiment example1 --set-ipfolder C:\IPFolder - Set cache and IP folder, create a new experiment directory called example1.
  • mvesuvio config --set-experiment example2 - Creates a new experiment directory in C:\Vesuvio called example2.

run

The run command has one optional argument:

  • --yes - If provided, this argument automatically inputs Y when prompted for user input.

Usage example:

  • mvesuvio run --yes - Run the vesuvio analysis, automatically providing Y when prompted.
  • mvesuvio run- Run the vesuvio analysis, will wait for user input when prompted.

Using mvesuvio via workbench

You can also use mvesuvio via mantidworkbench if you desire a higher degree of interaction with the output workspaces.

To do this, install workbench into your existing vesuvio conda environment:

  • mamba install mantidworkbench

Start workbench using the command line:

  • workbench

In the workbench script editor you must first import mvesuvio:

  • import mvesuvio as mv

After this you can set the config if desired, as above in the command line example. All arguments are optional.

  • mv.set_config(cache_directory='C:\Vesuvio', experiment_id='example3', ip_folder='C:\IPFolder')

Following the setting of the config, you can use workbench to open and edit the analysis input file created in the relevant experiment directory. Once the inputs have been ammended and the file saved, run the analysis:

  • mv.run(yes_to_all=True)

Metadata

Release files for mvesuvio 0.0.0.dev163

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

Source distribution (sdist)

Source distribution for mvesuvio 0.0.0.dev163
File Size Uploaded
mvesuvio-0.0.0.dev163.tar.gz 66.9 kB Details

Built distribution (wheel)

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

Total release size: 147.2 kB

Release files / mvesuvio-0.0.0.dev163.tar.gz

Download URL mvesuvio-0.0.0.dev163.tar.gz
Size 66.9 kB
Tags Source
SHA-256 checksum
How to use checksums
f26e5d4bacd58e8adcba83c9bba48b517db61e0b18188f8f9ad0f5090040eebe
BLAKE2b-256 checksum
How to use checksums
bbaa64b587e4f0a4f096263f30da26db6fbfa9e4ff5e21d37ec9ae1c29c417f9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.13

Release files / mvesuvio-0.0.0.dev163-py3-none-any.whl

Download URL mvesuvio-0.0.0.dev163-py3-none-any.whl
Size 80.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
65839c848bdf86a70ad5aae677c324ec796fa01f24a87d4899687c88a952ee92
BLAKE2b-256 checksum
How to use checksums
50e127006e4221b1e8ace5edc14c9148c39344d37aafe402539a894a6bea3632
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.13

Release history Release notifications | RSS feed

1.0.13

2 release files

1.0.10

2 release files

1.0.9

2 release files

1.0.7

2 release files

1.0.6

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.2

2 release files

1.0

2 release files

0.1.26

2 release files

This release

0.0.0.dev163 This release

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