Beamline
Accelerator online modeling and visualization package
Install / Use
/learn @zhangt58/BeamlineREADME
beamline
Accelerator online model and lattice visualization package developed by <code>Python</code>.
Developing language: <code>Python 2.7 and 3.x</code>
As of release 2.0.0, Python 3.x is supported, (1.x.y supports Python 2.7).
Documentation: https://archman.github.io/beamline/
Main Features:
- Parsing <code>elegant</code> (electron accelerator tracking code) lattice file (.lte) to be python dict or json string for further operations.
- Modeling accelerator magnetic elements, such as dipole, quadrupole, drift, etc. to be python objects, from EPICS control environment to OOP level.
- Automatic modeling from .lte lattice file definition with postfixed '!epics' anotation to define EPICS control configurations.
- Support unit conversion between EPICS PV raw value and the physical real value of elements.
- Modeling lattice beamline from modeled elements, constructing Lattice instance, dumping .lte file for code tracking.
- Feeding defined elements with new configuration, interfacing with EPICS environment, to form the close-loop online system.
- Visualizing the lattice layout by predefined elements' style.
- Friendly native-look GUI application to facilitate these functionalities.
Screenshots:
- Lattice visualization after modeling,
- With annotations,
- GUI application:
latticeviewer:
Installation and Usage:
For the installation and the list of dependencies which partially need manual interaction see the documentation, please.
Related Skills
node-connect
344.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
claude-opus-4-5-migration
96.8kMigrate prompts and code from Claude Sonnet 4.0, Sonnet 4.5, or Opus 4.1 to Opus 4.5
frontend-design
96.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
model-usage
344.1kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
