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.0.tar.gz (316.4 kB view details)

Uploaded Source

Built Distribution

icarus_fusion-0.1.0-py3-none-any.whl (303.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: icarus_fusion-0.1.0.tar.gz
  • Upload date:
  • Size: 316.4 kB
  • 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.0.tar.gz
Algorithm Hash digest
SHA256 ffa5f9555f0468ec316bf3d61130764cea614079dc5ffdaf32a0e4807ef5e218
MD5 dfbfc9d250f5367a1589ab29ac932cfa
BLAKE2b-256 97eca19a7c3217919671618575a925cfb681ded56fc46df7f8bfe71199d1aeb0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for icarus_fusion-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fd31ae364a5c7bcf82a7b7fbe2c9b03bdade23ac1d46fb6a778762b6e751d2c0
MD5 45f4213bcc5c9cb6c1769d09fec25c2a
BLAKE2b-256 92523f4ad2cfa995e059d32bd7d7e447662e2a24afa600532d0aec082b61e9c4

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