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

A spherical detector used for validation with IsGISAXS results. More...

+ Inheritance diagram for IsGISAXSDetector:

Public Member Functions

 IsGISAXSDetector (const IsGISAXSDetector &other)
 
 IsGISAXSDetector (size_t n_phi, double phi_min, double phi_max, size_t n_alpha, double alpha_min, double alpha_max)
 
void accept (INodeVisitor *visitor) const final
 
IsGISAXSDetectorclone () const override
 
Axes::Units defaultAxesUnits () const override
 return default axes units
 

Protected Member Functions

std::string axisName (size_t index) const override
 Returns the name for the axis with given index.
 
std::unique_ptr< IAxis > createAxis (size_t index, size_t n_bins, double min, double max) const override
 Generates an axis with correct name and default binning for given index.
 
IPixel * createPixel (size_t index) const override
 Creates an IPixel for the given OutputData object and index.
 
size_t indexOfSpecular (const Beam &beam) const override
 Returns index of pixel that contains the specular wavevector. More...
 

Detailed Description

A spherical detector used for validation with IsGISAXS results.

Member Function Documentation

◆ indexOfSpecular()

size_t IsGISAXSDetector::indexOfSpecular ( const Beam beam) const
overrideprotected

Returns index of pixel that contains the specular wavevector.

If no pixel contains this specular wavevector, the number of pixels is returned. This corresponds to an overflow index.