1 #ifndef QXRDDETECTORGEOMETRY_H
2 #define QXRDDETECTORGEOMETRY_H
20 static double getRadius(
double xCenter,
double yCenter,
21 double distance,
double xPixel,
double yPixel,
22 double pixelLength,
double pixelHeight,
23 double cos_beta,
double sin_beta,
24 double cos_rotation,
double sin_rotation);
26 static double getTwoTheta(
double xCenter,
double yCenter,
27 double distance,
double xPixel,
double yPixel,
28 double pixelLength,
double pixelHeight,
29 double cos_beta,
double sin_beta,
30 double cos_rotation,
double sin_rotation);
33 double distance,
double xPixel,
double yPixel,
34 double pixelLength,
double pixelHeight,
35 double rotation,
double cos_beta,
double sin_beta,
36 double cos_alpha,
double sin_alpha,
37 double cos_rotation,
double sin_rotation,
38 double *twoTheta,
double *chi);
40 static void getQChi(
double xCenter,
double yCenter,
double distance,
41 double energy,
double xPixel,
double yPixel,
42 double pixelLength,
double pixelHeight,
43 double rotation,
double cos_beta,
double sin_beta,
44 double cos_alpha,
double sin_alpha,
45 double cos_rotation,
double sin_rotation,
46 double *q,
double *chi);
48 static void getXY(
double xCenter,
double yCenter,
double distance,
49 double energy,
double q,
double chi,
double pixelLength,
50 double pixelHeight,
double rotation,
double cos_beta,
51 double sin_beta,
double cos_alpha,
double sin_alpha,
52 double cos_rotation,
double sin_rotation,
53 double * xPixel,
double * yPixel);
56 #endif // QXRDDETECTORGEOMETRY_H
QxrdDetectorGeometry(QString name, QcepObject *parent)
static double convertEnergyToWavelength(double energy)
static double convertWavelengthToEnergy(double wavelength)
static void getQChi(double xCenter, double yCenter, double distance, double energy, double xPixel, double yPixel, double pixelLength, double pixelHeight, double rotation, double cos_beta, double sin_beta, double cos_alpha, double sin_alpha, double cos_rotation, double sin_rotation, double *q, double *chi)
static void getTwoThetaChi(double xCenter, double yCenter, double distance, double xPixel, double yPixel, double pixelLength, double pixelHeight, double rotation, double cos_beta, double sin_beta, double cos_alpha, double sin_alpha, double cos_rotation, double sin_rotation, double *twoTheta, double *chi)
static double convertTwoThetaToQ(double twoTheta, double wavelength)
static double getRadius(double xCenter, double yCenter, double distance, double xPixel, double yPixel, double pixelLength, double pixelHeight, double cos_beta, double sin_beta, double cos_rotation, double sin_rotation)
static double getTwoTheta(double xCenter, double yCenter, double distance, double xPixel, double yPixel, double pixelLength, double pixelHeight, double cos_beta, double sin_beta, double cos_rotation, double sin_rotation)
static void getXY(double xCenter, double yCenter, double distance, double energy, double q, double chi, double pixelLength, double pixelHeight, double rotation, double cos_beta, double sin_beta, double cos_alpha, double sin_alpha, double cos_rotation, double sin_rotation, double *xPixel, double *yPixel)
static double convertQToTwoTheta(double Q, double wavelength)