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.1.2.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.1.2-py3-none-win_amd64.whl (8.0 MB view details)

Uploaded Python 3Windows x86-64

simplex_ui-3.2.1.2-py3-none-macosx_14_0_x86_64.whl (8.1 MB view details)

Uploaded Python 3macOS 14.0+ x86-64

simplex_ui-3.2.1.2-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.1.2.tar.gz.

File metadata

  • Download URL: simplex_ui-3.2.1.2.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.1.2.tar.gz
Algorithm Hash digest
SHA256 cd65fd993b3f498aca59d3b470779e81133132fe59c1b2ef9b73f71686b2384c
MD5 3379b4c287461a271b8b0eb3d9d6a752
BLAKE2b-256 213f745e24329fed8f1639651a5622d6ed040ce93f6f151f66b5fd1024bb01b9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: simplex_ui-3.2.1.2-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.1.2-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 e446bafb3b7466986d384bccf5fbf4ac824b06997f84220a5a19e8f39d6bb402
MD5 5d00ac86c60d5db21f6e76a29c0dc759
BLAKE2b-256 71b42c090e0dec6aa8a77ace54d862cc8221a3caba79fc11d038caf297d8be54

See more details on using hashes here.

File details

Details for the file simplex_ui-3.2.1.2-py3-none-macosx_14_0_x86_64.whl.

File metadata

File hashes

Hashes for simplex_ui-3.2.1.2-py3-none-macosx_14_0_x86_64.whl
Algorithm Hash digest
SHA256 18df07abf6d197e214c934b44e2b57bc8726a10436e2331e6e6b75a160961590
MD5 04ee789101bebd344842b910733510c5
BLAKE2b-256 5e50d22b6e938dc874c1b55db775124dd1751f0c9911e62bbbf7775825bed7ce

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for simplex_ui-3.2.1.2-py3-none-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 279e23fc1b0e986028d36659981176ecc5403bc955c4cd0b86db084f4cb5ff43
MD5 d958a54663ff0d7ddae08731551c468e
BLAKE2b-256 1c360bcf96c3515433dd266b49e3d1d78caf183bfca3defd08f4b5c2570796a6

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