|
@@ -58,6 +58,7 @@ namespace OTSModelSharp
|
|
int nSize = (int)a_listAnalysisParticles.Count();
|
|
int nSize = (int)a_listAnalysisParticles.Count();
|
|
|
|
|
|
// go through all analysis particles
|
|
// go through all analysis particles
|
|
|
|
+ int quantifyNum = 0;
|
|
for (int i = 0; i < nSize; ++i)
|
|
for (int i = 0; i < nSize; ++i)
|
|
{
|
|
{
|
|
COTSParticleClr pParticle = a_listAnalysisParticles[i];
|
|
COTSParticleClr pParticle = a_listAnalysisParticles[i];
|
|
@@ -72,6 +73,7 @@ namespace OTSModelSharp
|
|
{
|
|
{
|
|
if (pParticle.GetType() == (int)OTS_PARTICLE_TYPE.NOT_IDENTIFIED)
|
|
if (pParticle.GetType() == (int)OTS_PARTICLE_TYPE.NOT_IDENTIFIED)
|
|
{
|
|
{
|
|
|
|
+ quantifyNum += 1;
|
|
m_EDSController.QuantifyXrayByPart(pParticle);
|
|
m_EDSController.QuantifyXrayByPart(pParticle);
|
|
engine.ClassifyByExpression(pParticle);
|
|
engine.ClassifyByExpression(pParticle);
|
|
}
|
|
}
|
|
@@ -84,6 +86,8 @@ namespace OTSModelSharp
|
|
|
|
|
|
|
|
|
|
}
|
|
}
|
|
|
|
+ int specComp = nSize -quantifyNum;
|
|
|
|
+ log.Info("spectrum compare:" + specComp.ToString() + "element quantify:" + quantifyNum);
|
|
|
|
|
|
return true;
|
|
return true;
|
|
}
|
|
}
|