radiasoft / sirepo

Sirepo is a framework for scientific cloud computing. Try it out!
https://sirepo.com
Apache License 2.0
64 stars 32 forks source link

Elegant -Visualizations Request #1279

Closed atfetter closed 6 years ago

atfetter commented 6 years ago

With sddsplot in a terminal window one can plot multiple data sets on one plot. Example, sddsplot -col=s,beta? filename.twi or sddsplot -col=s,"(betax,betay)" filename.twi. Currently on the visualisations tab the plots only allow for one data set to be plotted at a time. Can this be changed to plot more than one data set at a time? Also said and shown before on issue #1237 how the lattice quads and dipoles can be shown on the plot is a necessary part of plots in using Elegant. If you need any help in accomplish any of these parts let me know (My experience is limited but I would be willing to help look into it).

Thanks

atfetter commented 6 years ago

I neglected to leave this in the comment before, I see that on the lattice tab there is a twiss parameters button that plots betax and betay and etax. That's all well and good, but for some reason when I use it for my application it dosn't plot like I expect it to. I get zero's all along the length except for etax.

bruhwiler commented 6 years ago

Hi @atfetter Thanks for contributing to Sirepo. Regarding the Twiss plot with unexpected zero values, please provide a URL for a simulation that demonstrates the problem.

atfetter commented 6 years ago

https://beta.sirepo.com/elegant#/lattice/RmLWZPzH

moellep commented 6 years ago

Hi @atfetter,

We've made some improvements to the application and multiple columns from the same file can be now plotted on one report. The lattice can also be shown on top of the twiss and similar reports. Select the "pencil" icon on the report to select the columns to plot and the "show lattice overlay" toggle.

Give the twiss report on the lattice page another try, and see if the output look more reasonable. The same report is also available for the Visualization tab on the twiss_output report.

twiss-output-13

You can use the mouse-wheel to zoom into the report and it should rescale the y axis:

twiss-output-14

If you are seeing different results, let us know and include a screen shot if possible.

bruhwiler commented 6 years ago

@atfetter -- have you had a chance to look at the new developments?

If so, does this address your concern?

atfetter commented 6 years ago

I have had a look at the new development and it does meet my concern. Thank you. Aaron