Skip to main content

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

MIT

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

simplex_ui-3.2.2.0.tar.gz (5.6 MB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

simplex_ui-3.2.2.0-py3-none-win_amd64.whl (8.0 MB view details)

Uploaded Python 3Windows x86-64

simplex_ui-3.2.2.0-py3-none-macosx_14_0_arm64.whl (7.9 MB view details)

Uploaded Python 3macOS 14.0+ ARM64

File details

Details for the file simplex_ui-3.2.2.0.tar.gz.

File metadata

  • Download URL: simplex_ui-3.2.2.0.tar.gz
  • Upload date:
  • Size: 5.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.2

File hashes

Hashes for simplex_ui-3.2.2.0.tar.gz
Algorithm Hash digest
SHA256 383109660d49741827b0800ad9ebd0be42978170d153471c282fbfd6652f681f
MD5 e09b301c1f400f99c1c51f0f75456f00
BLAKE2b-256 0f131c9bf5b1683248f7158e8f8cd44376ba1bd09d34d0b9ef7e14dacebf1059

See more details on using hashes here.

File details

Details for the file simplex_ui-3.2.2.0-py3-none-win_amd64.whl.

File metadata

  • Download URL: simplex_ui-3.2.2.0-py3-none-win_amd64.whl
  • Upload date:
  • Size: 8.0 MB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.2

File hashes

Hashes for simplex_ui-3.2.2.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 c619a41c24ef56d3f133c926958dc5af4cad7679365569589494d405ecfa0603
MD5 ee87647a4eca846bb30fc4b54490bfe2
BLAKE2b-256 25f7af9a4f3b56425446b0243a1f07d98d30a32726c612837bd8058a88422d60

See more details on using hashes here.

File details

Details for the file simplex_ui-3.2.2.0-py3-none-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for simplex_ui-3.2.2.0-py3-none-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 8fe8e1524324ad8c77672f2cfda892a5888bc7b55eb63756ce78c668c43288c5
MD5 5385c5dfa0ec2cc639cb664103d1c730
BLAKE2b-256 76d16a6c28f370439a6c93fb6ca568ff93d88272ddea1799b67e9a119c5c28de

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page