To prepare and run a BornAgain simulation, one needs to create an instance of
one a Simulation
class. This class is then populated with information
about the scattering target (“sample”) and about the simulated instrument
(beam and detector).
Here is one example for each basic type of simulation:
Explanations that apply to all types of simulation are given only once, namely in the reflectometry chapter.