Skip to content
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

Closed
wants to merge 2 commits into from
Closed

Conversation

ax3l
Copy link
Member

@ax3l ax3l commented Nov 20, 2023

Early draft of a control and status dashboard written in trame.

@ax3l ax3l added the component: python Python bindings label Nov 20, 2023
assert npart == len(df)

# plot
fig = pc.plot_phasespace()

Check notice

Code scanning / CodeQL

Unused local variable Note test

Variable fig is not used.
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

Variable layout is not used.
# -> 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

This statement has no effect.

return layout

from trame.widgets.trame import SizeObserver

Check warning

Code scanning / CodeQL

Unreachable code Warning

This statement is unreachable.
ax3l added 2 commits November 20, 2023 08:24
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.
@ax3l ax3l force-pushed the topic-dashboard-trame branch from 1c919b2 to 4870c4f Compare November 20, 2023 16:26
@ax3l
Copy link
Member Author

ax3l commented Jul 22, 2024

Replaced by #651

@ax3l ax3l closed this Jul 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: python Python bindings
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant