// System.out.println("Setting goniometerAxial for the image set #"+i+" ("+this.gIS[i].timeStamp+") to "+this.gIS[i].goniometerAxial+" +++++ orientationEstimated==true +++++");
for (int j=0;j<this.gIS[i].imageSet.length;j++) if (this.gIS[i].imageSet[j]!=null) setGA(this.gIS[i].imageSet[j].imgNumber,this.gIS[i].goniometerAxial);
for (int j=0;j<this.gIS[i].imageSet.length;j++) if (this.gIS[i].imageSet[j]!=null) setGA(this.gIS[i].imageSet[j].imgNumber,this.gIS[i].goniometerAxial);
...
@@ -2505,11 +2537,9 @@ import ij.text.TextWindow;
...
@@ -2505,11 +2537,9 @@ import ij.text.TextWindow;
if (this.debugLevel>1) {
if (this.debugLevel>1) {
System.out.print(String.format("Setting goniometerAxial for the image set #%4d (%18.6f) to ", i, this.gIS[i].timeStamp));
System.out.print(String.format("Setting goniometerAxial for the image set #%4d (%18.6f) to ", i, this.gIS[i].timeStamp));
// System.out.println("Setting goniometerAxial for the image set #"+i+" ("+this.gIS[i].timeStamp+") to "+this.gIS[i].goniometerAxial+" +++++ orientationEstimated==true +++++");
}
}
}
}
if (overwriteAll || Double.isNaN(this.gIS[i].goniometerTilt )){
if (overwriteAll || Double.isNaN(this.gIS[i].goniometerTilt )){
for (int j=0;j<this.gIS[i].imageSet.length;j++) if (this.gIS[i].imageSet[j]!=null) setGH(this.gIS[i].imageSet[j].imgNumber,this.gIS[i].goniometerTilt);
for (int j=0;j<this.gIS[i].imageSet.length;j++) if (this.gIS[i].imageSet[j]!=null) setGH(this.gIS[i].imageSet[j].imgNumber,this.gIS[i].goniometerTilt);
this.fittingStrategy.distortionCalibrationData.gIP[numImg].hintedMatch=-1;// so can be re-calibrated again w/o others
this.fittingStrategy.distortionCalibrationData.gIP[numImg].hintedMatch=-1;// so can be re-calibrated again w/o others
}
}
}
}
}
}
// next is not needed
// next is not needed
fittingStrategy.distortionCalibrationData.updateSetOrientation(null);// remove orientation information from the image set if none is enabled
fittingStrategy.distortionCalibrationData.updateSetOrientation(null);//selectedImages); // null); // remove orientation information from the image set if none is enabled
// this.fittingStrategy.setImageSelection(0, oldSelection); // restore original selection in series 0
// this.fittingStrategy.setImageSelection(0, oldSelection); // restore original selection in series 0