Skip to content

Example to run the simple Booster expressed as ImpactX script#1402

Merged
ax3l merged 42 commits intoBLAST-ImpactX:developmentfrom
egstern:simple-booster
May 7, 2026
Merged

Example to run the simple Booster expressed as ImpactX script#1402
ax3l merged 42 commits intoBLAST-ImpactX:developmentfrom
egstern:simple-booster

Conversation

@egstern
Copy link
Copy Markdown
Member

@egstern egstern commented Apr 16, 2026

an python fragment to instantiate the equivalent ImpactX lattice.

To Do

egstern and others added 2 commits April 16, 2026 13:11
an python fragment to instantiate the equivalent ImpactX lattice.
@ax3l ax3l added the component: tests examples, tests and benchmarks label Apr 16, 2026
@ax3l ax3l self-requested a review April 16, 2026 20:14
@codspeed-hq
Copy link
Copy Markdown

codspeed-hq Bot commented Apr 16, 2026

Merging this PR will not alter performance

✅ 37 untouched benchmarks


Comparing egstern:simple-booster (3e95585) with development (9a4c85a)

Open in CodSpeed

@ax3l ax3l force-pushed the development branch 2 times, most recently from 9a1e4af to fa61eba Compare April 20, 2026 04:08
Comment thread examples/CMakeLists.txt Outdated
Comment thread examples/simple_booster/analysis_simple_booster.py
Comment thread examples/simple_booster/plot_simple_booster.py Outdated
Comment thread examples/simple_booster/plot_simple_booster_survey.py Outdated
ax3l and others added 5 commits April 22, 2026 18:05
Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
…bution

2. Modify analysis and plotting scripts to deal with extra RBC header lines

3. Redo plotting to use plt.subplot(R, C) instead of subplots(nnn)
Merge branch 'simple-booster' of github.com:egstern/impactx into simple-booster
Our OpenMP/Non-OpenMP File convention is not great for RBC
Comment thread examples/simple_booster/README.rst Outdated
Comment on lines +15 to +17
.. note::

TODO for Eric: a short physics description of the lattice and what this example demonstrates.
Copy link
Copy Markdown
Member

@ax3l ax3l Apr 24, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@egstern do you like to add a few more high-level (or important/central) physics details on the booster in this README file? 🙏

Preview: here.

Comment thread examples/simple_booster/analysis_simple_booster.py
@ax3l ax3l self-assigned this Apr 24, 2026
egstern and others added 21 commits April 28, 2026 10:46
Merge branch 'simple-booster' of github.com:egstern/impactx into simple-booster
Merge branch 'simple-booster' of github.com:egstern/impactx into simple-booster
before the first monitor so that the phase is wrapped.
Merge branch 'simple-booster' of github.com:egstern/impactx into simple-booster
…cations

of the results of the plotting scripts.
Merge branch 'simple-booster' of github.com:egstern/impactx into simple-booster
* Point documentation to smaller jpg files
- Normalize pybind types like `typing.SupportsFloat[...]` and
  `typing.SupportsInt[...]` before validation.
- Recompute lattice statistics explicitly after lattice add, delete,
  reorder, import, and parameter updates.
- Refresh lattice parameters when dashboard variables change, so
  `sim_input` resolves correctly.
- Reset derived lattice/stat state on dashboard reset.
- Make the dashboard test helper wait for lattice list growth after
  clicking `ADD`.
Copy link
Copy Markdown
Member

@ax3l ax3l left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small suggestions on the README file.

Comment thread examples/simple_booster/README.rst Outdated
Comment thread examples/simple_booster/README.rst
ax3l added 3 commits May 6, 2026 15:04
Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
- Normalize pybind types like `typing.SupportsFloat[...]` and
  `typing.SupportsInt[...]` before validation.
- Recompute lattice statistics explicitly after lattice add, delete,
  reorder, import, and parameter updates.
- Refresh lattice parameters when dashboard variables change, so
  `sim_input` resolves correctly.
- Reset derived lattice/stat state on dashboard reset.
- Make the dashboard test helper wait for lattice list growth after
  clicking `ADD`.
@ax3l ax3l enabled auto-merge (squash) May 7, 2026 03:40
@ax3l ax3l merged commit ba130b6 into BLAST-ImpactX:development May 7, 2026
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component: tests examples, tests and benchmarks

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants