1 #ifndef QXRDINTEGRATOR_H
2 #define QXRDINTEGRATOR_H
32 Q_PROPERTY(
int oversample READ get_Oversample WRITE set_Oversample)
35 Q_PROPERTY(
double integrationStep READ get_IntegrationStep WRITE set_IntegrationStep)
56 Q_PROPERTY(
double polarization READ get_Polarization WRITE set_Polarization)
83 Q_PROPERTY(
double scalingFactor READ get_ScalingFactor WRITE set_ScalingFactor)
107 double XValue(
double x,
double y)
const;
108 double XValue(QPointF pt)
const;
109 double XValue(
double x,
double y,
111 double xc,
double yc,
112 double dst,
double nrg,
113 double pxl,
double pxh,
114 double rot,
double cosr,
double sinr,
115 double cosb,
double sinb,
116 double cosa,
double sina
128 void saveAccumulator(QString resPath, QString &fileName, QString filter);
162 #endif // QXRDINTEGRATOR_H
QcepIntegratedDataPtr slicePolygon(QcepIntegratedDataPtr integ, QcepDoubleImageDataPtr dimg, QVector< QPointF > poly, double width)
void saveAccumulator(QString resPath, QString &fileName, QString filter)
QSharedPointer< QxrdCenterFinder > QxrdCenterFinderPtr
QxrdDataProcessorWPtr dataProcessor() const
QxrdExperimentWPtr m_Experiment
QWeakPointer< QxrdDataProcessor > QxrdDataProcessorWPtr
QSharedPointer< QxrdIntegratorCache > QxrdIntegratorCachePtr
QcepInt32ImageDataPtr cachedGeometry()
QWeakPointer< QxrdCenterFinder > QxrdCenterFinderWPtr
#define QCEP_DOUBLE_PROPERTY(propname)
bool enablePolarizationCorrections
QcepIntegratedDataPtr performIntegration(QcepIntegratedDataPtr integ, QcepDoubleImageDataPtr dimg, QcepMaskDataPtr mask)
QxrdExperimentWPtr experiment() const
static void fromScriptValue(const QScriptValue &obj, QxrdIntegratorPtr &proc)
double selfNormalizationMaximum
QString userAbsorptionScript
QWeakPointer< QxrdExperiment > QxrdExperimentWPtr
QSharedPointer< QcepIntegratedData > QcepIntegratedDataPtr
QcepDoubleImageDataPtr cachedIntensity()
double integrationMinimum
void onIntegrationParametersChanged()
double XValue(double x, double y) const
#define QCEP_INTEGER_PROPERTY(propname)
QString userGeometryFunction
QString defaultUserGeometryScript()
QxrdCenterFinderWPtr m_CenterFinder
#define QCEP_STRING_PROPERTY(propname)
QxrdIntegrator(QcepSettingsSaverWPtr saver, QxrdExperimentWPtr exp, QxrdCenterFinderWPtr cfw)
QSharedPointer< QxrdIntegrator > QxrdIntegratorPtr
bool enableGeometricCorrections
void clearAccumulator(QString resPath)
void appendIntegration(QString resPath, QcepDoubleImageDataPtr dimg, QcepMaskDataPtr mask=QcepMaskDataPtr())
#define QCEP_BOOLEAN_PROPERTY(propname)
double selfNormalizationMinimum
bool enableAbsorptionCorrections
void completeAccumulator(QString path)
QSharedPointer< QcepInt32ImageData > QcepInt32ImageDataPtr
QcepSettingsSaverWPtr m_Saver
static QScriptValue toScriptValue(QScriptEngine *engine, const QxrdIntegratorPtr &proc)
QString userAbsorptionFunction
double integrationMaximum
QSharedPointer< QcepMaskData > QcepMaskDataPtr
virtual ~QxrdIntegrator()
QString defaultUserAbsorptionScript()
void prepareAccumulator(QString resPath, int nImages)
QxrdIntegratorCachePtr m_IntegratorCache
QWeakPointer< QcepSettingsSaver > QcepSettingsSaverWPtr
QcepIntegratedDataPtr sliceLine(QcepIntegratedDataPtr integ, QcepDoubleImageDataPtr dimg, double x0, double y0, double x1, double y1, double width)
QString userGeometryScript
QSharedPointer< QcepDoubleImageData > QcepDoubleImageDataPtr