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

Uploaded Python 3Windows x86-64

simplex_ui-3.2.1.1-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.1-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.1.tar.gz.

File metadata

  • Download URL: simplex_ui-3.2.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 7f759a80b88af0c6e1b3e61a8ce23b41de871f0f1f563c7162ace1d5c603fdc2
MD5 bfa4ca117a878e8aac4f7ef8e238647b
BLAKE2b-256 b75daabe1c0754d99ef27ed69c96809bce1e2526fb5a606779ffacabb6b9a831

See more details on using hashes here.

File details

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

File metadata

  • Download URL: simplex_ui-3.2.1.1-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.1-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 d547a549280f4b591cbce7d3298d465212fbd308e41a5a3c15051277fc093cf9
MD5 67cb6cb0b61bb815c90562031a674aee
BLAKE2b-256 e087581ed927f030bf7cbe5e1d5a43a4be24bc158f1ef8c80258008a9c154d29

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for simplex_ui-3.2.1.1-py3-none-macosx_14_0_x86_64.whl
Algorithm Hash digest
SHA256 518dfd696f10c3c414a6f9e9e0b50b9ace727a3c1e897862b0deda056eb2fc37
MD5 c7b4ffa07af474e028c6decce26f4f0f
BLAKE2b-256 193acf99b5a2d4472bfd917bb3c64741d324ae42f9bed79e5b270b7598948706

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for simplex_ui-3.2.1.1-py3-none-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 d41564f4278a358c64282261d011ccb31f7a454066458044331ce4d9ded7a99a
MD5 31ec6dc052778ed62217db3749999fd9
BLAKE2b-256 6dd1428eeeece4b1204ceaec089f5ee19948e4eaa64c31bd90bb9925e6073434

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