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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

simplex_ui-3.2.0.0-py3-none-win_amd64.whl (7.9 MB view details)

Uploaded Python 3Windows x86-64

simplex_ui-3.2.0.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.0.0-py3-none-macosx_14_0_arm64.whl (7.8 MB view details)

Uploaded Python 3macOS 14.0+ ARM64

File details

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

File metadata

  • Download URL: simplex_ui-3.2.0.0-py3-none-win_amd64.whl
  • Upload date:
  • Size: 7.9 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.0.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 3aec276639bef8c7392ae0075c5c55b38e57ca7b0f421d6ffee0412b4755fc60
MD5 ed3aac24a1959bdf4da984376fe6f2b0
BLAKE2b-256 a8fb2df235e681c64a3808684836b61c3c7e1cdff2e3a6dc35bf96f432ca4431

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for simplex_ui-3.2.0.0-py3-none-macosx_14_0_x86_64.whl
Algorithm Hash digest
SHA256 ad4c2e3d9945166fc33bfd333e8a8203188b0b6f1e7c697363285ca1997d4864
MD5 8c398f8b0f383685de2e793b2c25fd32
BLAKE2b-256 55319e5ff0d3dd83db68d58fb7e304e2de450fa5fab8f9e4c961bd9522fdc397

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for simplex_ui-3.2.0.0-py3-none-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 5045824bf827d790fc14b875e6ae3e505d0054a382234937af16430d1edeb954
MD5 c20e3aed6726d9c788aae8fe028cd70c
BLAKE2b-256 3730cd5619a2660aaaf3f72e4209a1fd69539c63d32f27423284cfe8aceb1f76

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