QXRD
0.11.16
|
#include <qxrdintegrator.h>
Public Types | |
enum | { RadialIntegrateTTH, RadialIntegrateQ, RadialIntegrateR, RadialIntegrateNone } |
enum | { PolarIntegrateNone, PolarIntegrateChi } |
Public Member Functions | |
QxrdIntegrator (QcepSettingsSaverWPtr saver, QxrdExperimentWPtr exp, QxrdCenterFinderWPtr cfw) | |
virtual | ~QxrdIntegrator () |
QxrdDataProcessorWPtr | dataProcessor () const |
QxrdExperimentWPtr | experiment () const |
double | XValue (double x, double y) const |
double | XValue (QPointF pt) const |
double | XValue (double x, double y, int xUnits, QxrdCenterFinderPtr cf, double xc, double yc, double dst, double nrg, double pxl, double pxh, double rot, double cosr, double sinr, double cosb, double sinb, double cosa, double sina) const |
QString | XLabel () const |
Public Member Functions inherited from QcepObject | |
QcepObject (QString name, QcepObject *parent) | |
virtual | ~QcepObject () |
virtual void | writeSettings (QSettings *set, QString section) |
virtual void | readSettings (QSettings *set, QString section) |
QString | get_Name () const |
void | set_Name (QString name) |
Static Public Member Functions | |
static QScriptValue | toScriptValue (QScriptEngine *engine, const QxrdIntegratorPtr &proc) |
static void | fromScriptValue (const QScriptValue &obj, QxrdIntegratorPtr &proc) |
Static Public Member Functions inherited from QcepObject | |
static int | allocatedObjects () |
static int | deletedObjects () |
static QSet< QcepObject * > | allocatedObjectsSet () |
static QString | addSlashes (QString str) |
Properties | |
int | oversample |
double | integrationStep |
int | integrationNSteps |
double | integrationMinimum |
double | integrationMaximum |
int | integrationXUnits |
bool | enableGeometricCorrections |
bool | enablePolarizationCorrections |
double | polarization |
bool | enableAbsorptionCorrections |
double | attenuationLength |
int | enableUserGeometry |
QString | userGeometryScript |
QString | userGeometryFunction |
int | enableUserAbsorption |
QString | userAbsorptionScript |
QString | userAbsorptionFunction |
double | scalingFactor |
bool | selfNormalization |
double | selfNormalizationMinimum |
double | selfNormalizationMaximum |
Properties inherited from QcepObject | |
QString | name |
Private Attributes | |
QMutex | m_Mutex |
QcepSettingsSaverWPtr | m_Saver |
QxrdExperimentWPtr | m_Experiment |
QxrdCenterFinderWPtr | m_CenterFinder |
QxrdIntegratorCachePtr | m_IntegratorCache |
Definition at line 23 of file qxrdintegrator.h.
anonymous enum |
Enumerator | |
---|---|
RadialIntegrateTTH | |
RadialIntegrateQ | |
RadialIntegrateR | |
RadialIntegrateNone |
Definition at line 99 of file qxrdintegrator.h.
anonymous enum |
QxrdIntegrator::QxrdIntegrator | ( | QcepSettingsSaverWPtr | saver, |
QxrdExperimentWPtr | exp, | ||
QxrdCenterFinderWPtr | cfw | ||
) |
Definition at line 23 of file qxrdintegrator.cpp.
References DEBUG_CONSTRUCTORS, m_CenterFinder, onIntegrationParametersChanged(), QxrdCenterFinder::parameterChanged(), qcepDebug(), QcepDoubleProperty::valueChanged(), QcepIntProperty::valueChanged(), QcepBoolProperty::valueChanged(), and QcepStringProperty::valueChanged().
|
virtual |
Definition at line 88 of file qxrdintegrator.cpp.
References DEBUG_CONSTRUCTORS, and qcepDebug().
|
slot |
Definition at line 410 of file qxrdintegrator.cpp.
References m_Experiment.
Referenced by appendIntegration().
|
slot |
Definition at line 387 of file qxrdintegrator.cpp.
References appendIntegration(), m_Experiment, and QcepObject::printMessage().
|
slot |
Definition at line 431 of file qxrdintegrator.cpp.
References appendIntegration(), and performIntegration().
|
slot |
Definition at line 438 of file qxrdintegrator.cpp.
|
slot |
Definition at line 347 of file qxrdintegrator.cpp.
References m_IntegratorCache.
|
slot |
Definition at line 356 of file qxrdintegrator.cpp.
References m_IntegratorCache.
|
slot |
Definition at line 455 of file qxrdintegrator.cpp.
References m_Experiment.
|
slot |
Definition at line 493 of file qxrdintegrator.cpp.
QxrdDataProcessorWPtr QxrdIntegrator::dataProcessor | ( | ) | const |
Definition at line 99 of file qxrdintegrator.cpp.
References m_Experiment.
|
slot |
Definition at line 376 of file qxrdintegrator.cpp.
|
slot |
Definition at line 365 of file qxrdintegrator.cpp.
QxrdExperimentWPtr QxrdIntegrator::experiment | ( | ) | const |
|
static |
Definition at line 519 of file qxrdintegrator.cpp.
|
slot |
Definition at line 332 of file qxrdintegrator.cpp.
References RadialIntegrateQ.
Referenced by QxrdWindow::initialize().
|
slot |
Definition at line 337 of file qxrdintegrator.cpp.
References RadialIntegrateR.
Referenced by QxrdWindow::initialize().
|
slot |
Definition at line 342 of file qxrdintegrator.cpp.
References RadialIntegrateTTH.
Referenced by QxrdWindow::initialize().
|
slot |
Definition at line 115 of file qxrdintegrator.cpp.
References DEBUG_INTEGRATOR, m_Experiment, m_IntegratorCache, and qcepDebug().
Referenced by QxrdIntegrator().
|
slot |
Definition at line 139 of file qxrdintegrator.cpp.
References DEBUG_INTEGRATOR, m_CenterFinder, m_Experiment, m_IntegratorCache, and qcepDebug().
Referenced by appendIntegration(), QxrdDataProcessorThreaded::integrateSaveAndDisplay(), and performIntegration().
|
slot |
Definition at line 128 of file qxrdintegrator.cpp.
References QcepAllocator::AlwaysAllocate, QcepAllocator::newIntegratedData(), and performIntegration().
|
slot |
Definition at line 476 of file qxrdintegrator.cpp.
References m_Experiment.
|
slot |
Definition at line 497 of file qxrdintegrator.cpp.
References m_Experiment.
|
slot |
Definition at line 253 of file qxrdintegrator.cpp.
References m_Experiment, and slicePolygon().
|
slot |
Definition at line 274 of file qxrdintegrator.cpp.
References m_Experiment.
Referenced by sliceLine(), and QxrdDataProcessorThreaded::slicePolygon().
|
static |
Definition at line 514 of file qxrdintegrator.cpp.
QString QxrdIntegrator::XLabel | ( | ) | const |
Definition at line 232 of file qxrdintegrator.cpp.
References RadialIntegrateQ, RadialIntegrateR, and RadialIntegrateTTH.
double QxrdIntegrator::XValue | ( | double | x, |
double | y | ||
) | const |
Definition at line 177 of file qxrdintegrator.cpp.
References m_CenterFinder, RadialIntegrateQ, RadialIntegrateR, and RadialIntegrateTTH.
Referenced by XValue().
double QxrdIntegrator::XValue | ( | QPointF | pt | ) | const |
Definition at line 172 of file qxrdintegrator.cpp.
References XValue().
double QxrdIntegrator::XValue | ( | double | x, |
double | y, | ||
int | xUnits, | ||
QxrdCenterFinderPtr | cf, | ||
double | xc, | ||
double | yc, | ||
double | dst, | ||
double | nrg, | ||
double | pxl, | ||
double | pxh, | ||
double | rot, | ||
double | cosr, | ||
double | sinr, | ||
double | cosb, | ||
double | sinb, | ||
double | cosa, | ||
double | sina | ||
) | const |
Definition at line 202 of file qxrdintegrator.cpp.
References RadialIntegrateQ, RadialIntegrateR, and RadialIntegrateTTH.
|
private |
Definition at line 158 of file qxrdintegrator.h.
Referenced by performIntegration(), QxrdIntegrator(), and XValue().
|
private |
Definition at line 157 of file qxrdintegrator.h.
Referenced by appendIntegration(), clearAccumulator(), dataProcessor(), experiment(), onIntegrationParametersChanged(), performIntegration(), prepareAccumulator(), saveAccumulator(), sliceLine(), and slicePolygon().
|
private |
Definition at line 159 of file qxrdintegrator.h.
Referenced by cachedGeometry(), cachedIntensity(), onIntegrationParametersChanged(), and performIntegration().
|
mutableprivate |
Definition at line 155 of file qxrdintegrator.h.
|
private |
Definition at line 156 of file qxrdintegrator.h.
|
readwrite |
Definition at line 62 of file qxrdintegrator.h.
|
readwrite |
Definition at line 59 of file qxrdintegrator.h.
|
readwrite |
Definition at line 50 of file qxrdintegrator.h.
|
readwrite |
Definition at line 53 of file qxrdintegrator.h.
|
readwrite |
Definition at line 74 of file qxrdintegrator.h.
|
readwrite |
Definition at line 65 of file qxrdintegrator.h.
|
readwrite |
Definition at line 44 of file qxrdintegrator.h.
|
readwrite |
Definition at line 41 of file qxrdintegrator.h.
|
readwrite |
Definition at line 38 of file qxrdintegrator.h.
|
readwrite |
Definition at line 35 of file qxrdintegrator.h.
|
readwrite |
Definition at line 47 of file qxrdintegrator.h.
|
readwrite |
Definition at line 32 of file qxrdintegrator.h.
|
readwrite |
Definition at line 56 of file qxrdintegrator.h.
|
readwrite |
Definition at line 83 of file qxrdintegrator.h.
|
readwrite |
Definition at line 86 of file qxrdintegrator.h.
|
readwrite |
Definition at line 92 of file qxrdintegrator.h.
|
readwrite |
Definition at line 89 of file qxrdintegrator.h.
|
readwrite |
Definition at line 80 of file qxrdintegrator.h.
|
readwrite |
Definition at line 77 of file qxrdintegrator.h.
|
readwrite |
Definition at line 71 of file qxrdintegrator.h.
|
readwrite |
Definition at line 68 of file qxrdintegrator.h.