This repository contains a series of files that were used to demonstrate the capabilities of OASYS through scripting and widgets, and were used by Luca Rebuffi during a hands-on tutoral given at the ALS in March 2018 to provide real life examples on how these could be used to model ALS-U beamlines, the fourth generation synchrotron at Lawrence Berkeley National Lab.
Most of these capabilities have been ported to widgets, for easy reuse. These widgets can be found here, or via the Options>addons... menu in Oasys.
Questions relative to these scripts should be adressed to Antoine Wojdyla.
The initial profile ws generated using xoppy (which itself call SRW)
scanning_ellipse_shape.py
and
scanning_vls_ruling_density
in action:
Looping and Scanning variable via Python scripts
They all have been integrated as standalone widget into Shadow ALS utility
Make sure you also explore these other tremendous resources:
- ShadowOui Tutorial - An Oays/ShadowOui tutorial
- ALS-ShadowOui, where most of the scripts here have been integrated as widgets
- SOS 2016 series of talk based on optical beamline simulatoons