@@ -7025,7 +7025,6 @@ void SpaceGroupExplorer::RunAll(const bool fitprofile_all, const bool verbose, c
7025
7025
const string hm=s.universal_hermann_mauguin ();
7026
7026
// cout<<s.number()<<","<<hm.c_str()<<","<<(int)compat<<endl;
7027
7027
pCrystal->Init (a,b,c,d,e,f,hm,name);
7028
- if (s.number () == 1 ) nb_refl_p1 = mpDiff->GetNbReflBelowMaxSinThetaOvLambda ();
7029
7028
7030
7029
std::vector<bool > fgp=spgExtinctionFingerprint (*pCrystal,spg);
7031
7030
std::map<std::vector<bool >,SPGScore>::iterator posfgp=mvSPGExtinctionFingerprint.find (fgp);
@@ -7035,7 +7034,7 @@ void SpaceGroupExplorer::RunAll(const bool fitprofile_all, const bool verbose, c
7035
7034
mpDiff->SetExtractionMode (true ,true ); // :TODO: why is this needed to actually get the updated GetNbReflBelowMaxSinThetaOvLambda ?
7036
7035
unsigned int nbrefl = mpDiff->GetNbReflBelowMaxSinThetaOvLambda ();
7037
7036
REAL ngof = (posfgp->second .ngof * nbrefl) / posfgp->second .nbreflused ;
7038
- mvSPG.push_back (SPGScore (hm.c_str (),posfgp->second .rw ,posfgp->second .gof ,posfgp->second .nbextinct446 , ngof, posfgp-> second . nbreflused ));
7037
+ mvSPG.push_back (SPGScore (hm.c_str (),posfgp->second .rw ,posfgp->second .gof ,posfgp->second .nbextinct446 , ngof, nbrefl ));
7039
7038
if (verbose) cout<<boost::format (" (#%3d) %-14s: Rwp= %5.2f%% GoF=%9.2f nGoF=%9.2f (%3u reflections, %3u extinct)" )
7040
7039
% s.number () % hm.c_str () % mvSPG.back ().rw % mvSPG.back ().gof % mvSPG.back ().ngof % mvSPG.back ().nbreflused % mvSPG.back ().nbextinct446
7041
7040
<<" [same extinctions as:" <<posfgp->second .hm <<" ]\n " ;
@@ -7044,6 +7043,7 @@ void SpaceGroupExplorer::RunAll(const bool fitprofile_all, const bool verbose, c
7044
7043
{
7045
7044
if (((s.number ()==1 ) && fitprofile_p1) || fitprofile_all) mvSPG.push_back (this ->Run (spg, true , false , false , update_display));
7046
7045
else mvSPG.push_back (this ->Run (spg, false , false , true , update_display));
7046
+ if (s.number () == 1 ) nb_refl_p1 = mvSPG.back ().nbreflused ;
7047
7047
mvSPG.back ().ngof *= mpDiff->GetNbReflBelowMaxSinThetaOvLambda () / (float )nb_refl_p1;
7048
7048
mvSPGExtinctionFingerprint.insert (make_pair (fgp, mvSPG.back ()));
7049
7049
@@ -7085,8 +7085,8 @@ REAL SpaceGroupExplorer::GetP1IntegratedGoF()
7085
7085
mpDiff->GetPowderPatternIntegratedCalc ();
7086
7086
mP1IntegratedProfileMin = mpDiff->GetParentPowderPattern ().GetIntegratedProfileMin ();
7087
7087
mP1IntegratedProfileMax = mpDiff->GetParentPowderPattern ().GetIntegratedProfileMax ();
7088
- cout<<" Updating mP1IntegratedProfileMin/Max:" <<endl
7089
- <<FormatVertVectorHKLFloats<REAL>(mP1IntegratedProfileMin , mP1IntegratedProfileMax ,mP1IntegratedProfileMax )<<endl;
7088
+ // cout<<"Updating mP1IntegratedProfileMin/Max:"<<endl
7089
+ // <<FormatVertVectorHKLFloats<REAL>(mP1IntegratedProfileMin, mP1IntegratedProfileMax,mP1IntegratedProfileMax)<<endl;
7090
7090
}
7091
7091
else if (mP1IntegratedProfileMin .size ()==0 ) return 0 ;
7092
7092
0 commit comments