Interactive plots of Elegant output in Jupyter

Moderators: cyao, michael_borland

Post Reply
petrenko
Posts: 43
Joined: 09 Jun 2008, 02:53
Contact:

Interactive plots of Elegant output in Jupyter

Post by petrenko » 22 Jul 2017, 07:31

Dear colleagues,

I thought this might be useful to other people as well:

There is a bunch of interesting python packages for data visualization (bokeh, holoviews, datashader, ipyvolume, etc.) which produce nice interactive plots as html-files with some javascript.

For example here is how to produce interactive plots of optical functions from Elegant twiss_output:
https://apetrenko.blob.core.windows.net ... _plot.html

Use datashader to display tracking results with large number of particles:
https://anaconda.org/petrenko/linking_d ... s/notebook

Or visualize some trajectory tracking:
http://www.inp.nsk.su/~petrenko/misc/Exact_Chicane.html

I wish all articles were published in this Jupyter notebook format, which is easy to share and reproduce :)

Best regards,
Alexey

michael_borland
Posts: 1927
Joined: 19 May 2008, 09:33
Location: Argonne National Laboratory
Contact:

Re: Interactive plots of Elegant output in Jupyter

Post by michael_borland » 24 Jul 2017, 08:22

Thanks, Alexey, for these nice examples.

--Michael

Post Reply