18 IsGISAXSDetector::IsGISAXSDetector()
20 setName(
"IsGISAXSDetector");
23 IsGISAXSDetector::IsGISAXSDetector(
size_t n_phi,
double phi_min,
double phi_max,
size_t n_alpha,
24 double alpha_min,
double alpha_max)
26 setName(
"IsGISAXSDetector");
32 setName(
"IsGISAXSDetector");
45 "IsGISAXSDetector::createAxis() -> Error! max <= min");
49 "IsGISAXSDetector::createAxis() -> Error! Number n_bins can't be zero.");
51 return std::make_unique<CustomBinAxis>(
axisName(index), n_bins, min, max);
Defines class CustomBinAxis.
Defines class IsGISAXSDetector.
Beam defined by wavelength, direction and intensity.
void setDetectorParameters(size_t n_x, double x_min, double x_max, size_t n_y, double y_min, double y_max)
Sets detector parameters using angle ranges.
size_t totalSize() const
Returns total number of pixels.
A spherical detector used for validation with IsGISAXS results.
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.
size_t indexOfSpecular(const Beam &beam) const override
Returns index of pixel that contains the specular wavevector.
A spherical detector with axes and resolution function.
std::string axisName(size_t index) const override
Returns the name for the axis with given index.