SIMPLEX User Interface to Python
Project description
simplex-ui
simplex-ui is a Python library to interface the FEL simulation code SIMPLEX.
Details
For details, visit the simplex-ui homepage
Installation
Use the package manager to install simplex-ui.
pip install simplex-ui (--user)
Usage
import simplex
# launch SIMPLEX: interactive mode, HTML source in CDN
simplex.Start(mode="i")
# open a parameter file "/path/to/parameter_file"
simplex.Open("/path/to/parameter_file")
# start calculation: output file will be /path/to/data_dir/sample.json
simplex.StartSimulation(folder="/path/to/data_dir", prefix="sample", serial=-1)
# plot gain curve (growth of the pulse energy) in the Post-Processor
simplex.PostProcess.PlotGainCurve("Pulse Energy")
# quit SIMPLEX
simplex.Exit()
Requirement
You need to install a web browser (Chrome, Edge, or Firefox; Safari is not upported) to show parameter lists, graphical plots, and calculation progress.
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
simplex-ui-3.2.0.1.zip
(5.7 MB
view details)
File details
Details for the file simplex-ui-3.2.0.1.zip.
File metadata
- Download URL: simplex-ui-3.2.0.1.zip
- Upload date:
- Size: 5.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e227a0177395aaa995d455033f7f10e537f01d329d2e19b5d5381a260ad13858
|
|
| MD5 |
0eae0a9dbacf7ca5458559dbb7ce1300
|
|
| BLAKE2b-256 |
b3f98580804e1ad512901ad5b8830dad72276e566fe4ce94b6030dbc953a89a2
|