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.1.0.2.zip
(5.7 MB
view hashes)
Built Distributions
Close
Hashes for simplex_ui-3.1.0.2-py3-none-win_amd64.whl
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 | 4922e545dc342cb2888f171c81c87ecc0e47a38a2813cc0c95e8c00692c84f4c |
|
| MD5 | 53aa550621518501c4fcacfc30a6ad40 |
|
| BLAKE2b-256 | 7b48e10bad921f91605bbd62fb0167348ef253fc5e32775c73ae6a8ddff9db11 |
Close
Hashes for simplex_ui-3.1.0.2-py3-none-macosx_14_0_x86_64.whl
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 | d370466868f06eb3829fa5cbd860c55454b2da4ade90e4d8916bd0eec78732fe |
|
| MD5 | 06c5d176e48c18e357c3871467ffa065 |
|
| BLAKE2b-256 | f2bc02904c5678c6240cc4664eaf8a74e66507befb342f76aa88687557d59782 |
Close
Hashes for simplex_ui-3.1.0.2-py3-none-macosx_14_0_arm64.whl
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 | 743e7a7ae217e48f455f35bf503511b73ef0350dea4ee9ff7fc04c063d929b52 |
|
| MD5 | 18947bdde9f31cbf94d89e8a55c219e4 |
|
| BLAKE2b-256 | 9ab7708cbf00843fccb8bce721a168b442ad9f3cb722e9ff208f1d4a111ed9ab |