BornAgain  1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
DepthProbeSimulation Class Reference
+ Inheritance diagram for DepthProbeSimulation:

Public Member Functions

void accept (INodeVisitor *visitor) const final
 
DepthProbeSimulationclone () const override
 
const IAxis * getAlphaAxis () const
 Returns a pointer to incident angle axis.
 
const IAxis * getZAxis () const
 Returns a pointer to z-position axis.
 
size_t intensityMapSize () const override
 Returns the total number of the intensity values in the simulation result.
 
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 lambda, int nbins, double alpha_i_min, double alpha_i_max, const IFootprintFactor *beam_shape=nullptr)
 Sets beam parameters with alpha_i of the beam defined in the range.
 
void setZSpan (size_t n_bins, double z_min, double z_max)
 Set z positions for intensity calculations. More...
 

Member Function Documentation

◆ setZSpan()

void DepthProbeSimulation::setZSpan ( size_t  n_bins,
double  z_min,
double  z_max 
)

Set z positions for intensity calculations.

Negative z's correspond to the area under sample surface. The more negative z is, the deeper layer corresponds to it.