1 #ifndef QXRDINTEGRATORCACHE_H
2 #define QXRDINTEGRATORCACHE_H
19 #include <QScriptValue>
109 double getTTH(
double x,
double y);
111 double getChi(
double x,
double y);
112 double getQ(
double x,
double y);
113 double getR(
double x,
double y);
114 double XValue(
double x,
double y);
115 double YValue(
double x,
double y);
145 #endif // QXRDINTEGRATORCACHE_H
QString m_UserAbsorptionFunction
double m_DetectorDistance
void releaseScriptEngine()
QcepDoubleImageDataPtr m_CachedRadialValues
QAtomicInt m_CacheFillLevel
QString m_UserAbsorptionScript
double m_DetectorYPixelSize
QxrdIntegratorCache(QxrdExperimentWPtr exp, QxrdIntegratorWPtr integ, QxrdPolarTransformWPtr xform, QxrdCenterFinderWPtr cf)
QWeakPointer< QxrdCenterFinder > QxrdCenterFinderWPtr
QcepInt32ImageDataPtr m_CachedPolarBinNumbers
void performIntegration(QcepDataObjectPtr res, QcepDoubleImageDataPtr dimg, QcepMaskDataPtr mask, int normalize)
QScriptValue m_UserGeometryFunctionValue
double m_AttenuationLength
QcepDoubleImageDataPtr m_CachedPolarValues
virtual ~QxrdIntegratorCache()
void partialIntegrationStep3(int i, int n, QcepDoubleImageDataPtr dimg, QcepMaskDataPtr mask, int normalize)
QWeakPointer< QxrdExperiment > QxrdExperimentWPtr
double getR(double x, double y)
QString m_UserGeometryScript
QAtomicInt m_CacheFullLevel
double getChi(double x, double y)
bool m_EnablePolarization
double m_TiltPlaneRotation
double XValue(double x, double y)
void partialIntegrationStep1(int i, int n)
double m_DetectorXPixelSize
QVector< double > m_Integral
QcepDoubleImageDataPtr m_CachedNormalization
double NormValue(double x, double y)
QcepInt32ImageDataPtr m_CachedRadialBinNumbers
QcepInt32ImageDataPtr cachedGeometry()
QVector< double > m_SumValue
double YValue(double x, double y)
QcepInt32ImageDataPtr cachedPolarGeometry()
QxrdIntegratorWPtr m_Integrator
QString m_UserGeometryFunction
QScriptValue m_UserAbsorptionFunctionValue
QcepDoubleImageDataPtr cachedIntensity()
QWeakPointer< QxrdIntegrator > QxrdIntegratorWPtr
QSharedPointer< QcepDataObject > QcepDataObjectPtr
QSharedPointer< QcepInt32ImageData > QcepInt32ImageDataPtr
int m_EnableUserAbsorption
QxrdCenterFinderWPtr m_CenterFinder
double getTTH(double x, double y)
QSharedPointer< QcepMaskData > QcepMaskDataPtr
double m_SelfNormalizationMinimum
QxrdPolarTransformWPtr m_PolarTransform
double getQ(double x, double y)
QxrdExperimentWPtr m_Experiment
double m_SelfNormalizationMaximum
double getDistance(double x, double y)
void partialIntegrationStep2(int i, int n)
QSharedPointer< QcepDoubleImageData > QcepDoubleImageDataPtr