BornAgain  1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
OffSpecularSimulation Class Reference

Main class to run an off-specular simulation. More...

+ Inheritance diagram for OffSpecularSimulation:

Public Member Functions

 OffSpecularSimulation (const Beam &beam, const MultiLayer &sample, const IDetector &detector)
 
void accept (INodeVisitor *visitor) const override
 
const IAxis * beamAxis () const
 Returns axis of the beam.
 
OffSpecularSimulationclone () const override
 
size_t intensityMapSize () const override
 Returns the total number of the intensity values in the simulation result.
 
void prepareSimulation () override
 Put into a clean state for running a simulation.
 
SimulationResult result () const override
 Returns the results of the simulation in a format that supports unit conversion and export to numpy arrays.
 
void setBeamParameters (double wavelength, const IAxis &alpha_axis, double phi_i)
 Sets beam parameters from here (forwarded to Instrument)
 

Detailed Description

Main class to run an off-specular simulation.