Page 1 of 1

Interactive plots of Elegant output in Jupyter

Posted: 22 Jul 2017, 07:31
by petrenko
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

Re: Interactive plots of Elegant output in Jupyter

Posted: 24 Jul 2017, 08:22
by michael_borland
Thanks, Alexey, for these nice examples.

--Michael