Page History
...
Code Block | ||
---|---|---|
| ||
#!/usr/bin/env python # these two lines for example purposes only, to allow user to write # calibration information to local directory called "calib". # should be deleted for real analysis. import psana psana.setOption('psana.calib-dir','calib') from xtcav.GenerateLasingOffReference import * GLOC=GenerateLasingOffReference(); GLOC.experiment='xpptut15' GLOC.runs='101' GLOC.maxshots=2 #small number for this example, people often use 1400 shots for this. GLOC.nb=21 GLOC.islandsplitmethod = 'scipyLabel' # see confluence documentation for how to set this parameter GLOC.groupsize=51 # see confluence documentation for how to set this parameter GLOC.SetValidityRange(101,125) # delete second run number argument to have the validity range be open-ended ("end") GLOC.Generate(); |
...
Overview
Content Tools