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

Uploaded Python 3Windows x86-64

simplex_ui-3.2.3.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.3.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.3.0.tar.gz.

File metadata

  • Download URL: simplex_ui-3.2.3.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.3.0.tar.gz
Algorithm Hash digest
SHA256 fe66640b818b04005cc199f26709fb359b030e84761a34f433890860ef0b5764
MD5 bb539ae9b501543077e9c06ffc3db760
BLAKE2b-256 7cee14312a61cf4e64a20e6867ef60f353442402501bb4a881db6785cd51a484

See more details on using hashes here.

File details

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

File metadata

  • Download URL: simplex_ui-3.2.3.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.3.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 8890729c1376fa96cb490bc54799849cc7e06a020c117ec79f9d5b8c59af2d75
MD5 725ba9c51cf9cfaba5b81fa7ed14b8c2
BLAKE2b-256 93e22c12cb05b729e5b5ff90bd1e9b84067a553f28837c4fcb2faa5fae865818

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for simplex_ui-3.2.3.0-py3-none-macosx_14_0_x86_64.whl
Algorithm Hash digest
SHA256 0ea04c9d0f1ee9f14d6938c2f4b9c9c4e0e779ecf483cf130b95c31ee8082620
MD5 8f1b7be2b027ce682f80a66f34d16be2
BLAKE2b-256 0172ce68210e694ad18bc037c6874a80f0224a6b3bfff9ce6d09a42b2b80a715

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for simplex_ui-3.2.3.0-py3-none-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 704e12b433c410735b68b57361a467b1dd333f1bfa3078d13a0da68a356bb17f
MD5 8c8bcc885b68f507c217c666e0c3b371
BLAKE2b-256 bbc484a32447aa467aaa77d26b94480018a8f3f1afd678f2361c6cd0fb079252

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