Skip to main content

pyvale

fig_pyvale_logo

The python validation engine (pyvale) is your virtual engineering laboratory: An all-in-one package for sensor uncertainty quantification simulations, experimental design/sensor placement optimisation and simulation calibration/validation. Used to simulate experimental data from an input multi-physics simulation by explicitly modelling sensors with realistic uncertainties. Useful for experimental design, sensor placement optimisation, testing simulation validation metrics and virtually testing digital shadows/twins.

We are actively developing dedicated tools for simulation and uncertainty quantification of imaging sensors including digital image correlation (DIC) and infra-red thermography (IRT). Check out the documentation to get started with some of our examples.

Quick Install

We recommend installing pyvale into a virtual environment of your choice as pyvale requires python 3.13. If you need help setting up your virtual environment and installing pyvale head over to the installation guide in our docs.

pyvale can be installed from pypi:

pip install pyvale

Quick Demo: Digital Image Correlation

Below is a really quick example for setting up a DIC calculation. It's highly likely that your case will require a more tailored calculation configuration.

For further details please see the DIC examples, theory guide, user guide and API.

Define the Region of Interest (ROI):

import pyvale.dic as dic

roi = dic.RegionOfInterest(ref_image="image0000.tiff")
roi.interactive_selection()

run the DIC:

# use dic.calculate_3d for stereo
dic.calculate_2d(reference="image0000.tiff",
                 deformed="image*.tiff",
                 roi_mask=roi.mask, # built using ROI tool
                 seed=roi.seed, # built using ROI tool
                 subset_size=21,
                 subset_step=10)

Import the results for any analysis/plotting:

dicdata = dic.import_2d(data="dic_results*.csv", # default result files prefix
                        delimiter=",")


import matplotlib.pyplot as plt
plt.pcolor(dicdata.ss_x, 
           dicdata.ss_y, 
           dicdata.u_px[0]) # horizontal displacement for 0th image
plt.show()

Quick Demo: Simulating Point Sensors

/pyvale can be used to simulate thermocouples and strain gauges applied to a MOOSE thermo-mechanical simulation of a fusion divertor armour heatsink. The figures below show visualisations of the virtual thermocouple and strain gauge locations on the simualtion mesh as well as time traces for each sensor over a series of simulated experiments.

The code to run the simulated experiments and produce the output shown here comes from this example. You can find more examples and details of pyvale python API in the pyvale documentation.

fig_thermomech3d_tc_vis fig_thermomech3d_sg_vis
Visualisation of the thermocouple locations. Visualisation of the strain gauge locations.
fig_thermomech3d_tc_traces fig_thermomech3d_sg_traces
Thermocouple time traces over a series of simulated experiments. Strain gauge time traces over a series of simulated experiments.

Contributors

