steam_models
Repository of STEAM superconducting magnets and circuit models (Copyright © 2022, CERN, Switzerland. All rights reserved.)
Installation
Released version:
pip install steam-models
Test version:
pip install -i https://test.pypi.org/simple/ steam-models
Links
STEAM website: https://espace.cern.ch/steam/
Contact
STEAM User Agreement
By using any software of the STEAM framework, users agree with this document: https://edms.cern.ch/document/2024516
QUICK START
- Clone the project to your local folder
- Available model input files are located in subfolders \conductors, \magnets, and \circuits. In this example, the model located in \magnets\MBRD\input\ will be built.
- Add your personal settings file: you can start by copying/pasting the file settings\user_settings\settings.SYSTEM.yaml
- Install the Python package steam-sdk (https://pypi.org/project/steam-sdk/)
- If you know how to install a Python package, go for it!
- If you don't know, you can run these code lines in a notebook cell
import sys
!{sys.executable} -m pip install --user --upgrade steam-sdk
- Open the notebook STEAM_Library_withoutWidgets.ipynb (recommended using Jupyter or SWAN)
- Edit the values of the following inputs according to wishes:
case_model: str = 'magnet'
model_name: str = 'MBRD'
software: str = 'LEDET'
flagBuild: bool = True
verbose: bool = False
flag_plot_all: bool = True
- Run the cell. The code will generate a LEDET model in the folder \magnets\MBRD\output.
Release files for steam-models 2023.11.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| steam-models-2023.11.0.tar.gz | 88.6 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| steam_models-2023.11.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 88.6 MB
Release files / steam-models-2023.11.0.tar.gz
| Download URL | steam-models-2023.11.0.tar.gz |
|---|---|
| Size | 88.6 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c1a1934a840e2717d23a151344c953f0bde1c109bfc08e88b890935ba8229e63
|
|
BLAKE2b-256 checksum How to use checksums |
ed4e648732132e4f6c9672d86395ac5033284c78756add97770925d01a432101
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.12.0 pkginfo/1.8.2 requests/2.28.1 requests-toolbelt/0.9.1 tqdm/4.64.1 CPython/3.8.0
|
Release files / steam_models-2023.11.0-py3-none-any.whl
| Download URL | steam_models-2023.11.0-py3-none-any.whl |
|---|---|
| Size | 2.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e912a93dacee782b7ca31277a2e990df4899a75fce2d838200d2cb947504039b
|
|
BLAKE2b-256 checksum How to use checksums |
f8927415afd6ec6d9f4dec1d721f434b66c11d4b733a1dd1e983fd12097f7156
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.12.0 pkginfo/1.8.2 requests/2.28.1 requests-toolbelt/0.9.1 tqdm/4.64.1 CPython/3.8.0
|