Skip to content
Snippets Groups Projects
Commit 4243a34a authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

unify spelling -> Analyzer

parent f84b1e85
No related branches found
No related tags found
1 merge request!244Rename classes and fcts in context of polarization
......@@ -82,7 +82,7 @@ SessionItem* DetectorItem::resolutionFunctionItem() const
return getItem(P_RESOLUTION_FUNCTION);
}
void DetectorItem::setAnalyserDirection(const kvector_t& direction)
void DetectorItem::setAnalyzerDirection(const kvector_t& direction)
{
item<VectorItem>(P_ANALYZER_DIRECTION)->setVector(direction);
}
......@@ -92,7 +92,7 @@ SessionItem* DetectorItem::analyserDirectionItem() const
return getItem(P_ANALYZER_DIRECTION);
}
void DetectorItem::setAnalyserEfficiency(const double efficiency)
void DetectorItem::setAnalyzerEfficiency(const double efficiency)
{
setItemValue(P_ANALYZER_EFFICIENCY, efficiency);
}
......@@ -102,7 +102,7 @@ SessionItem* DetectorItem::analyserEfficiencyItem() const
return getItem(P_ANALYZER_EFFICIENCY);
}
void DetectorItem::setAnalyserTotalTransmission(const double transmission)
void DetectorItem::setAnalyzerTotalTransmission(const double transmission)
{
setItemValue(P_ANALYZER_TOTAL_TRANSMISSION, transmission);
}
......
......@@ -60,13 +60,13 @@ public:
template <typename T> T* setResolutionFunctionType();
SessionItem* resolutionFunctionItem() const;
void setAnalyserDirection(const kvector_t& directorion);
void setAnalyzerDirection(const kvector_t& directorion);
SessionItem* analyserDirectionItem() const;
void setAnalyserEfficiency(double efficiency);
void setAnalyzerEfficiency(double efficiency);
SessionItem* analyserEfficiencyItem() const;
void setAnalyserTotalTransmission(double efficiency);
void setAnalyzerTotalTransmission(double efficiency);
SessionItem* analyserTotalTransmissionItem() const;
protected:
......
......@@ -566,9 +566,9 @@ void GUI::Transform::FromDomain::setDetectorProperties(DetectorItem* detector_it
kvector_t analyzer_dir = detector.detectionProperties().analyzerDirection();
double efficiency = detector.detectionProperties().analyzerEfficiency();
detector_item->setAnalyserDirection(analyzer_dir);
detector_item->setAnalyserEfficiency(efficiency);
detector_item->setAnalyserTotalTransmission(total_transmission);
detector_item->setAnalyzerDirection(analyzer_dir);
detector_item->setAnalyzerEfficiency(efficiency);
detector_item->setAnalyzerTotalTransmission(total_transmission);
}
void GUI::Transform::FromDomain::setSphericalDetector(SphericalDetectorItem* detector_item,
......
......@@ -59,11 +59,11 @@ void PolarizationAnalysisEditor::subscribeToItem()
currentItem()->mapper()->setOnPropertyChange(
[this](const QString& name) {
if (Instrument2DItem::isDetectorPropertyName(name))
updateAnalyserEditor();
updateAnalyzerEditor();
},
this);
updateAnalyserEditor();
updateAnalyzerEditor();
}
void PolarizationAnalysisEditor::unsubscribeFromItem()
......@@ -93,7 +93,7 @@ DetectorItem* PolarizationAnalysisEditor::detectorItem()
//! Updates analyser editor to display properties of currently selected detector
//! (spherical/rectangular).
void PolarizationAnalysisEditor::updateAnalyserEditor()
void PolarizationAnalysisEditor::updateAnalyzerEditor()
{
m_analyserDirectionEditor->clearEditor();
m_analyserPropertiesEditor->clearEditor();
......
......@@ -41,7 +41,7 @@ private:
GISASInstrumentItem* instrumentItem();
BeamItem* beamItem();
DetectorItem* detectorItem();
void updateAnalyserEditor();
void updateAnalyzerEditor();
ColumnResizer* m_columnResizer;
ComponentEditor* m_polpairEditor;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment