-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Draft] Dashboard #470
[Draft] Dashboard #470
Conversation
assert npart == len(df) | ||
|
||
# plot | ||
fig = pc.plot_phasespace() |
Check notice
Code scanning / CodeQL
Unused local variable Note test
ctrl.on_client_exited.add(client_exited) | ||
ctrl.on_server_exited.add(server_exited) | ||
|
||
layout = create_app(sim.trame_server) |
Check notice
Code scanning / CodeQL
Unused local variable Note
# -> but, using the dashboard blocking might not be ideal for | ||
# Jupyter usage...? | ||
|
||
await dashboard |
Check notice
Code scanning / CodeQL
Statement has no effect Note test
|
||
return layout | ||
|
||
from trame.widgets.trame import SizeObserver |
Check warning
Code scanning / CodeQL
Unreachable code Warning
Add an interactive plotter to quickly check the current phase space of the particle bunch. This is heavily inspired by Wake-T's `bunch.show()` functionality.
Early draft of a control and status dashboard written in trame.
1c919b2
to
4870c4f
Compare
Replaced by #651 |
Early draft of a control and status dashboard written in trame.
ImpactXParticleContainer.plot_phasespace()
#469step()
as anasync def
function instead of a synchronousevolve