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

Uploaded Python 3Windows x86-64

simplex_ui-3.2.1.0-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.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.1.0.tar.gz.

File metadata

  • Download URL: simplex_ui-3.2.1.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.1.0.tar.gz
Algorithm Hash digest
SHA256 21e617c4067b53d3267a88cbcbc92cf51a7ce0cf4938ebbdccf1af106a5ce32f
MD5 3c8b4d1e2abaeb3f0f7828b2a95b9cac
BLAKE2b-256 cd701e48ad3c31f33b403a52e308add79eeffa72d27aa09a911b3182e4d97f75

See more details on using hashes here.

File details

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

File metadata

  • Download URL: simplex_ui-3.2.1.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.1.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 280afe4e6a2d4daa8ddb8c35baaccf4d4ea9a31493e0dd02f09ce23ccefd2a67
MD5 05505e4d3693d27096b3369f82c41df9
BLAKE2b-256 585c261f38defa2b2092426424b11e7590dd9dfc2d5024b3738c4439613401af

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for simplex_ui-3.2.1.0-py3-none-macosx_14_0_x86_64.whl
Algorithm Hash digest
SHA256 9de52cc27924159763e175cb54e55a18f8d3ea1bb54fe1785edd1a3895dccb92
MD5 87b250842641cf2785489955c0816489
BLAKE2b-256 f0d0fbbf96726abfd34e21e3dba957aff11a47e5f4ad18e6f01576fb11a3200e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for simplex_ui-3.2.1.0-py3-none-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 f972f370303f72abc6516bfe036108226f01e59992d0fcbe5506831685b3048f
MD5 6ff129d4a2bfe4e4d4e356cd97e39add
BLAKE2b-256 1161fffff9f43be995a67ccc606cb63193f7d0ce0188ffc2942c3974eefd78c3

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