The Computer Aided Validation Team at UKAEA:

  • Lloyd Fletcher (ScepticalRabbit), UK Atomic Energy Authority
  • Joel Hirst (JoelPhys), UK Atomic Energy Authority
  • Lorna Sibson (lornasibson), UK Atomic Energy Authority
  • Megan Sampson (meganasampson), UK Atomic Energy Authority
  • Wiera Bielajewa (WieraB), UK Atomic Energy Authority
  • Chris Dawson (ctdaws), UK Atomic Energy Authority
  • Michael Darcy (AnalogArnold), Swansea University
  • Rob Hamill (rob-hamill), UK Atomic Energy Authority
  • Michael Atkinson (mikesmic), UK Atomic Energy Authority
  • Adel Tayeb (3adelTayeb), UK Atomic Energy Authority
  • Alex Marsh (alexmarsh2), UK Atomic Energy Authority
  • Rory Spencer (fusmatrs), UK Atomic Energy Authority
  • John Charlton (coolmule0), UK Atomic Energy Authority

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyvale-2026.9.1.tar.gz (63.9 MB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

pyvale-2026.9.1-cp313-cp313-win_amd64.whl (4.5 MB view details)

Uploaded CPython 3.13Windows x86-64

pyvale-2026.9.1-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (4.5 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

pyvale-2026.9.1-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl (4.4 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.27+ ARM64manylinux: glibc 2.28+ ARM64

pyvale-2026.9.1-cp313-cp313-macosx_26_0_arm64.whl (5.8 MB view details)

Uploaded CPython 3.13macOS 26.0+ ARM64

pyvale-2026.9.1-cp313-cp313-macosx_14_0_arm64.whl (5.8 MB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

File details

Details for the file pyvale-2026.9.1.tar.gz.

File metadata

  • Download URL: pyvale-2026.9.1.tar.gz
  • Upload date:
  • Size: 63.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for pyvale-2026.9.1.tar.gz
Algorithm Hash digest
SHA256 c0e4974b16bbd98d9db469297623c7ef939467fb800e4b2a09ecfe1d8ac4821d
MD5 d6ee54503a3c6da4a8f62bd54596c77f
BLAKE2b-256 7d68e8f0f1d97607e2ab0d9592a3a92692d74a5dce515c782a1a3be7d92637b6

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyvale-2026.9.1.tar.gz:

Publisher: wheels.yml on Computer-Aided-Validation-Laboratory/pyvale

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyvale-2026.9.1-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: pyvale-2026.9.1-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 4.5 MB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for pyvale-2026.9.1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 74ef05eae6bdb80867692267a5a4cac3d7f034111df36f0183b377608eec098e
MD5 8fc08d7412a69dee366da0e65c7bfdc9
BLAKE2b-256 3ac1fa0345d31339a68312bceda95b1e5dd0af4b2123718084abd589a0194d01

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyvale-2026.9.1-cp313-cp313-win_amd64.whl:

Publisher: wheels.yml on Computer-Aided-Validation-Laboratory/pyvale

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyvale-2026.9.1-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pyvale-2026.9.1-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 56132958a281419b59d6d7c1d3b2fca343170c0286957e6d2976f979528c272a
MD5 edbb0ae04fc205988fd7af2aa8a347c3
BLAKE2b-256 e663dcb76d89f0c67f856293e48c757b8d305090f139b7c078bb1544ca3aa035

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyvale-2026.9.1-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: wheels.yml on Computer-Aided-Validation-Laboratory/pyvale

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyvale-2026.9.1-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for pyvale-2026.9.1-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 1926410ab1a1bbe69bf9497a1588db95e281eb88892fac7d3c66352e3fc0b75a
MD5 fb78a201f38477e5beec045133ccf144
BLAKE2b-256 b34fb0045ee4c1335c65505dbdbd10f8c2ddf64ad779a97a0bb5c099795e6469

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyvale-2026.9.1-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl:

Publisher: wheels.yml on Computer-Aided-Validation-Laboratory/pyvale

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyvale-2026.9.1-cp313-cp313-macosx_26_0_arm64.whl.

File metadata

File hashes

Hashes for pyvale-2026.9.1-cp313-cp313-macosx_26_0_arm64.whl
Algorithm Hash digest
SHA256 f1116608ee75093b79847d6bada63d49317e40c45f61bcec7010b43206fa59c1
MD5 87a97dea66749e9dcd7e70c1af6dfd38
BLAKE2b-256 70ea6f1467128e1bfb312106ddb6d5db14cbca0acf51bae456ba832fa543c93b

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyvale-2026.9.1-cp313-cp313-macosx_26_0_arm64.whl:

Publisher: wheels.yml on Computer-Aided-Validation-Laboratory/pyvale

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyvale-2026.9.1-cp313-cp313-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for pyvale-2026.9.1-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 06836cd9d249831e939e78de6d6a37dd82b175958df5a031659e31518d1cd05b
MD5 99213d61a362e147b4d35f4f0e94ed84
BLAKE2b-256 9a5463dbf3f65138d5b9b9488b21474f3eb8ee656360a9b9bcc6ce3cee18a197

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyvale-2026.9.1-cp313-cp313-macosx_14_0_arm64.whl:

Publisher: wheels.yml on Computer-Aided-Validation-Laboratory/pyvale

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

2026.9.1 This release

6 files

2026.9.0

5 files

2026.7.0

7 files

2026.6.1

12 files

2026.6.0

12 files

2026.4.0

12 files

2026.2.0

12 files

2026.1.3

12 files

2026.1.1

12 files

2026.1.0

12 files

2025.8.1

11 files

2025.7.2

11 files

2025.7.1

11 files

2025.7.0

11 files

2025.5.3

11 files

2025.5.2

2 files

2025.4.1

2 files

2025.4.0

2 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