Off-specular scattering simulation.
Holds an instrument and sample model. Computes reflected and scattered intensity as function of incident and final glancing angle.
|
| OffspecSimulation (const Beam &beam, const MultiLayer &sample, const IDetector &detector) |
|
| OffspecSimulation (const MultiLayer &sample) |
|
| ~OffspecSimulation () override=default |
|
void | addMask (const IShape2D &shape, bool mask_value=true) |
| Adds mask of given shape to the stack of detector masks. The mask value 'true' means that the channel will be excluded from the simulation. The mask which is added last has priority. More...
|
|
void | addParameterDistribution (const ParameterDistribution &par_distr) |
|
void | addParameterDistribution (ParameterDistribution::WhichParameter whichParameter, const IDistribution1D &distribution, size_t nbr_samples, double sigma_factor=0.0, const RealLimits &limits=RealLimits()) |
|
Beam & | beam () |
|
const IAxis * | beamAxis () const |
| Returns axis of the beam. More...
|
|
std::string | className () const final |
|
IDetector & | detector () |
|
bool | force_polarized () const override |
| Force polarized computation even in absence of sample magnetization or external fields. More...
|
|
size_t | intensityMapSize () const override |
| Returns the total number of the intensity values in the simulation result. More...
|
|
void | maskAll () |
| Put the mask for all detector channels (i.e. exclude whole detector from the analysis) More...
|
|
std::vector< const INode * > | nodeChildren () const override |
|
SimulationOptions & | options () |
|
const SimulationOptions & | options () const |
|
void | setBackground (const IBackground &bg) |
|
void | setBeamParameters (double wavelength, const IAxis &alpha_axis, double phi_i) |
| Sets beam parameters from here (forwarded to Instrument) More...
|
|
void | setRegionOfInterest (double xlow, double ylow, double xup, double yup) |
| Sets rectangular region of interest with lower left and upper right corners defined. More...
|
|
void | setTerminalProgressMonitor () |
|
SimulationResult | simulate () |
| Run a simulation, and return the result. More...
|
|