Skip to main content

A machine learning tool for fusion simulation validation.

Project description

Icarus

Machine learning for fusion simulation validation. Named after the Icarus of greek mythology - because to reach for the stars, you risk a little sunburn.

The purpose of this package is to provide a set of machine learning tools that engineers can use to assess the agreement between an experiment and simulation; that is, to validate the simulation with experimental data. When the experiment does not agree with the simulation the tools should provide the engineer with a probable reason for the mismatch to allow further investigation and diagnosis.

Installation

Standard Installation (PyPI)

You can install icarus from PyPi as follows:

pip install icarus

Developer Installation

Clone icarus to your local system and cd to the root directory of icarus. Ensure that your virtual environment is activated and run from the icarus root directory:

pip install -e .

PyTorch

Icarus requires the latest stable version of PyTorch. The installation process varies depending on your hardware and operating system. Please follow the appropriate instructions below:

CPU Installation:

If you do not have access to NVIDIA GPUs, install the CPU version of PyTorch. Use the following commands based on your operating system:

  • Windows/macOS:
pip3 install torch
  • Linux:
pip3 install torch --index-url https://download.pytorch.org/whl/cpu

GPU Installation (NVIDIA CUDA):

If you have access to NVIDIA GPUs and want to leverage CUDA for faster computation, use these commands (note: CUDA is not available on MacOS):

  • Linux:
pip3 install torch
  • Windows:
pip3 install torch --index-url https://download.pytorch.org/whl/cu121

Note: The CUDA version (cu121 in this example) may change. Always check the official PyTorch website for the most up-to-date installation instructions and CUDA version compatibility.

Verifying Installation:

After installation, you can verify that PyTorch is installed correctly by running:

import torch

print(torch.__version__)
print(torch.cuda.is_available())  # returns True if CUDA available and properly installed

Getting Started

The examples folder includes a sequence of examples using icarus : to generate the dataset and train an ml model from the suite available on the generated data.

Contributors

  • Arjav Poudel, UK Atomic Energy Authority, (arjavp-ukaea)
  • Baris Cavusoglu, UK Atomic Energy Authority, (barisc-ukaea)
  • Luke Humphrey, UK Atomic Energy Authority, (lukethehuman)

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

icarus_fusion-0.1.2.tar.gz (1.1 MB view details)

Uploaded Source

Built Distribution

icarus_fusion-0.1.2-py3-none-any.whl (1.1 MB view details)

Uploaded Python 3

File details

Details for the file icarus_fusion-0.1.2.tar.gz.

File metadata

  • Download URL: icarus_fusion-0.1.2.tar.gz
  • Upload date:
  • Size: 1.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.3

File hashes

Hashes for icarus_fusion-0.1.2.tar.gz
Algorithm Hash digest
SHA256 2b7e1406129d092a3840ac8bd39d3627d195819fd9f605eb045dd0b2bf6e4f68
MD5 5a993f518c66811f226756c110351606
BLAKE2b-256 59423786d4b6b3cb5ca0e9bb79500a370fdf1bbf1c35e59d89c366f941e7341e

See more details on using hashes here.

File details

Details for the file icarus_fusion-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for icarus_fusion-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 80519993d71aba997d51f11511b78104a5ac56fe12d73f4acffd03ef92ad55a9
MD5 2f7c0b862851a69dfa05083b776df06e
BLAKE2b-256 ec58e6a1bfdb2b0fa851b36c3f5f9fd3313958ef006903ad220475ba52c3ceda

See more details on using hashes here.

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