XtalOptimizer: Work in progress to find out what is wrong with rotation axis
Build Packages / build:rpm (ubuntu2404_nocuda) (push) Successful in 11m23s
Build Packages / build:rpm (rocky8_nocuda) (push) Successful in 13m37s
Build Packages / build:rpm (ubuntu2204_nocuda) (push) Successful in 13m41s
Build Packages / Generate python client (push) Successful in 18s
Build Packages / build:rpm (rocky9_nocuda) (push) Successful in 14m7s
Build Packages / Create release (push) Has been skipped
Build Packages / build:rpm (rocky8) (push) Successful in 14m4s
Build Packages / build:rpm (ubuntu2204) (push) Successful in 14m6s
Build Packages / Build documentation (push) Successful in 43s
Build Packages / build:rpm (rocky8_sls9) (push) Successful in 14m24s
Build Packages / build:rpm (rocky9) (push) Successful in 14m37s
Build Packages / build:rpm (ubuntu2404) (push) Successful in 7m25s
Build Packages / Unit tests (push) Successful in 53m30s

This commit is contained in:
2026-01-27 17:52:25 +01:00
parent 479e4e7261
commit 5ca793a2fa
5 changed files with 13 additions and 16 deletions
+6 -2
View File
@@ -87,6 +87,7 @@ void RotationIndexer::TryIndex() {
.refine_beam_center = true,
.refine_distance_mm = false,
.refine_detector_angles = true,
.refine_rotation_axis = true,
.index_ice_rings = experiment.GetIndexingSettings().GetIndexIceRings(),
.axis = axis_
};
@@ -97,6 +98,7 @@ void RotationIndexer::TryIndex() {
if (XtalOptimizer(data, v_sel)) {
indexed_lattice = data.latt;
updated_geom_ = data.geom;
axis_ = data.axis;
}
PredictionRotationSettings pred_settings{
.high_res_A = 1.0,
@@ -139,7 +141,8 @@ std::optional<RotationIndexerResult> RotationIndexer::ProcessImage(int64_t image
return RotationIndexerResult{
.lattice = indexed_lattice.value(),
.search_result = search_result_,
.geom = updated_geom_
.geom = updated_geom_,
.axis = axis_
};
}
@@ -149,7 +152,8 @@ std::optional<RotationIndexerResult> RotationIndexer::GetLattice() {
return RotationIndexerResult{
.lattice = indexed_lattice.value(),
.search_result = search_result_,
.geom = updated_geom_
.geom = updated_geom_,
.axis = axis_
};
}