Space group: a screw row that could not have shown the screw leaves it undetermined
A screw candidate refused for want of evidence was named as an undetermined alternative only where its rows could not reach the claim bar even at the statistic's floor (1e-3 of the row per reflection) - in practice a row of one absence - and only where the winner claims no screw at all. A predicted-absent reflection that is truly extinct does not read at that floor; it reads its measurement noise. So two kinds of row decided a screw they could not see: - a short, weakly measured row: six h00 beside a control row itself at <I/sigma> 2-8 (a simulated P4212 crystal) read 6.2 nats against the bar of 8, and P422 was written with no alternative, although six extinct reflections at that noise could not have reached the bar either; - a row a pseudo-translation runs along: a P21212 crystal with tNCS (1/2,0,1/2) holds its odd h00 at 0.07 of the even ones whatever the screw, the de-modulated noise reads as presence, and P2221 was written with SPACE_GROUP_ALTERNATIVES= NONE. Each screw zone now carries its reach: the evidence it would show were every predicted-absent reflection extinct and read at its own sigma (E max(0, N(0, sigma)) = sigma / sqrt(2 pi), on the E^2 scale and divided by the pseudo-translation's modulation like the evidence). A candidate that adds screws to the winner's - same centring, the winner's own zones unchanged, no violation - and whose added rows cannot reach the bar is reported as before: the screw UNDETERMINED, the group listed in SPACE_GROUP_ALTERNATIVES. The written group is unchanged. Simulated: the P4212 crystal P422 -> P422 with P4212 listed (scored correct), the tNCS crystal P2221 -> P2221 with P22121 listed (correct); every other kept case unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HVeDQrPqZ52Tp6rzzZGxf3
This commit is contained in:
1 parent
89fcea9f7e
commit
b38a8da5cc
6 files changed
+79
-34
No files matched your search
@@ -30,7 +30,7 @@ The converted cut lies strictly below $\mathrm{ISa}$ for every $\mathrm{ISa}$, s
|
||||
|
||||
The candidates are enumerated in **every setting the refined cell can host**, not only in the settings the International Tables call the reference one. A setting is a statement about direction — $P112_1$ puts its $2_1$ on $c$ where $P12_11$ puts it on $b$, and both are space group 4 — so a search restricted to reference settings can only ever put a screw or a centring on the axis the convention chose, whatever the data say. Two things bound the widened set. The cell's own metric is asked once, when a point group's rotation set is chosen — a set whose rotations it does not host ($\alpha=\beta=90^\circ$ for a $2$-fold on $c$) is not offered — and every setting of a chosen set is then offered without asking again, because a cell refined free after integration sits a few tenths of a degree off $90^\circ$ and asking per setting kept only the reference one; and a candidate predicting exactly the absences another candidate already predicts is dropped as the same hypothesis under a second name. A non-reference setting is additionally refused when its centring class holds no reflection in this merge, since there is then nothing to confirm it with. Because the candidates of a point group all share its rotations, this cannot raise the symmetry: it decides *which axes* carry the screws and the centring, never how many operators there are. The setting found this way is the one the *decisions* are made in. The files are then written in the ITA standard setting (as XDS and POINTLESS write it: $P2_12_12$ with the pure axis on $c$ and $a<b$, monoclinic $b$-unique and $C$-centred with $\beta\ge 90^\circ$, the other orthorhombic groups $a\le b\le c$, triclinic reduced), or in the one the user supplied — a reference MTZ, a model that fits, the axis order of `-C`, a non-standard `-S` symbol, in that priority. That is an integer, determinant $+1$ change of basis applied after every decision, to the merged and unmerged files and the `_process.h5` alike, and reported as `SETTING_OPERATOR`; where the written group is not the reference setting (because the user asked for another) the report and the files name it by its full Hermann–Mauguin symbol. A group given with `-S` is placed on the axes its absences name before the merge: every change of basis that keeps its metric and centring is a candidate, each class of axial and zonal reflections some candidate predicts absent is read as the ratio of its mean $I/\sigma$ to that of the reflections none predicts absent, and the candidate that calls absent the classes that read weak and present the ones that read strong wins.
|
||||
|
||||
Several space groups may be indistinguishable on the measured data. Where they are, the search scores them identically and **all of them are named** in the result rather than one being reported as the answer: some are enantiomorph pairs, which merged intensities cannot distinguish in principle, others differ only by a screw condition that the centering condition already implies, so the screw has no observable signature at all, and others differ only on a zone the sweep never measured. Equality is keyed on the measured absence evidence, not on a count of predicted absences — two settings of one point group routinely predict a different *number* of absences on an unmeasured zone, which argues nothing either way. Among the tied candidates, where at least one axial zone *was* judged, the representative is the one claiming a screw on the rows this merge holds no control class for — a stated prior, not a measurement: a crystal that has already shown one screw is the group carrying the rest an order of magnitude more often than not, and a sweep short of half a turn routinely records one axial row and not the next. Centring-driven axial conditions do not count towards the claim, so a centred group and its screw partner still tie. What remains tied is represented by the lowest space-group number, which is a convention and not a measurement.
|
||||
Several space groups may be indistinguishable on the measured data. Where they are, the search scores them identically and **all of them are named** in the result rather than one being reported as the answer: some are enantiomorph pairs, which merged intensities cannot distinguish in principle, others differ only by a screw condition that the centering condition already implies, so the screw has no observable signature at all, and others differ only on a zone the sweep never measured. Equality is keyed on the measured absence evidence, not on a count of predicted absences — two settings of one point group routinely predict a different *number* of absences on an unmeasured zone, which argues nothing either way. Among the tied candidates, where at least one axial zone *was* judged, the representative is the one claiming a screw on the rows this merge holds no control class for — a stated prior, not a measurement: a crystal that has already shown one screw is the group carrying the rest an order of magnitude more often than not, and a sweep short of half a turn routinely records one axial row and not the next. Centring-driven axial conditions do not count towards the claim, so a centred group and its screw partner still tie. What remains tied is represented by the lowest space-group number, which is a convention and not a measurement. A screw is also left open where its row was measured but could not have shown it either way: the group adding it to the answer's screws is named beside the answer when its added rows, were every reflection they predict absent truly extinct, would still read only their measurement noise, and that noise falls short of the evidence a screw needs. A short or weakly measured row is such a row (six weak $h00$ beside a control row itself at $\langle I/\sigma\rangle$ 2-8 cannot reach the bar of 8 nats even if extinct), and so is a row a pseudo-translation runs along, which holds the class a screw would extinguish at a fraction of the rest whether or not the screw is there - the noise is read against that fraction.
|
||||
|
||||
**Glide planes** are detected the same way screws are, from the zone they extinguish: a glide removes half of a whole zone ($h0l$ with $h+l$ odd for an $n$ glide perpendicular to $\mathbf{b}$, and so on), and the extinguished class is scored against the rest of its own plane, as POINTLESS scores zonal absences. The statistic is per reflection rather than the zone's sum — a plane holds hundreds to thousands of reflections where an axial row holds tens, so a summed statistic reaches enormous values on a class that is merely a few times weak, where per reflection the false and the genuine zones separate cleanly — and a zone that cannot be measured refuses its candidate rather than abstaining, because a glide is an extra claim on top of a group that already fits without it. Candidates whose glides share a plane and differ only in the translation (the $c$ and the $n$ of the same plane) are one zone, keyed by the rotation part of the improper operator, not two scored twice. A Sohncke group has no improper operator at all, so on chiral data the zone loop never runs and every Sohncke candidate scores exactly what it scored before. Both readings are reported on every searched run — `SPACE_GROUP_NAME=` carries the glide where one was found, and `SOHNCKE_SPACE_GROUP=` the best group without — because a crystal of chiral molecules cannot have a glide plane, and a reader who knows the sample is a protein must be able to read the Sohncke answer without processing the images again. Non-Sohncke candidates are enumerated by **Laue class**, so the groups without a centre of symmetry (Pc, Pna2_1, I-42d, Fdd2) are candidates as well as the centrosymmetric ones; a candidate is enumerated only where its absences differ from a Sohncke candidate's, because an inversion centre or a mirror alone predicts exactly what the Sohncke subgroup predicts. A **centre of symmetry** is then settled by the absences where they can settle it: no group without a centre predicts the absences of P2_1/c, Pbca or Ia-3d, and no centrosymmetric group those of I-42d or Fdd2. Where two non-Sohncke groups predict the same absences (C2/c and Cc, Pnma and Pna2_1, I4_1md and I-42d) they are reported as alternatives these data cannot separate (`SPACE_GROUP_CENTRE=NOT_DETERMINED`), and the centrosymmetric one is written by default — a missed centre is the common error in small-molecule space-group assignment (Baur & Kassner 1992). That default gives way only when the intensity distribution of the general reflections reads acentric on <|L|>, <|E²-1|> and N(0.1), each calibrated against acentric and centric intensities simulated with the reflections' own sigmas, every reading lies in the range a Wilson population can produce, the reflections centric in both groups read centric, and the lattice excludes twinning (the metric admits no rotation beyond the Laue class and no twin-domain lattice was found), because a twinned centrosymmetric crystal reads exactly like an untwinned acentric one. Between two groups without a centre, the lowest-numbered is written.
|
||||
|
||||
|
||||
@@ -469,10 +469,15 @@ relative, or where a glide group was written.
|
||||
as one or more of `a`, `b`, `c`; when every screw the data could show was judged it reads `NONE`
|
||||
and, like the other keys whose answer is "nothing to report", is written only with `--developer`. It
|
||||
fires when the axial row a screw lives on was never recorded — it lay in the spindle's blind cone,
|
||||
or outside the resolution range — so nothing was measured that could confirm or refuse the screw.
|
||||
or outside the resolution range — so nothing was measured that could confirm or refuse the screw; and
|
||||
when the row was recorded but could not have shown the screw either way: were the reflections the screw
|
||||
would extinguish truly extinct, they would still read their measurement noise, and on a short or weakly
|
||||
measured row that noise alone falls short of the evidence a screw needs. A pseudo-translation along
|
||||
the row counts the same way: it holds the class a screw would extinguish at a fraction of the rest of
|
||||
the row whether or not the screw is there, and the noise is read against that fraction.
|
||||
On such an axis `SPACE_GROUP_NAME=` is not an answer: the answer is that group **or** any of
|
||||
`SPACE_GROUP_ALTERNATIVES`, and no measurement in the run chooses between them. What is written to
|
||||
the `.mtz`/`.cif`/`.hkl` is unchanged — the member claiming no screw, because a reflection file must
|
||||
the `.mtz`/`.cif`/`.hkl` is unchanged — the member claiming no screw on that axis, because a reflection file must
|
||||
carry one group — and the report prints the axis, why the row could not be judged, and what the
|
||||
alternatives are. To settle it, record the missing row: a different crystal orientation, or a sweep
|
||||
that reaches it. With `--developer` the space-group section names the same axes in prose beside the
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
#include "SearchSpaceGroup.h"
|
||||
#include "TwinningAnalysis.h"
|
||||
#include "gemmi/twin.hpp"
|
||||
#include "../../common/JFJochMath.h"
|
||||
#include "../../common/ParallelFor.h"
|
||||
|
||||
#include <algorithm>
|
||||
@@ -788,6 +789,7 @@ RowModulation FindRowModulation(const gemmi::UnitCell& cell, const std::array<in
|
||||
std::vector<HKLKey> key;
|
||||
std::vector<char> pass_absence, pass_cc;
|
||||
std::vector<double> Esq; // normalised over pass_absence - for the absence tests
|
||||
std::vector<double> EsqSigma; // the merged sigma on Esq's scale
|
||||
std::vector<double> Ecc; // normalised over pass_cc - for the operator correlation
|
||||
// The equal-count resolution shell each reflection of the absence set fell in, low resolution
|
||||
// first, and how many there were; -1 outside the set. The pseudo-translation test measures its
|
||||
@@ -850,7 +852,8 @@ RowModulation FindRowModulation(const gemmi::UnitCell& cell, const std::array<in
|
||||
// the population it was normalised over, so a caller has to normalise over the reflections it will
|
||||
// actually use (see Ecc below).
|
||||
auto shell_normalised = [&](const std::vector<char>& subset,
|
||||
std::vector<int>* shell_out = nullptr, int* bins_out = nullptr) {
|
||||
std::vector<int>* shell_out = nullptr, int* bins_out = nullptr,
|
||||
std::vector<double>* sigma_out = nullptr) {
|
||||
std::vector<double> E(n, 0.0);
|
||||
std::vector<size_t> order;
|
||||
order.reserve(n);
|
||||
@@ -873,6 +876,8 @@ RowModulation FindRowModulation(const gemmi::UnitCell& cell, const std::array<in
|
||||
const double mean = (hi > lo) ? sum / static_cast<double>(hi - lo) : 0.0;
|
||||
for (size_t j = lo; j < hi; ++j) {
|
||||
E[order[j]] = mean > 0.0 ? I[order[j]] / mean : 0.0;
|
||||
if (sigma_out)
|
||||
(*sigma_out)[order[j]] = mean > 0.0 ? Sigma[order[j]] / mean : 0.0;
|
||||
if (shell_out)
|
||||
(*shell_out)[order[j]] = static_cast<int>(b);
|
||||
}
|
||||
@@ -886,7 +891,8 @@ RowModulation FindRowModulation(const gemmi::UnitCell& cell, const std::array<in
|
||||
// rather than by a possibly under-estimated sigma (see present_e_squared).
|
||||
std::vector<int> absence_shell(n, -1);
|
||||
int absence_shell_count = 0;
|
||||
std::vector<double> Esq = shell_normalised(pass_absence, &absence_shell, &absence_shell_count);
|
||||
std::vector<double> EsqSigma(n, 0.0);
|
||||
std::vector<double> Esq = shell_normalised(pass_absence, &absence_shell, &absence_shell_count, &EsqSigma);
|
||||
|
||||
// Overlap guard (Stage A / correlation only): drop the extreme resolution-normalised-E tail, which
|
||||
// on a two-lattice crystal is the one-sided overlap contamination that poisons the operator CC.
|
||||
@@ -931,7 +937,8 @@ RowModulation FindRowModulation(const gemmi::UnitCell& cell, const std::array<in
|
||||
return {.n = n, .H = std::move(H), .K = std::move(K), .L = std::move(L),
|
||||
.I = std::move(I), .Sigma = std::move(Sigma), .IoverSigma = std::move(IoverSigma),
|
||||
.key = std::move(key), .pass_absence = std::move(pass_absence),
|
||||
.pass_cc = std::move(pass_cc), .Esq = std::move(Esq), .Ecc = std::move(Ecc),
|
||||
.pass_cc = std::move(pass_cc), .Esq = std::move(Esq), .EsqSigma = std::move(EsqSigma),
|
||||
.Ecc = std::move(Ecc),
|
||||
.absence_shell = std::move(absence_shell), .absence_shell_count = absence_shell_count,
|
||||
.present_cut = present_cut, .key_to_index = std::move(key_to_index)};
|
||||
}
|
||||
@@ -1123,6 +1130,7 @@ SearchSpaceGroupResult SearchSpaceGroup(
|
||||
const auto& pass_absence = nm.pass_absence;
|
||||
const auto& pass_cc = nm.pass_cc;
|
||||
const auto& Esq = nm.Esq;
|
||||
const auto& EsqSigma = nm.EsqSigma;
|
||||
const double present_cut = nm.present_cut;
|
||||
const auto& absence_shell = nm.absence_shell;
|
||||
const int absence_shell_count = nm.absence_shell_count;
|
||||
@@ -2469,7 +2477,8 @@ SearchSpaceGroupResult SearchSpaceGroup(
|
||||
// goes from 4 violations in 48 (under the 10% bound, so the screw passed) to 18 in 48, while
|
||||
// the crystal's two genuine screws gain NOT ONE violation, and neither does a genuine screw
|
||||
// on another crystal whose confirmed pseudo-translation sits on that very axis.
|
||||
struct ScrewAbsent { AxialRow row; double e_squared; double e_squared_expected; double i_over_sigma; };
|
||||
struct ScrewAbsent { AxialRow row; double e_squared; double e_squared_expected; double i_over_sigma;
|
||||
double sigma_expected; };
|
||||
std::vector<ScrewAbsent> screw_absent_refl;
|
||||
std::map<AxialRow, std::vector<double>> row_present_esq;
|
||||
// The candidate's mirror directions, and the zone of each: the reflections it fixes, split
|
||||
@@ -2517,7 +2526,8 @@ SearchSpaceGroupResult SearchSpaceGroup(
|
||||
IoverSigma[i]});
|
||||
else
|
||||
screw_absent_refl.push_back({RowOf(H[i], K[i], L[i]), Esq[i],
|
||||
Esq[i] / tncs_expected[i], IoverSigma[i]});
|
||||
Esq[i] / tncs_expected[i], IoverSigma[i],
|
||||
EsqSigma[i] / tncs_expected[i]});
|
||||
} else {
|
||||
present_n += 1;
|
||||
present_sum += IoverSigma[i];
|
||||
@@ -2593,7 +2603,7 @@ SearchSpaceGroupResult SearchSpaceGroup(
|
||||
// row is, so it contributes no evidence either way rather than being judged against the shell
|
||||
// mean; it is carried as an undetermined zone so the report can say so.
|
||||
struct ZoneSums { double sum_u = 0; double max_u = 0; int n_absent = 0; int n_control = 0;
|
||||
int n_violations = 0; };
|
||||
int n_violations = 0; double sum_dead = 0; double max_dead = 0; };
|
||||
std::map<AxialRow, ZoneSums> zones;
|
||||
for (const auto& a : screw_absent_refl) {
|
||||
const auto it = row_median.find(a.row);
|
||||
@@ -2655,6 +2665,11 @@ SearchSpaceGroupResult SearchSpaceGroup(
|
||||
if (!(violation && a.e_squared >= mit->second))
|
||||
z.max_u = std::max(z.max_u, u);
|
||||
z.n_control = static_cast<int>(row_present_esq.at(a.row).size());
|
||||
// What the reflection would read were it extinct: its measurement noise alone, of which
|
||||
// the statistic keeps the positive part, E max(0, N(0, sigma)) = sigma / sqrt(2 pi).
|
||||
const double dead = a.sigma_expected / std::sqrt(2.0 * PI) / mit->second;
|
||||
z.sum_dead += dead;
|
||||
z.max_dead = std::max(z.max_dead, dead);
|
||||
}
|
||||
}
|
||||
// Each zone is scored on its OWN evidence, and the strongest one speaks for the group. Pooling
|
||||
@@ -2699,7 +2714,9 @@ SearchSpaceGroupResult SearchSpaceGroup(
|
||||
for (const auto& [row, z] : zones) {
|
||||
const double sum_u = TrimmedZoneSum(z.sum_u, z.max_u, z.n_absent);
|
||||
const double ev = z.n_control > 0 ? ScrewZoneEvidence(sum_u, z.n_absent) : 0.0;
|
||||
s.screw_zones.push_back({row, z.n_absent, z.n_control, ev});
|
||||
const double sum_dead = TrimmedZoneSum(z.sum_dead, z.max_dead, z.n_absent);
|
||||
s.screw_zones.push_back({row, z.n_absent, z.n_control, ev, sum_dead,
|
||||
z.n_control > 0 ? ScrewZoneEvidence(sum_dead, z.n_absent) : 0.0});
|
||||
if (z.n_control > 0) {
|
||||
screw_sum_u += sum_u;
|
||||
screw_scored += z.n_absent;
|
||||
@@ -3089,35 +3106,49 @@ SearchSpaceGroupResult SearchSpaceGroup(
|
||||
}
|
||||
}
|
||||
|
||||
// A screw no axial reflection here could have confirmed (unreached_screws). The winner claims no
|
||||
// screw and no glide; the candidate differs from it only by screws - same centring class, no glide -
|
||||
// no reflection of its absent classes is a violation, and its evidence could not have reached the
|
||||
// claim bar even with every predicted-absent reflection at the floor.
|
||||
if (result.best_space_group.has_value() && result.candidates.front().screw_absent == 0
|
||||
&& result.candidates.front().glide_absent == 0) {
|
||||
// A screw no axial reflection here could have confirmed (unreached_screws). The candidate claims every
|
||||
// screw the winner claims, on the same evidence, and more - same centring class, no glide - no
|
||||
// reflection of its absent classes is a violation, and the rows it adds could not have reached the
|
||||
// claim bar even were every predicted-absent reflection on them extinct: such a reflection still
|
||||
// reads its measurement noise, divided by the pseudo-translation's modulation where one holds the
|
||||
// row (ScrewZone::reach). Read at a floor instead of the noise, a short row looked able to decide:
|
||||
// six weak h00 beside a control row itself at <I/sigma> 2-8 could not have reached the bar of 8 nats
|
||||
// even if extinct, and the screw was written as absent with no alternative; and a row whose odd class a
|
||||
// pseudo-translation along it holds at 0.07 of the even one reads that class as present whether or
|
||||
// not a screw extinguishes it.
|
||||
if (result.best_space_group.has_value() && result.candidates.front().glide_absent == 0) {
|
||||
const SpaceGroupCandidateScore& w = result.candidates.front();
|
||||
const auto winner_zone = [&](const auto& z) {
|
||||
return std::any_of(w.screw_zones.begin(), w.screw_zones.end(), [&](const auto& wz) {
|
||||
return wz.row == z.row && wz.n_absent == z.n_absent && wz.evidence == z.evidence;
|
||||
});
|
||||
};
|
||||
for (const auto& s : result.candidates) {
|
||||
if (s.selected || !s.consistent || s.screw_absent == 0
|
||||
if (s.selected || !s.consistent || s.screw_absent <= w.screw_absent
|
||||
|| s.glide_absent != 0 || s.space_group.centring_type() != w.space_group.centring_type()
|
||||
|| s.centering_absence_evidence != w.centering_absence_evidence)
|
||||
|| s.centering_absence_evidence != w.centering_absence_evidence
|
||||
|| std::count_if(s.screw_zones.begin(), s.screw_zones.end(), winner_zone)
|
||||
!= static_cast<std::ptrdiff_t>(w.screw_zones.size()))
|
||||
continue;
|
||||
int scored = 0;
|
||||
double reach = 0.0;
|
||||
double sum_dead = 0.0, reach = 0.0;
|
||||
for (const auto& z : s.screw_zones)
|
||||
if (z.n_control > 0) {
|
||||
if (!winner_zone(z) && z.n_control > 0) {
|
||||
scored += z.n_absent;
|
||||
reach = std::max(reach, ScrewZoneEvidence(0.0, z.n_absent));
|
||||
sum_dead += z.sum_dead;
|
||||
reach = std::max(reach, z.reach);
|
||||
}
|
||||
reach = std::max(reach, ScrewZoneEvidence(0.0, scored));
|
||||
reach = std::max(reach, ScrewZoneEvidence(sum_dead, scored));
|
||||
if (reach >= opt.min_screw_absence_evidence)
|
||||
continue;
|
||||
result.unreached_screw_groups.push_back(s.space_group);
|
||||
result.unreached_screw_groups.insert(result.unreached_screw_groups.end(), s.same_absences.begin(),
|
||||
s.same_absences.end());
|
||||
const gemmi::GroupOps g = s.space_group.operations();
|
||||
const gemmi::GroupOps g = s.space_group.operations(), wg = w.space_group.operations();
|
||||
for (const AxialRow& row : {RowOf(1, 0, 0), RowOf(0, 1, 0), RowOf(0, 0, 1)}) {
|
||||
const gemmi::Op::Miller hkl{{row[0], row[1], row[2]}};
|
||||
if (!g.is_systematically_absent(hkl) || CenteringAbsent(g, hkl)
|
||||
|| (wg.is_systematically_absent(hkl) && !CenteringAbsent(wg, hkl))
|
||||
|| std::any_of(result.unreached_screws.begin(), result.unreached_screws.end(),
|
||||
[&](const auto& u) { return u.row == row; }))
|
||||
continue;
|
||||
|
||||
@@ -81,6 +81,12 @@ struct SpaceGroupCandidateScore {
|
||||
int n_absent = 0;
|
||||
int n_control = 0; // 0 = undetermined: this row has no control class in the merge
|
||||
double evidence = 0.0; // nats; meaningless when n_control is 0
|
||||
// What the row could show at best: the zone's sum, and its evidence, were every predicted-absent
|
||||
// reflection extinct and read at its measurement noise alone (divided, like the evidence, by a
|
||||
// pseudo-translation's modulation where one holds the row). Below min_screw_absence_evidence the
|
||||
// row cannot confirm the screw whatever the crystal is (see unreached_screws).
|
||||
double sum_dead = 0.0;
|
||||
double reach = 0.0;
|
||||
};
|
||||
std::vector<ScrewZone> screw_zones;
|
||||
// Of the three axial rows, how many this group's screws extinguish while the merge holds no
|
||||
@@ -899,12 +905,13 @@ struct SearchSpaceGroupResult {
|
||||
int n_control = 0; // ...and the rest of the row, which an absence is judged against
|
||||
};
|
||||
std::vector<UndeterminedScrew> undetermined_screws;
|
||||
// A screw the symmorphic winner claims no screw against only because nothing here could have shown
|
||||
// one: a candidate whose absences no axial reflection contradicts, refused for want of evidence that
|
||||
// its axial rows could not have reached however dead they were (one predicted-absent reflection
|
||||
// reaches 6.9 nats, under min_screw_absence_evidence; one without a control class reaches nothing).
|
||||
// Its rows, and the candidate with the groups that predict its absences. Report-only: kept apart
|
||||
// from undetermined_screws and alternatives, which decisions downstream read.
|
||||
// A screw the winner claims no screw against only because nothing here could have shown one: a
|
||||
// candidate that adds screws to the winner's, whose absences no axial reflection contradicts, refused
|
||||
// for want of evidence that its added rows could not have reached were every predicted-absent
|
||||
// reflection extinct - read at its measurement noise, under a pseudo-translation's modulation where
|
||||
// one holds the row (ScrewZone::reach); a row without a control class reaches nothing. Its rows, and
|
||||
// the candidate with the groups that predict its absences. Report-only: kept apart from
|
||||
// undetermined_screws and alternatives, which decisions downstream read.
|
||||
std::vector<UndeterminedScrew> unreached_screws;
|
||||
std::vector<gemmi::SpaceGroup> unreached_screw_groups;
|
||||
|
||||
|
||||
@@ -1550,8 +1550,8 @@ ReportDocument BuildReportDocument(const std::string &output_prefix,
|
||||
" SPACE_GROUP_SCREW_UNDETERMINED names the axes whose SCREW these data could not\n"
|
||||
" decide at all:{}\n"
|
||||
" On those axes SPACE_GROUP_NAME is not an answer - the answer is it or any of\n"
|
||||
" SPACE_GROUP_ALTERNATIVES, and no measurement here chooses. The lowest-numbered\n"
|
||||
" group, the one claiming no screw, is what the .mtz/.cif/.hkl carry, because a\n"
|
||||
" SPACE_GROUP_ALTERNATIVES, and no measurement here chooses. The group claiming no\n"
|
||||
" screw on those axes is what the .mtz/.cif/.hkl carry, because a\n"
|
||||
" reflection file must name one group. To settle it, collect the missing row: a\n"
|
||||
" different crystal orientation, or a sweep that reaches it.", why)));
|
||||
}
|
||||
|
||||
@@ -3936,9 +3936,11 @@ bool Rugnux::ScaleMergeAndSymmetry(PipelineLocals &p) {
|
||||
alts += " or " + g.xhm();
|
||||
sg_search.alternatives.push_back(g);
|
||||
}
|
||||
logger.Warning("The screw along {} is UNDETERMINED: its axial row holds too few reflections a screw would "
|
||||
"extinguish to show one, however weak they are, and none that contradicts it. These data "
|
||||
"say {}{}; {} is written because a reflection file must carry one group.",
|
||||
logger.Warning("The screw along {} is UNDETERMINED: its axial row could not show one - were the reflections a "
|
||||
"screw would extinguish extinct, their measurement noise (against a pseudo-translation's "
|
||||
"modulation where one holds the row) would still read short of the evidence a screw needs - "
|
||||
"and none contradicts it. These data say {}{}; {} is written because a reflection file must "
|
||||
"carry one group.",
|
||||
axes, result.space_group->xhm(), alts, result.space_group->xhm());
|
||||
}
|
||||
result.space_group_search = sg_search;
|
||||
|
||||
Reference in new issue
Block a user