You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In ShadowOui is already implemented. You must choose the option "Mirror" or "All", in the "File to Write Out" combo box in the "Output" tab of the "Advanced Settings", and a new Tab "Footprint" will appear in the plotting area.
Yes, this is one of the problems in python/shadow3. It does not export mirr.xx but only star.xx. At the beginning we thought this was OK, but then we see that mirr.xx is very useful. We will see, but it requires work in the python API, which I did not write :(
However, Luca already implemented the footprint plot I see he's answering this at this very the same time...
@srio The footprint plot on the optical element does not work with the 'beam' instance, only via file.
This fails:
Shadow.ShadowTools.plotxy(beam, 1, 2, nbins=101, nolost=2, title="Footprint", ref=0)
This works:
Shadow.ShadowTools.plotxy('mirr.01', 1, 2, nbins=101, nolost=2, title="Footprint", ref=0)
This means that one is obliged to write files to look at the footprint.
@lucarebuffi it would be nice to have a 'footprint plot' tab in ShadowOui.
The text was updated successfully, but these errors were encountered: