Where's the code
lcls cvs repository
physics/correlations
Not in SEAL since what has been written so far is headless, and thereore is not SEAL specific.
Example of use of API
edu.stanford.slac.lcls.correlations.Runner
You get an instance of an Experiment, create some (1 or 2) Steppers, attach some (1 - M), like 200, Measures (thins to be acquired). Then "decorate" the Steppers (decorate Design Pattern - decorate a proxy of the object) with delays and which Steppers ask use for input (Prompter), you then attach Steppers and Measures to the Experiment, and finally call Experiment.run().
There isn't a "for" loop as such, there is only do while "has more ticks".
Chris was thinking that it would be the Experiment.journal would be the place where results were recorded. This hasn't been coded yet.
For Beam Sync
You would have a Beam Synchronous decorator - following a pattern like the Prompter is for Stepeers, the Beam Sync decorator would collect all Measures that are beam Synchronous.
Nominal usage
1d scan is 1 Stepper. "Linear" Stepper is the nominal CP kind.
How to Run
In Eclipse, run as Application.