Enable reading MTZ files with reference Fcalc
This commit is contained in:
@@ -280,15 +280,15 @@ void IndexAndRefine::ScaleImage(size_t n, ScaleOnTheFly &scaling, ScalingResult
|
||||
result.rotation_wedge_deg[n] = res.wedge;
|
||||
}
|
||||
|
||||
ScalingResult IndexAndRefine::ScaleAllImages(size_t nthreads) {
|
||||
auto merge_result = MergeAll(experiment, reflections);
|
||||
ScaleOnTheFly scaling(merge_result, experiment);
|
||||
ScalingResult IndexAndRefine::ScaleAllImages(const std::vector<MergedReflection> &reference, size_t nthreads) {
|
||||
ScaleOnTheFly scaling(reference, experiment);
|
||||
return scaling.Scale(reflections, mosaicity, nthreads);
|
||||
}
|
||||
|
||||
MergeResult IndexAndRefine::Merge() const {
|
||||
MergeResult IndexAndRefine::Merge(bool calc_statistics) const {
|
||||
MergeResult out;
|
||||
out.merged = MergeAll(experiment, reflections);
|
||||
out.statistics = MergeStats(experiment, out.merged, reflections);
|
||||
if (calc_statistics)
|
||||
out.statistics = MergeStats(experiment, out.merged, reflections);
|
||||
return out;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user