Skip to content

rietx 1.11.0

Choose a tag to compare

@yue-here yue-here released this 04 Nov 19:55
· 3746 commits to main since this release
b1741da

rietx 1.11.0

This release carries everything that reached main in the eleven days after 1.10.0, 183 merged pull requests.
Six changes are the largest.
The indexer validates each candidate by a Pawley fit, where 1.10.0 ran one Le Bail pass, and a line screen counts the predicted lines the pattern lacks, so a wrong cell can no longer buy a count of zero by refitting its background.
RefinementResult.parameters lists only what the fit could move, so a cubic b and c no longer sit beside a held a.
lab_calibrate and lab_bragg_brentano refine the axial ratio S/L and hold H/L, because the two are interchangeable and a fit could report either as a measurement.
A stage whose χ² still falls, too slowly to move its parameters by an esd, now stops and says so.
A series no longer calls any step a jump or refits a pattern for a high Rwp: it records steps, direction gaps and code counts with no threshold, and it follows each phase and atom by name.
And a structure can hold more: a rigid body on a special position, planarity and torsion restraints, and a distorted child refined on its mode amplitudes.

Everything that changes what 1.10.0 code gets back is in Upgrading.
1.10.0 refuses a structure, a history log, a refinement result or a series result that this release writes (Files that change).

Install

pip install --upgrade rietx

Upgrading

Code written against 1.10.0 runs unaltered, with the exceptions in this list.

Code to check

  • capabilities().schema_version is 0.60, where 1.10.0's was 0.59.
    0.60 adds RefinementResult.radiation and HistogramResult.radiation (WP-2042), Phase.distortion_modes and RefinementResult.distortion_totals (WP-1419), IndexingResult.formula, IndexingResult.temperature, PeakList.instrument_undeclared and CellCandidate.formula_units (WP-2030), PlanarityRestraint (WP-1809), GeometryTable.torsions and TorsionRestraint (WP-1815), StageResult.rwp, StageResult.termination and StageResult.window_loss (WP-1334, WP-2047), and SeriesResult.code_counts, SeriesResult.direction_gaps and SeriesEntry.rwp_over_median (WP-2003).
    RestraintRow.kind gains "planarity" and "torsion".
    Files that change says which documents open where.
  • RefinementResult.parameters lists a parameter only when the fit could move it (WP-1999, ruled by the maintainer 2026-11-01).
    1.10.0 listed a tied parameter whatever its source did, so a cubic b and c stayed beside a held a, at the carried value and with no esd.
    Code that looks up a held path there now finds no row.
    Read the value from the model, or list every parameter with Refinement.parameters().
    A Le Bail fit of NAC reports 2 tied rows where 1.10.0 reported 18, and a series draws no trajectory point at a pattern where the path could not move.
    The printed result does not change, and a CIF still states every cell length and coordinate.
  • lab_calibrate and lab_bragg_brentano refine the axial ratio S/L and hold H/L at the value you set (WP-2012, ruled by the maintainer 2026-11-01).
    Swapping the two gives the same pattern to the last bit, so two free ratios had two mirrored minima and a fit reported whichever it reached.
    Code that read a refined instrument.geometry.axial_hl from either plan now reads the value it declared.
    The refine_axial_asymmetry suggestion names S/L alone.
    An imported GSAS-II recipe still frees both ratios from its single SH/L flag.
  • Refinement.fit no longer raises ValueError: array must not contain infs or NaNs when a stage's model turns non-finite (WP-2048).
    The stage ends at its start with status="diverged", the warning STAGE_NOT_FINITE names the stage, what went non-finite and the free set, and the fit carries on.
    Code that caught the exception reads the stage's status.
  • PeakList refuses a line whose q_esd does not follow from its two_theta_esd (WP-2071, issue #1236), in the validator that already refuses a stale q.
    The engines weight lines by q_esd, so in 1.10.0 an edit to one line's two_theta_esd loaded clean and never reached the search.
    Set both together through q_esd_of_two_theta, or rebuild the list with pick_peaks or from_positions.
  • read_fullprof_pcr refuses Nor = 0 with a non-zero Pref1, the exponential preferred-orientation function (WP-2058).
    1.10.0 built such a file with no preferred orientation and said nothing.
  • write_topas_inp refuses a tie_equal group whose members hold two values (WP-1911), at the 1e-6 bar the TOPAS reader refuses one on read.
  • SplitFamily(...) built without emission_line raises (WP-1339), since a default of 0 read as an answer.
    A stored dump still loads.
  • predicted_but_absent is a capping caveat (C3, issue #916, PR #941): a cell carrying it alone grades medium, where 1.10.0 graded it low; INDEX_REFUTING_CAVEATS no longer names it.
    Code that read the caveat as a refutation reads supercell_refuted instead, which is what refutes an oversized cell now.
  • LeBailValidation gains predicted_but_absent_uncancellable, predicted_but_absent_uncancellable_in_window and absent_source; SupercellCheck gains relation, and its index is 0 when the parent is not a sublattice (schema 0.60, indexing thresholds 1.12).
    Every field is defaulted to the reading a 1.10.0 document had.
  • The indexer validates each candidate by a Pawley fit, where 1.10.0 ran one Le Bail pass (WP-2011).
    LeBailValidation.mode records which (schema 0.60), and a 1.10.0 document reads "lebail".
    The type, CellCandidate.lebail, validate_by_lebail and lebail_rwp keep their names.
  • Under a time ceiling (quick, or a declared total_budget_seconds) the search stops 15 % of it early, where 1.10.0 stopped 8 % early, and the validation fits run cheapest first, each on what the clock holds, where 1.10.0 gave each an equal share in rank order (WP-2011).
    rietx.indexing.engines.budget_exhausted_diagnostic loses its ceiling_hit argument, since a validation fit no longer has a share of its own to run out of.
    Code that compared two candidates' lebail.rwp reads a different number: a cell that predicts every reflection of another now fits at least as well, so the comparison separates a wrong metric and never an oversized cell.
  • determine_extinction_symbol now refines the cell before it screens (refine_cell=True is the default, issue #726).
    A caller that hands it a certified cell and wants that cell held passes refine_cell=False.
    A caller that reads best_or_none() gets None on a new reason as well: ExtinctionScreen.status == "unreliable".
    0.60 also adds ExtinctionScreen.prefit_rwp, ExtinctionScreen.reference_rwp_net and ExtinctionScreen.perfect_fit_rwp_net, each defaulting to None.
  • SearchSpec.from_formula sets a volume ceiling only, for every formula (WP-2030).
    1.10.0 also set min_volume to 0.8 × z formula units by Hofmann's volumes, which excluded the true cell of 15 of 16 inorganic standards; min_volume now stays at the 15 ų default unless you pass it beside the formula.
    With z=None the spec narrows nothing, where 1.10.0 set a floor of one formula unit.
    A search declared this way covers smaller cells and can take longer.
    CompositionCheck.in_volume_window tests the same ceiling alone: it read False on 15 of 16 true inorganic cells under the 0.8 floor.
  • INDEX_Z_NOT_INTEGER is withdrawn, with rietx.indexing.diagnostics.Z_INTEGER_TOLERANCE, and candidate_diagnostics no longer takes formula or temperature (WP-2030).
    It fired on 12 of 16 true inorganic cells: against Hofmann's volumes a correct inorganic cell looks like a wrong Z.
    The number it judged is recorded as CellCandidate.formula_units when index_pattern is given formula=.
  • A chemical formula whose full stop reads two ways is refused (WP-2030): formula_unit_volume, SearchSpec.from_formula and index_pattern(formula=) raise ValueError on "CuSO4.5H2O", which 1.10.0 read as 4.5 O, 39 % low.
    What is refused is a decimal count of 1 or more, with no leading zero in its fractional part, straight after an element or a bracket and followed, past any whitespace, by one of 13 adduct molecules (H2O, D2O, NH3, H2O2, HCl, CO2, CH3OH, CH4O, C2H5OH, C2H6O, CH3CN, C6H6, C4H8O) that ends the part: "CuSO4.5H2O", "CuSO4.5 H2O", "CuSO4.5 H2 O".
    Write a hydrate with · ("CuSO4·5H2O").
    Every other decimal reads as 1.10.0 read it: "Fe2.95O4", "Li1.05Mn1.95O4", "Ca9.5(PO4)6F2" and "Mg0.5SiO3" are unchanged.
    A solvate whose molecule is not on the list ("ZnCl2.2C5H5N") still reads as a decimal.
  • A plan's last declared stage now converges at the solver's 1e-9 when a closing stage follows it, as it did before 1.10.0 (WP-2045).
    RefinementPlan.stage_ftols() ends [..., None, None] where it ended [..., 1e-6, None], and that stage's StageResult.ftol reads None.
    A stage's own Stage.ftol still wins.
  • Code that filters a joint result's BISO_NEGATIVE, BISO_UNUSUALLY_LARGE or ADP_NOT_POSITIVE_DEFINITE findings by the bare path of a per-histogram parameter (WP-2028).
    Such a finding's path now reads hist.<h>.…, where 1.10.0 wrote it bare from pattern 0.
  • Code that reads a joint result's ticks or tick_hkl as one row per phase, where a phase carries a moment (WP-2028).
    A neutron pattern's magnetic phase now has its own "<phase> (magnetic)" row there, as a single fit's has had since issue #278.
  • SEQUENTIAL_DISCONTINUITY is gone, with its three thresholds DISCONTINUITY_FACTOR, DISCONTINUITY_SIGMA and MIN_POINTS_FOR_DISCONTINUITY (WP-2003).
    A series no longer calls any step a jump: what one means depends on the sample's history, which no pattern records.
    SeriesResult.discontinuities is renamed SeriesResult.steps, and it now lists every refined path's step between consecutive patterns, in esds of the later fit (SeriesStep.size_esd), largest first, rather than the one flagged step per path.
    The summary's trajectory block names the largest; rx.explain("SeriesResult.steps") carries the reading.
    fit(verify_discontinuities=True) is fit(verify_steps=k), which refits the k largest steps cold and writes SeriesStep.cold_ratio, where the diagnostic's value held it; a bool is refused.
    A series saved by 1.10.0 opens with its discontinuities dropped and steps=None.
  • A series no longer refits a pattern because its Rwp is high (WP-2003).
    A warm fit climbs the restart ladder when it diverged or raised; reseed_factor defaults to None, where 1.10.0's 1.25 sent any warm fit above 1.25 × the median Rwp of the accepted patterns up the ladder, and RESEED_FACTOR is gone.
    Pass a factor to keep that fence; a bool, a non-finite or a non-positive one is refused.
    SEQUENTIAL_RWP_OUTLIER is gone with it, and SeriesEntry.rwp_fence is replaced by SeriesEntry.rwp_over_median, the kept attempt's Rwp over the median of the patterns accepted before it, with no threshold; rx.explain("SeriesEntry.rwp_over_median") says how to read it beside GoF and Rexp.
    A step into or out of a high-Rwp pattern is now a row of SeriesResult.steps, and the trajectory plot no longer boxes such a point.
    A series saved by 1.10.0 opens with each entry's rwp_fence dropped and rwp_over_median=None.
  • A warm fit carrying an error-level diagnostic is now rejected like a diverged one (WP-2003).
    It climbs the restart ladder, and a pattern whose kept attempt still carries one after the last rung is quarantined: it seeds no successor, joins no median, and no step starts or ends on it.
    In 1.10.0 a converged fit under MODEL_FAR_FROM_DATA seeded the next pattern, which then collapsed too unless the Rwp fence caught it.
    SEQUENTIAL_UNRECOVERED now says whether the kept attempt diverged or which error code it carries.
    On a series saved by 1.10.0, moved_paths, magnetic_trajectory and the trajectory plot leave such a pattern out as well, while what it seeded when it ran stays as it was.
    A max_iter fit is not rejected.
  • A series no longer bounds what a warm pattern's first attempt may spend (WP-2003).
    first_rung_factor defaults to None, where 1.10.0's 3.0 capped it at three times the dearest first attempt the chain had converged, and rietx.sequential.FIRST_RUNG_FACTOR is gone.
    Pass a factor to keep a bound; a bool, a non-finite or a non-positive one is refused.
    A bound now caps each stage of the first attempt and is sampled from each converged attempt's dearest stage, where 1.10.0 sampled the stages' sum; an attempt with any stage stopped at it escalates even when its closing stage converged, which 1.10.0 kept as converged.
    Under reseed=False a factor bounds nothing, where 1.10.0 still escalated a first attempt it had cut.
  • SEQUENTIAL_PERSISTENT_FINDING is gone, with its threshold rietx.sequential.MIN_POINTS_FOR_PERSISTENCE (WP-2003).
    A series now counts every per-pattern code over its patterns, with no threshold.
    SeriesResult.code_counts lists each code and parameter as a SeriesCodeCount: the patterns it fired on, the patterns in the series and the worst level, largest count first.
    1.10.0 reported a pair only when it fired on more than half of a series of five patterns or more, and no measurement set either number.
    On a 248-pattern ramp whose unmodelled phase appears at pattern 124, FLOOR_HIT fired on 63 patterns, and the half kept it silent.
    The summary's trajectory block names the three largest counts, and rx.explain("SeriesResult.code_counts") carries the reading.
    summary(deliverable="series") no longer prints a persistent findings row.
    A series saved by 1.10.0 opens with code_counts=None and its old diagnostics as written.
  • SEQUENTIAL_PATH_DEPENDENT is gone, with its threshold rietx.sequential.PATH_DEPENDENCE_SIGMA (WP-2003).
    Under direction="both" a series now records every path's forward-backward gap at every pattern, with no threshold.
    SeriesResult.direction_gaps lists them as DirectionGap rows: the two values, the signed gap, the gap in combined esds and the attempt each chain kept, largest first.
    1.10.0 reported a path only past 3 combined esds, and no measurement set that number.
    The summary's trajectory block names the largest gap of the three paths that lead, and the ordering artefact row of summary(deliverable="series") quotes the largest.
    The three things to do about a large gap moved from the diagnostic's suggestion into rx.explain("SeriesResult.direction_gaps").
    The [path-dependent] tag on a trajectory plot's title is now the path's largest gap as a number.
    The GUI server's series payload drops path_dependent and path_dependence_sigma, and each trajectory's n_sigma is read off the record.
    A series saved by 1.10.0 opens with direction_gaps=None and its old diagnostics as written.
  • SEQUENTIAL_PATH_CHECK_INCOMPLETE is split in two (WP-2003).
    A comparison that did not run now fires SEQUENTIAL_PATH_CHECK_NOT_RUN at warning, where 1.10.0 fired the same code at both levels.
    SEQUENTIAL_PATH_CHECK_INCOMPLETE now fires only at info, when the comparison ran on fewer patterns or paths than the series has.
    A 1.10.0 series carrying INCOMPLETE at warning still reads as "did not run".
  • A series ranks a pattern's attempts in a new order (WP-2003).
    An attempt that diverged or carries an error-level diagnostic now loses to one the first-rung bound cut short, where 1.10.0 kept the diverged one if it ran to completion.
    Between two attempts in the same state the lower full least-squares cost now wins: the last stage's StageResult.cost_final, which counts the background-penalty, Pawley-restraint and soft-restraint rows beside the data.
    1.10.0 compared Rwp, which sees the data rows alone.
    Where the two attempts did not minimise one objective, Rwp still decides: different σ, a different restraint count or weight, or a Pawley fit.
    On the CPD sample-1 chain with every attempt forced, the two rules kept the same attempt on every pattern.
  • A series follows each phase by its name and each atom by its label, where a prepare hook adds or removes either part-way (WP-1991).
    Every path of a SeriesResult now reads one numbering, that of the structure the series was given, so trajectory("phases.0.atoms.3.biso") stays on one atom.
    In 1.10.0 a prepare that removed O3 from one pattern of a PbSO₄ series joined O4 and then O5 into that trajectory.
    SeriesEntry.pattern_paths and Trajectory.pattern_paths give each pattern's own path, and SeriesResult.phase_names and .atom_labels record the numbering.
    A series now refuses a phase name used twice, or an atom label used twice in one phase, with a ValueError.
    A series saved by 1.10.0 opens as written.
  • A rigid body whose atoms straddle a symmetry element is now refused, RIGID_BODY_IMAGE_OVERLAP (WP-1807, #876).
    In 1.10.0 such a body built and fitted in silence while the cell held part of it twice: a PbSO₄ SO₄ moved 0.03 off its mirror counted S 8 and O 32 in a cell of 4 and 16.
    A model or .rex history holding one now refuses at the next table build, naming the pair of atoms, the operation, the distance and the doubled counts.
    A body whose atoms carry a disorder_group, or whose overlapping atoms and images in one place have occupancies summing to 1 or less, is not refused.
    The remedy is in the message: put the body's origin on the element and list one atom per image.
  • read_pattern refuses a reduced total-scattering file, PATTERN_TOTAL_SCATTERING (issue #1240), where 1.10.0 read it as a 2θ pattern with nothing to say the axis was r or Q.
    A file is refused when an #L line labels r against G or Q against S or F, when its header is PDFgetX2's or PDFgetX3's, or, with neither, when it is named .gr, .sq or .fq.
    The exception is rietx.io.formats.TotalScatteringRefused, a ValueError carrying the record as .diagnostic; the record also lands on diagnostics= when a list is passed.
    capabilities().reader_formats gains the refusal total_scattering, directly above xy.
    A 2θ scan that only carries one of those suffixes opens under any other name.
  • HumpComponent.position is required (WP-2013, ruled by the maintainer 2026-11-02), where 1.10.0 defaulted it to 0.0° 2θ.
    HumpComponent() and a hump dict without position now raise, naming the field; give the hump's apparent 2θ, e.g. position=rx.Parameter(value=5.0, unit="deg").
    A stored document that omits it still opens, at the old 0.0°: a .rex history and an instrument profile are read under rietx.schemas.common.STORED_DOCUMENT.
    Every writer has always written the field, so only a hand-written document is affected.
  • ProjectFormat.reports_at is "build" or "both" (WP-2013): its "read" member is gone, since no format declared it.
  • Refinement(..., history=path) raises FileExistsError when path already holds a history log (WP-2031), where 1.10.0 appended a second tree whose node ids restarted at n0000.
    RefinementTree.for_data asks again, and a series given a history directory raises before its first fit when the directory holds a log the run would write.
    A script rerun on one path passes another path, or continues the log with RefinementTree.load and Refinement.from_node(tree, "head").
    A file 1.10.0 doubled this way still opens: RefinementTree.load returns the last tree and reports each earlier one as HISTORY_EARLIER_TREE_SKIPPED, naming its lines.

Numbers that move

  • A stage that crawls now stops (WP-1334, ruled by the maintainer 2026-11-03).
    Under the default driver, a stage ends once another 300 residual evaluations, at the rate of the last 100, would lower χ² by less than χ²_red, the decrease one esd of joint travel buys.
    It reads status="converged" with StageResult.termination "slow_descent", and the info diagnostic STAGE_SLOW_DESCENT names it.
    STAGE_MAX_ITER now names only the stages that ran out of budget again.
    Over the series tests, 6 of 184 fits in 5 chains move, by at most 0.067 esd and with fewer evaluations, and their rungs, statuses and quarantines do not change.
    solver="trf" has no such rule, and rietx.optimize.lm.SLOW_DESCENT_ESD = None switches it off.
  • On the NIST SRM 660c protocol, holding H/L at the declared 0.025 moves S/L from 0.02546(357) to 0.03704(74) (WP-2012).
    The cell moves 0.36 ppm, a fifteenth of its esd, and the esds of the cell and the specimen displacement fall to 0.71 and 0.67 of their old size.
    Rwp goes from 0.087429 to 0.087431.
  • A Stephens anisotropic strain block now replaces the isotropic lor_strain it locks (WP-1467).
    In 1.10.0 it sat on top of a frozen copy of that width, so a block declared after an isotropic fit could make no reflection narrower than the old width, and the anisotropic fit could end above the isotropic fit it contains.
    A fit that declares a block over a non-zero lor_strain moves, and one whose lor_strain was zero does not.
    STEPHENS_STRAIN_NOT_POSITIVE now gives the share of the phase's m·|F|² carried by the reflections the clamp left with no strain width.
  • A fit keeps each site's multiplicity from its start to its answer (WP-2052, issue #1088).
    A half-occupied general atom is the usual way to write a split pair across a mirror, and where the data cannot resolve the pair the solver can stop on the mirror.
    1.10.0's next compile then counted the site at the mirror's multiplicity and it lost half its atoms: on the issue's noise-free Pnma model the default plan returned 10 O per cell for 12, χ²_red 23.2 and O1 Biso −1.64.
    It now returns 12 O and Biso 0.600, the truth.
    The new warning SITE_MULTIPLICITY_KEPT names a site whose returned coordinates a fresh compile would count at fewer positions, with the atoms per cell both ways.
  • On a frame where no phase is seen and the residual is noise, a stage now holds the instrument terms that reach the pattern only through peaks (WP-2049, WP-2086, PR #1406): the zero shift, the displacement and the profile widths.
    1.10.0 refined them against noise and quoted an esd: on a planted series, frame 87 fitted alone gave a zero shift of −0.0129 ± 0.0015° against a truth of 0.006°.
    That frame now quotes no zero shift, and PHASE_UNCONSTRAINED names the instrument rows it held.
    The residual counts as noise when its Durbin-Watson d reaches Hill and Flack's Q, and with no line of any phase in range the hold applies whatever d reads.
    A scale at zero reads the same on a phase whose peaks missed, and there d stays under Q, so the instrument terms stay free and the phase can still reach its peaks.
    On a synthetic LaB6 pattern, this release reaches the cell at 1.10.0's rate: 93 of 100 noise draws from a start 2 % off, falling to 37 at 2.5 %.
    Tutorial 05's 2 % step works again.
    A blank frame with structure in its residual, a hump or rebinned noise, reads under Q and keeps its instrument terms free, as on 1.10.0.
    A fit that fails can run for minutes, because its widths walk until every evaluation covers the whole pattern.
    Two measured failed fits took 333-348 s and 390-395 s, about 100× longer than the 3.4-3.7 s of a build holding on every such frame, against 43 s and 293 s stored for 1.10.0.
  • A stated prior cell no longer lifts its own lattice's grade (WP-2082, issue #1308).
    A candidate whose found_by holds "prior" and one engine reads low, where 1.10.0 read medium and counted the prior as the second engine.
    With all three engines running, no grade moved on the issue's fixture.
  • The report names a one-sided low-angle residual as axial asymmetry when both axial apertures are 0 (WP-2054, #1106).
    1.10.0's report had no column to read it with, so the residual went unnamed.
    Such a fit can now get refine_axial_asymmetry: on #1106's script the regions below 40° read +0.020 to +0.025 at 7-9 esd, and 15 of 15 regions pass their gates, where 12 did.
    Re-run the plan with a stage freeing S/L when it fires: on SRM 660c that takes Rwp from 0.129 to 0.087, where one stage appended to the converged fit reaches 0.125.
    A fit that declares an aperture gets the same report as before.
  • split_localisation counts a family that straddles an end of the fitted range (WP-1339).
    It can return one more SplitFamily per range end and emission line, so split_share and n_split_families can move on such a pair.
  • A magnetic fit's moment moduli are refined on their analytic columns (WP-1327, PR #1206), so a converged fit can differ from 1.10.0's in its last digits.
    On Cr₂WO₆ 4 K (HB-2A, the acceptance protocol), against the same fit with the modulus columns forced to the forward difference: χ² agrees to 4.4e-11 relative, every value to 5.5e-6 esd and every esd to 7.2e-7 relative, with Rwp 0.10475 in both.
    On a synthetic two-site fit the same three agree to 2.1e-16, 1.0e-9 esd and 5.9e-7 (tests/test_moment_jacobian.py).
  • A fit whose last declared stage ran away no longer stalls in its closing stage (WP-2045).
    At 1e-6 that stage could stop on a plateau of its own frozen peak windows, where a widening axial ratio pushed intensity out of the model.
    On the IUCr round-robin series carried whole from mixture to mixture, cpd-1b's warm fit stopped there with axial_sl at 557.8, and its closing stage ran for tens of minutes.
    It now stays on its warm attempt at axial_sl 0.008 and Rwp 0.140, against 0.137 for the fit from the initial model, and the two patterns take 8 s on an arm64 Mac.
    closing_window_tol=None is no longer needed for that series.
    On the four acceptance protocols the change costs 1.04-1.07 times the evaluations and moves no answer by 0.001 esd.
  • A series with a lasting rise in Rwp costs less (WP-2003): with no default Rwp fence, the planted-events series, whose unmodelled phase appears at pattern 124, takes 3 111 evaluations and climbs no rung, where the fence spent 13 034 escalating 115 patterns, and across eight measured series the fence's escalations had moved no value by more than 7.2e-4 esd.
  • HIGH_CORRELATION and identifiability.top_correlations no longer report a correlation the data does not determine (WP-2050, PR #1306).
    When the fit holds a direction the data cannot move, a correlation against one of its parameters is set by rounding, and so is a correlation between two parameters that lean on it.
    Such a pair is now computed with that direction removed, or left out when one member belongs to it.
    On the IUCr round-robin brucite pattern the Gaussian size, Gaussian strain and W are that direction, and a 1e-14 change to one start value gave 35, 36, 39 or 42 warnings.
    It now gives 35 at all eight nudges tried, where the unnudged fit gave 36.
    The warning it loses is lor_size ~ lor_strain, which reads −0.896 with the direction removed, under the 0.98 limit.
    A pair whose two members both belong to the direction still reads ±1 and stays a FLAT_DIRECTION.
  • A joint fit's curves and statistics come from a compile at its answer, as a single fit's do (WP-1421).
    Under a default plan the closing stage already ends there, and the WP-1131 size pair reports the same five digits.
    With closing_window_tol=None, a pattern whose last stage widened its peaks moves: Rwp 0.09658 → 0.10207 on that pair, whose report stops listing 38 cut peak tails as unmatched peaks.
  • A joint fit now decides whether it can see a phase the way a single fit does (WP-2003, ruled by the maintainer 2026-11-03).
    At each stage answer it reads the phase's scale over its counting-noise esd, marginal over the columns that move the peaks, where 1.10.0 read the scale's conditional z alone.
    The esd comes off the joint normal matrix at unit histogram weights, and each histogram takes the smaller of its own conditional z and that reading.
    The next stage starts from that reading, as a single fit's does, and an instrument column held at the answer stays held when every phase is still unseen.
    PHASE_UNCONSTRAINED in a joint fit quotes the same reading and now says it is "against the counting noise".
    On two copies of a blank LaB₆ frame (#481's seed 107), 1.10.0 released the shared cell at a conditional 3.25σ whose marginal reading was 2.61σ.
    It then reported a = 4.1517 ± 0.0168 Å with no finding; the cell is now held from the cell stage on, and PHASE_UNCONSTRAINED reads 2.24σ, the single fit's value.
    Every stage spends the single fit's evaluations: without the held instrument columns the profile stage took 402 against 19.
    On the existing joint tests, values move by at most 4e-5 esd and PHASE_UNCONSTRAINED values by 1e-8 relative.
    On a flat X-ray and neutron pair under profile_only, the closing stage used to run out its 400 evaluations with every column free.
    A collapse then restored the widths, the background constants ran to −2467 and −13175 to cancel the restored peaks, and the stage reported converged at Rwp 2.5e4.
    The closing stage now starts held, as the single fit's does on the X-ray pattern alone, and then releases the phase again: its broadened peaks stand in for a flat background, so its scale reads as measured.
    The 400 evaluations move to the solve after the release, so it now reports STAGE_MAX_ITER, and where the background lands is where that solve stops: 1.0 on macOS arm64, 2931 on Linux x86-64.
  • The indexing pipeline's reversed questions are asked at the measured resolution by a candidate-independent line screen (rietx.indexing.screen, C3, #941), not of the candidate's own Le Bail fit and not in the search window.
    predicted_but_absent counts the lines the lattice predicts where the picker's background envelope shows nothing, at the peak list's widths, so a wrong cell can no longer buy a count of zero by refitting its background: on the IUCr round-robin magnetite pattern the primitive description of the correct F lattice read 0 of 163 absent in 1.10.0 and reads its absences now, and the correct cell's d-glide absences are counted but, being cancellable, never reach the caveat.
    The caveat fires on the windowed uncancellable absences (inside the first twenty observed lines), where every true cell measured reads 0–2 and every wrong one 7–79 (windowed counts, tabulated in #941's description).
    predicted_seen_fraction is the screen's seen fraction at one FWHM after the candidate's common shift: on the synthetic Si pattern of issue #916 the trigonal description that outranked the truth falls from 0.77 to 0.34 against the truth's 0.73.
    supercell_checks asks child against parent whenever the parent's indexed lines are a subset of the child's and the child's line set is the denser, so cubic I √2·a₀ over cubic F a₀ (volume ratio 5.66) and cubic P 2a₀ (32) are refuted, 0 of 12 and 0 of 85 extras seen; refuted now needs the extras seen no more often than chance, so SRM 676a's cell as a child of its c/2 subcell (8 of 18 at p₀ 0.21) reads undecided rather than refuted.
    validate_by_lebail(freeze_profile=True) fits every candidate with one shared profile for a caller who wants that.
    A child whose own lines are seen more often than its parent's is never refuted (#1230; SupercellEvidence.child_seen_more): on dense low-symmetry patterns p₀ reached 0.63–0.82, at or above a true cell's own seen fraction, the density order made the true cell the child of a wrong one, and three synthetic truths (triclinic, 276–297 lines; monoclinic, 467) fell from first to second and to twelfth under preset="full"; they are first again.
    The containment refuter's chance rate p₀ is now counted in the windows its seen count uses (#1263; PatternScreen.p0, SupercellCheck.p0). It was counted in windows floored at the assumed shift bound, 0.15° 2θ when no shift is measured, so INDEX_SUPERCELL_REFUTED's "expected by chance" was 1.1–1.5× the seen test's own chance count on the real-data indexing acceptance rows and 4–15× on narrow synthetic lists. The floor now bounds only the power check, p₀ⁿ < α (p0_power), which keeps a two-extra pair on a 0.010° list undecided (#951). Over the 244 containment pairs the indexing acceptance and screen tests ask, one verdict moves: a wrong cubic cell on the no-answer control is no longer refuted by one of its five refuting parents. No ranking test moves.
  • The indexer's validation fit is a Pawley fit (WP-2011), so every candidate's lebail.rwp and unmatched_observed move.
    One Le Bail pass re-extracted the intensities only before its solve, and on true cells it stalled: on the round-robin corundum and zircon patterns it left the Gaussian width w on its lower bound and 21 and 44 observed peaks unmatched, where the Pawley fit hits no bound and leaves 12 and 11.
    INDEX_IMPURITY_LINES fires less often on a true cell for that reason, and the GUI's candidate row shows a lower Rwp.
    A cell whose lattice contains the truth's now reads about the truth's Rwp: magnetite's primitive description 0.174 against the true F cell's 0.180, where one Le Bail pass read 0.65 against 0.21.
    The absent count is the line screen's and does not move.
    Without a peak list the absent count still reads the fit's background, which no longer sinks under a wrong cell: LaB6 with its cell 1 % long reads 14 of 28 absent, where it read 0.
  • The extinction screen's answers move under its new default, a cell-free profile_only Le Bail of the lattice group before the screen (#726).
    The prefit starts from a seeded background when the instrument's is the preset's all-zero one.
    Every pinned class is unchanged and its ΔBIC moves: certified SRM 676a corundum keeps R - c - at −1301 where it was −3434, and the FAP tutorial keeps P 63 - - at −83 where it was −16.
    On the X-ray histogram of tests/data/gsas2_pbso4.gpx, at an index cell 0.1-0.2 % long, the screen went from abstaining to P c - n.
    The screen also gates its reference fit now.
    When that fit leaves more than half of the net signal's weighted power unexplained, the screen ranks the classes but abstains, with EXTINCTION_SCREEN_UNRELIABLE.
    The net is taken against the peak picker's background envelope, so no fit can move it.
    On a synthetic Si pattern at synchrotron resolution with the cell 0.4 % off and held, the screen ranked a wrong class first with confidence, and it now abstains.
    ExtinctionScreen.prefit_rwp and .reference_rwp_net record both fits, and INDEXING_THRESHOLDS_VERSION is 1.12, the bump C3 (#941) takes for this release.
  • In a joint fit, a phase with no reflection in one pattern now has a fraction there when a ParametricEquation ties every pattern's scale of it to a variable that another pattern measures, as a shared scale already did (WP-1958 follow-up to #1103).
    On a 25-33° scan beside a 25-90° one under a constant equation on iron's scale, the narrow pattern's QPA quoted no iron in 1.10.0 and quotes 1.22 wt% now.
    Only a constant link counts: under a polynomial one (a + b·T) a narrow pattern's fraction depended on the start value of iron's scale alone (0.601 or 1.783 wt%), so it stays unmeasured there.
  • Each unmatched observed peak in the report now says where it sits against the calculated peaks, in UnmatchedPeak.flank (WP-1977, #1106, #1217), and report_thresholds_version is 1.14.
    flank.on_flank is true when the observed curve rises from the peak into a calculated peak with no valley as deep as the 5σ detection level, so the data do not resolve the two.
    The record also gives that calculated peak's position, prominence and width, the offset in its FWHM, and how many lines as strong carry a lobe on the same side.
    A shape misfit, an unmodelled Kα2 line, a lower symmetry and a foreign line all leave such a shoulder, and rietx.help.explain("UnmatchedPeak.flank") says what separates them.
    add_impurity_phase no longer counts a peak on a flank, and no peak leaves the list.
    On SRM 660c with the axial apertures at 0, all 11 listed peaks are on a flank and add_impurity_phase (0.50) is no longer suggested; on the IUCr round-robin's cpd-1b the same action goes.
    The line of a measured blank counts as a calculated peak.
    An unmodelled phase's lines that stand clear of the modelled ones keep the suggestion.

Files that change

Every document 1.10.0 wrote opens here, except a peak list or a rigid body that this release refuses (Code to check).
1.10.0 refuses a structure, a history log, a refinement result and a series result that this release writes, measured both ways on a synthetic fit's files.
Each carries one of the schema's new keys, even where its value is null, so a .rex project saved here does not open in 1.10.0 either.
An instrument and a pattern open in both.
Capabilities.project_format_version stays 1.5.

  • A refinement CIF writes a _geom_torsion loop wherever its table has torsions (WP-1815).
    Each row has four labels, the value with its su, four site-symmetry codes and publ_flag no, the dictionary's default, because the table lists every bonded chain and a paper tabulates a few.
    A LaB6 CIF writes 72 rows.
  • A phase with a Stephens block no longer carries its locked lor_strain into a TOPAS file, a refinement CIF's profile text or the peak-list CSV widths (WP-1467).

Requirements that rise

Nothing rises.
rietx still needs rietx-kernels 1.3 or later, and every runtime dependency floor is 1.10.0's.

New

  • Each stage records how it ended: StageResult.rwp is its Rwp at the values it ended on, and StageResult.termination the test that ended its solve (WP-1334).
    A caller keeping the best stage reads both from the record, with no event log.

  • A stage that ends on peak windows its peaks have outgrown now says so, STAGE_WINDOWS_STALE (WP-2047).
    StageResult.window_loss, NodeMetrics.window_loss and the stage_end event carry the share of the Bragg intensity the frozen windows dropped at the stage's answer.
    The warning fires when the last stage, or the one before a closing stage, drops more than its own window_area_tol.
    None of the four standards warns.

  • read_fullprof_pcr takes the control flags Nor, Dum, Opt and Nre, the analytic backgrounds and the combined nuclear and magnetic phase Jbt = ±10 (WP-2058).
    Of FullProf 8.20's 94 example .pcr files, 8 now read and 6 of those build a structure, where 1.10.0 read none.
    Nor = 1 builds a March-Dollase PreferredOrientation.
    The Nre limits are read and not applied as bounds, and the info diagnostic FULLPROF_LIMITS_NOT_APPLIED says so.

  • A CIF read with the defaults says when it collapsed anisotropic displacements, with the info diagnostic CIF_ANISO_COLLAPSED (WP-1468, #1056).
    In ellipsoid mode FigureReport.warnings counts the sites drawn as spheres, where 1.10.0 drew them and said nothing: on COD 2104364, a default read gives 20 of 20.

  • Structure.from_cif(aniso=True) reads a U^ij that misses its site symmetry only by the file's rounding (WP-2016).
    The reader moves the tensor to the nearest allowed one inside half a unit of each component's last printed digit, and the info diagnostic CIF_ADP_SYMMETRY_PROJECTED names the sites and components.
    ZnO's U12 = 0.0062 beside U11 = 0.0123 on its 3m site is the case: 1.10.0 refused it.
    A component printed as zero is held exact, and a tensor further off still refuses, now naming the site and the component.

  • render_structure(pad=...) sets the share of each side of the frame left empty, so pad=0 crops the picture to its ink and atoms, letters and to_px stay right (WP-1468).
    The default 0.05 moves no picture.
    StructureFigure.polyhedron_palette gives each polyhedron formula drawn and its centre's colour.
    Carbon is #666666 on a dark ground, and light grounds keep #383838.

  • A series records how each pattern started: SeriesEntry.seeded_from says where its warm start came from, and SeriesEntry.floored which moments reached it at their floor (WP-2003).

  • fit(stage_reports=True) costs a third less, with every report number unchanged, and fit_end carries stage_report_seconds (WP-1335).

  • select_arpls_lambda says when no smoothing strength in its grid left the masked residual looking white (WP-1931).
    The new info diagnostic BACKGROUND_SMOOTHING_AT_FLEXIBLE_END on BackgroundSelection.diagnostics names the strength returned, the grid's most flexible end, and carries the best Durbin-Watson d as value.
    Nothing else moves: no shipped test pattern falls back, and diagnose keeps only the strength.

  • result.plot() names the radiation on its 2θ axis, as data.plot() does, from the new RefinementResult.radiation record (WP-2042).
    A joint fit records each pattern's own, and a result saved earlier draws the bare axis.

  • pick_peaks names every bound its group fit ends on, and the value (#934 (c)).
    The new diagnostic PEAK_POSITION_AT_BOUND lists the components whose position ran into its bound, half the group's seed FWHM from the seed, each with the bound in degrees and its I/σ_I; it is info everywhere, and its value counts those still usable above the false-discovery bar.
    The new info diagnostic PEAK_NO_INTENSITY lists the no_intensity components, excluded from usable() and kept in peaks, and says which sat on the zero-intensity bound, which under 1σ of their own esd and which were marked by hand.
    PEAK_WIDTH_CAPPED now gives each component's FWHM and the width bound, and PEAK_EXPECTED_FALSE_LINES each weak_line component's I/σ_I and the bar.
    No flag, threshold or usable() moves. Over the 16 IUCr round-robin lab patterns 87 components sit on their position bound, and 24 of them are usable and above the bar.
    The peak editor passes its own windows (PeakDoc.groups) to peak_diagnostics, which now also takes a mapping keyed by group number, so a bound printed after an edit is the bound of the window the component was fitted in; and a no_intensity flag set by hand on a line the data can tell from zero is listed as marked by hand, not as I/σ_I … < 1.

  • EXTINCTION_SCREEN_UNRELIABLE says whether weak data or misfit failed the gate (#939's review).
    ExtinctionScreen.perfect_fit_rwp_net is what reference_rwp_net would read for a fit that left only the counting noise, √(N/(N+S)) with N the fitted channels and S the weighted net Bragg power.
    When it is past the bound too (S < N), the message says the data are weak or the envelope sits inside the lines (the pair cannot tell which), and no cell or model passes; otherwise it says the reference misfits them, by how much.
    No threshold moves.

  • read_pattern reads a pdCIF whose only intensity column is _pd_proc_intensity_net, as in a deposit TOPAS-Academic wrote (WP-1806, #561).
    1.10.0 refused such a file as having no pattern block. A file that also states a total column reads that column, as before.
    The info diagnostic PATTERN_INTENSITY_NET and PatternData.metadata["intensity_item"] say the net column was read, since the item is defined as background-subtracted.
    PATTERN_NET_HAS_BACKGROUND (warning) fires when the column never comes within 5σ of zero, so either a background was left in or the range holds no empty baseline; the intensities are not changed.
    On the acridine form IX deposit (COD 2242872) it fires at 14.1σ, and σ comes from the file's weights, which carry a counting time that varies fivefold across the scan.

  • A pdCIF _pd_proc_ls_weight of zero now excludes its point and only that point, as the pdCIF dictionary defines it ("a data point not used for refinement").
    1.10.0 dropped the whole weight column to the Poisson fallback on a single zero, with no diagnostic, so every other point lost its stated weight.
    Each run of zero-weight points becomes an excluded_regions entry, and the info diagnostic PATTERN_ZERO_WEIGHT_EXCLUDED counts them. A weight column holding a negative entry, a null (? or .) or no positive entry is still read as no weights, whole, and the info diagnostic PATTERN_WEIGHT_UNUSABLE now says so, counting negative and missing entries separately (1.10.0 fell back to the Poisson σ without a word).

  • read_pattern reads a Bruker DIFFRAC .raw version 2 (RAW2) file holding one range (WP-2059, issue #1164).
    1.10.0 refused every version 2 file. The data offset is read from the block header's stated length, and a file whose header and counts do not account for its size is refused, as is one declaring more than one range.
    The counts are the file's, zeros included, and σ is decided as for versions 3 and 4.
    The reader was checked against a real public version 2 file, the PbSO₄ round-robin X-ray pattern, whose 6001 counts it reads as TOPAS reads them.

  • PHASE_HELD_IN_PATTERNS (info) names a phase whose per-pattern structure or scale a joint fit held in the patterns that cannot see it, with how many (WP-2028).

  • The windowed absent count has a density beside it (#941's follow-ups): LeBailValidation.predicted_but_absent_density_in_window, the count over the window's screened lines (n_lines_screened_in_window), and predicted_but_absent_excess_in_window, the count above what the run's cleanest candidate's density implies for the cell's lines.
    Both are reported; the caveat still fires on the count.
    On the acceptance corpus's real families and both PbSO₄ histograms every true cell's excess is 0 to 0.06, magnetite's and PbSO₄ D1A's included (count 2 each), and every oversized wrong cell's is at least 1.

  • INDEX_PREDICTED_BUT_ABSENT reads the validation's counts rather than the caveat, so it also fires on a candidate validated directly, and an uncancellable absence that lies only above de Wolff's window is said at info level and caps nothing.

  • The GUI's candidate table shows the absent count as a share of the lines screened, with the windowed count beside it (6/23 lines · 0 in window), rather than of the Le Bail fit's reflections.

  • A rigid body can sit on a special position (WP-1807, #561).
    Its origin refines on its site's basis, and its rotation only about the axial directions the site symmetry fixes: three on a centre, one on a mirror or a 2-fold, none on a site with two or more symmetry axes.
    body_from_atoms(..., origin=...) takes an atom label or a point for the origin, so it can sit on the element the atoms share, and add_body on a special position checks the whole template maps onto itself and keeps one atom per image, warning about those it drops.
    The template check tolerates √3 × 10⁻³ Å, the most a template typed to three decimals in Å can miss by.
    A body with an atom on an element its origin is not on, a torsion moving an on-site atom, or a site body in rhombohedral axes is refused, RIGID_BODY_NOT_INVARIANT, naming the atom.
    1.10.0 refused every body whose origin sat on a special position, and advised a move that doubled the composition.
    crystallography.wyckoff.axial_basis gives the axial directions, and SiteOrbit.stabilizer_ops the stabiliser as operation indices.

  • A planarity restraint holds four or more atoms near their least-squares plane (WP-1809, schema 0.60).
    PlanarityRestraint gives one row per atom, its signed distance to the plane over σ, so the rows' sum of squares is the smallest eigenvalue of the atoms' scatter matrix (Schomaker et al. 1959), with the exact eigenvector derivative; TOPAS's Flatten restrains the same geometry.
    An atom may enter twice under different images, a ring across an inversion centre; a set on a line has no plane and is refused when the model compiles.
    A plane the data hold out of flat raises one RESTRAINT_TENSION, naming the atoms past three σ, worst first.

  • A fit or a single stage whose phase carries anti-bump rows searches it again at the end (WP-1809).
    The pair list is built once, by the caller, so a pair that moved inside its minimum from outside the list has no row; the warning RESTRAINT_PAIRS_STALE names each such pair with its distance and the minimum the list states for its species pair. A contact already inside its minimum where the run started, such as a bond the caller left out of the list, is not named.
    A run that moves no coordinate and no cell parameter makes no search.
    The warning reads as a warning for the qpa, structure and magnetic purposes, whose numbers depend on atom coordinates, and as information for the others.

  • The geometry table lists torsion angles with esds (WP-1815, schema 0.60).
    GeometryTable.torsions holds a GeometryTorsion per chain of three bonds, Klyne and Prelog's sign, in (−180°, 180°], at most 36 about each atom, with notes counting the rest and the chains whose bond angle is straight.
    The esd's partials are analytic through atan2, so a torsion at exactly 180° has a finite esd, and one held by symmetry or by a rigid body's template has none.
    Refinement.geometry(request=None) returns the table, or with a GeometryRequest the distances, angles and torsions it names by label or by label and symmetry code; its esds come from the last fit's covariance while it is live, and are None after an edit or a checkout.
    TorsionRestraint restrains a chain's torsion to a target through the circular difference, so 180° is a smooth target.
    torsions is None on a table written before the field existed and [] where the listing ran and found none.
    A result whose geometry table this build wrote, empty torsions included, and a model carrying a torsion restraint do not open in 1.10.0.
    The refinement CIF writes them as a _geom_torsion loop (Files that change).

  • SeriesResult.qpa_trajectory returns a QPATrajectory (WP-1958 follow-up to #1103).
    Its unmeasured lists, per point, the phases that pattern quoted no fraction for, and basis_changes says when the points are fractions of different sets of phases, as when a reflection crosses the range edge part-way through a series.

  • ExtinctionPrior also takes the content per cell: z or density, with formula (WP-2033, the rest of #935).
    A group whose orbits, derived from its operators, cannot hold some element's atoms per cell is kept and ExtinctionCandidate.count_notes says so, since a disordered alloy written with whole counts (CuAu) fails the count on its true Fm-3m.
    Declare ordered=True and it is removed; ExtinctionCandidate.exclusion_reasons names the fact each removed group fails.
    On a synthetic tetrahedrite-like Cu₁₂Sb₄S₁₃ pattern at Z = 2, declared ordered, the class I - - - loses I 21 3, whose orbits (8, 12, 24) cannot hold S 26.
    A kept member at which Z′ is not whole names the special positions a formula unit needs (ExtinctionCandidate.special_positions) and is not removed: a P 2₁ specimen at Z = 2 keeps P 1 21/m 1.
    A density gives Z within 1.5 %, the agreement ITC Vol. C §3.2.1 asks of a measured density; one that does not give the declared Z on the screened cell filters nothing, and best_or_none() abstains.
    A density that fits several whole Z (above Z ≈ 33) filters nothing and does not abstain (ExtinctionScreen.z_candidates).
    ExtinctionScreen gains z, z_from_density and z_candidates, ExtinctionPrior gains ordered, and INDEXING_THRESHOLDS_VERSION stays at 1.12 with an "Also 1.12" note.

  • MultiHistogramRefinement.parameters() lists a joint fit's parameters as ParameterRows, held rows included, before or after a fit, under the names the joint result uses (WP-2028).
    A shared parameter is one row, a per-pattern one a row per pattern, and after a fit each row carries its esd. The listing is read-only.
    A row tied to a per-pattern source carries that pattern's scope, as result.parameters already spelled it (hist.1.phases.0.cell.b when each pattern has its own cubic a), and a stage naming it is answered by STAGE_PATH_NOT_FREE where 1.10.0 called it STAGE_PATH_UNKNOWN.
    On a joint fit, STAGE_PATH_UNKNOWN's suggestion names ref.parameters(), a locked literal's STAGE_PATH_NOT_FREE suggestion names its held_because there, and STAGE_FREED_NOTHING's lists the passed-over pattern's own rows from it.

  • read_pattern takes an axis reader option, "two_theta" or "tof", for a plain two- or three-column file (issue #1064, WP-1952).
    It declares what the x column is, so a time-of-flight bank exported with no unit line reads as a flight time in µs; 1.10.0 refused such a bank as "2000° to 18000° … not 2θ", and refused axis= as an unknown option.
    The declaration is recorded as PatternData.metadata["declared_axis"]. A file whose own unit line contradicts it is refused, and the message quotes both.
    Other formats drop the option and report READER_OPTION_IGNORED, since each states its axis itself. capabilities().reader_options lists it.

Magnetic structures

  • The preset magnetic_structural refines the moments with the structure (WP-1418, #1082): moduli, then angles, then mccusker_structural's stages.
    The new warning PLAN_FREES_NO_MOMENT fires, on a single fit and in a series, when no stage of a plan frees a moment the structure carries.
    SEQUENTIAL_MOMENT_HOLD names it as the cause of a pattern's missing esd.

  • A moment refined to zero now carries a warning and a usable interval (WP-2060, issue #1075).
    The new warning MOMENT_UNSUPPORTED fires on a free modulus under 3 esd or at the 0.001 μ_B floor, where 1.10.0 said nothing: on a pattern simulated with no moment, the fit ended converged with an esd of 1.5e4-2.4e5 μ_B.
    profile_interval returned a zero-width interval there, and now returns a one-sided one from 0, such as [0, 0.0595] μ_B.
    It steps back when a first probe overshoots, and each pinned refit keeps fixed what the fit's answer stage held, so an interval measures the model the fit returned.
    MOMENT_ANGLE_STATIONARY now names the moduli of its sites.

  • RefinementResult.distortion_totals gives each irrep block of a phase on mode amplitudes its norm in Å, as AMPLIMODES quotes it, with its esd and T² (WP-1419).
    Refinement.distortion_block_tests(data) holds each block at 0 in a restricted refit from the full optimum and reports its ΔBIC.
    A refit that lands below the full fit proves the full fit stopped short, so the full fit is refitted from there and DistortionBlockTests.restarts records it.

  • A magnetic candidate at k ≠ 0 carries the BNS number of its own operators (WP-1418, #1197).
    Every k = (0, 0, ½) child cell the package built was left-handed, so a group whose type has an enantiomorph printed the mirror type's number: P 4₂ c m's S5(rank 1)#1 prints 76.10, where it printed 78.22, and P 3₁'s S1(a) prints 145.9, where it printed 144.6.
    distortion_candidates reads the same cell, so P 3₁'s S1(a) displacive child is now P 3₂.

  • The stationary-angle test builds its moment-angle columns and their curvature analytically on a single fit with extinction skipped (WP-2068).
    It takes 14 residual evaluations a test call at four free angles, where the central differences took 287.

  • A moment modulus's Jacobian column is analytic (WP-1327, PR #1206), from ∂|F_⊥|² = 2·Re[(P·F)ᴴ·∂F], where 1.10.0 took a forward difference of the peak chain.
    The columns agree with an exact oracle to 2.6e-14, where the forward difference sat at 5e-7.
    A moment angle, and a split magnetic draw with extinction evaluated, keep the forward difference.

  • A distorted child can be refined on its mode amplitudes (WP-1419).
    displacive_statement(parent, child, (P, p)) states the child as its parent plus one absolute amplitude, in Å, per symmetry-adapted mode, and Phase.distortion_modes carries them; the fit refines the amplitudes and the coordinates follow.
    A child stated at the parent is seeded off it along a direction whose stabiliser is exactly the child's group, since every amplitude outside the identity irrep has a zero column there.
    The GSAS, GSAS-II, FullProf and TOPAS project writers refuse a phase carrying distortion_modes with the one line that writes plain coordinates.

  • Structure.from_cif reads a magCIF that names its parent space group under _parent_space_group.name_H-M, as FullProf writes it (WP-1918, issue #1063 item 2).
    1.10.0 refused such a file as stating no space group; the magnetic dictionary defines only _parent_space_group.name_H-M_alt, and the undefined tag can mean nothing else.
    The new info diagnostic CIF_MAGNETIC_PARENT_TAG_UNDEFINED names the tag that was read. A file stating both tags with different groups is refused, quoting both.

  • Structure.from_cif reads a CIF whose structure block sits beside blocks that state nothing, no tags or only _audit_ tags, such as an empty data_global ahead of it (WP-1918, issue #1063 item 1).
    1.10.0 refused such a file as "not a CIF"; the new info diagnostic CIF_EMPTY_BLOCK_SKIPPED names each block skipped.
    A file with two blocks holding atom sites, or one beside a block that states anything else, is still refused, and the message now names the blocks and what each states.

  • A CIF using the pre-2016 draft magnetic tags (_magnetic_atom_site_*, _magnetic_cell_*, _magnetic_space_group_symop_operation_*) is refused by name (WP-1918, issue #1063 item 3).
    1.10.0 said "no atom sites found" where the sites were under the draft tags, and read the nuclear half of a file whose sites were under _atom_site_, dropping its moments with nothing said.
    Two follow-ups from the review: a line inside a semicolon text field that starts with a draft tag no longer refuses the file (nor does a modulation tag, a kxkykz line or an _atom_site_moment. line inside a text field refuse or reroute one: all four raw-text scans skip fields), and a k ≠ 0 stated only under the draft's _magnetic_propagation_vector_kxkykz now reaches the magnetic-supercell refusal, as the same k under _parent_propagation_vector.kxkykz always did (1.10.0 read such a file as k = 0); the refusal names the k tag the file actually used.

Changed

  • A .pcr phase with a bare R symbol over a rhombohedral cell reports FULLPROF_RHOMBOHEDRAL_AXES_ASSUMED from to_structure (WP-1911, ruled by the maintainer 2026-11-03).
    rietx reads it on rhombohedral axes, as the cell states, and FullProf reads the same file on hexagonal axes and refines a different cell, so the warning says so.
    FULLPROF_ORIGIN_CHOICE now covers the origin choice alone.
  • GSAS2_CIF_SETTING_IN_OPERATORS no longer fires for an R axis choice (WP-1911): GSAS-II 5.8.4 reads a bare R symbol on hexagonal axes, as gemmi does.
  • The magnetic family-group refusal counts each site's positions under both groups and names the split sites, as in 'Fe1' (4 of 8) (WP-1911).
  • The TOPAS reader resolves a prm defined by an equation with no : value tail (#1195), so a value that names one reads.
    TOPAS writes the tail only when the input asks for it, so this is the usual form in real files.
  • Coverage.unread_calls follows the TOPAS Technical Reference (WP-1530): it no longer names a standard macro or equation function, and it does name a call that is not a TOPAS function, such as Atan(.
    data_files gains every macro-opened dataset (RAW(a) gives ["a"]), and SCR(…) and SHELX_HKL4(…) now open a dataset, so n_datasets and phase.dataset move for a file that uses them.
  • An indexing run stops at its declared ceiling (WP-2063, #1231).
    A Pawley validation read its cancel token only between residual evaluations, and one long step ended 20.18 s late on NAC's cI metric described as tP, where it now ends 0.01 s late.
    The figure-of-merit panel costs about a fifth as much, with every answer bit-identical.
  • Dichotomy indexing bounds its memory (WP-1924): the grid frontier stops at MAX_GRID_BYTES, 1 GiB, and a system's harvest at MAX_HARVEST, 20 000 leaves.
    An overflow reports search_complete=False and INDEX_SEARCH_INCOMPLETE, where the search could grow until the operating system killed it.
    A stop request is read inside the final dedup and inside trial_error's scoring, and finished searches return the same candidates bit for bit.
  • A candidate with a non-finite cell esd carries no Bravais opinion, where it segfaulted spglib (#1229).
    qspace.refine_candidate raises when a metric parameter's variance is non-finite, the case of a direction no assigned line constrains.
  • A warning naming a mode amplitude or a rigid body's origin, rotation or twist keeps its level under structure, qpa and magnetic, as one naming a coordinate does (WP-2067).
  • On jax and torch, the Gaussian width columns are whole at U = V = 0 with W on its floor, where they returned exactly half of each (WP-1955).
    numpy's values do not change.
  • Every pattern reader drops a point whose 2θ, count or σ is NaN or infinite, and reports it as PATTERN_ROWS_DROPPED with the 2θ of the dropped points (WP-2079, #1187).
    1.10.0 passed such a point through, and one was enough to make every statistic of a fit NaN: on ILL D1B Co₃O₄ data with 60 NaN channels, every stage ended diverged with Rwp NaN and no parameter moved, with no exception and no warning.
    That file now reads as 1 220 of its 1 280 points and the fit converges. A file with no finite point is refused, naming the file.
    A NaN count no longer withholds σ from a whole .ras, .rasx or .udf scan, and a NaN esd in a GSAS file is reported where 1.10.0 dropped it silently.
  • The progress line times a stage by the rule summarize_events uses (WP-2031), so a stage that raised no longer lends its start to the next stage of its name.
    On a log where a stage started and never ended, 1.10.0's progress line printed 102s for the next stage, which took 2s.
  • The dichotomy indexing engine finds a C-centred monoclinic or orthorhombic lattice whose every C setting fell in the half of the domain its axis-swap prune skips, where 1.10.0 returned it only as P or I at twice its primitive volume and still reported the system complete (WP-2066, #1258).
    The lattice comes back once, as C in its conventional setting. The search covers the same boxes.
    On a dense list the engine now refines the leaf holding the truth onto it: #1258's 381-line monoclinic list returns its true cell first, indexing every line, where 1.10.0 returned two cells indexing 288 and 273 lines.
    A completed search can return more candidates than before: 42 where 1.10.0 returned 25 on #1258's orthorhombic control, its first three unchanged.
  • site_constraints(...).wyckoff names the letter wyckoff_positions gives for the site (WP-1919), not spglib's letter read in spglib's own frame.
    In the 17 settings where spglib standardises through a frame that permutes letters the two differed, so a saved site label can change on upgrade: on 8 of them 16 of 54 positions read another letter (F d -3 m:2: (1/8, 1/8, 1/8) is 8a, as ITA has it, where 1.10.0 read 8b).
    A coordinate stored outside [0, 1) gives the letter of the same point inside the cell.
    The site-symmetry symbol is still spglib's; spglib's letter stays only where the table cannot place the point.
  • _atom_type_scat_source credits the O2- X-ray form factor to "W&K, Rez et al. (1994)", not to Waasmaier & Kirfel (1995), whose README credits that row to Rez et al. (#1039).
    The scattering docstring and ATTRIBUTION.md say the same; no coefficient and no computed number moves.
  • A stage pattern that names one atom site and frees nothing there now fires STAGE_PATH_NOT_FREE (WP-1951, issue #896).
    On rutile, phases.0.atoms.0.dof.* matches no parameter, because Ti sits on 2a and its site symmetry fixes every coordinate; 1.10.0 froze the site without a word.
    A pattern with a wildcard site index, such as phases.*.atoms.*.dof.*, stays silent, and no shipped plan names a site.
  • Refinement.set_vary raises ValueError on a literal path the model lacks, where 1.10.0 returned [] and said nothing (WP-1951).
    A literal is a path with no *, ? or [. The message names the nearest real path: unknown parameter path: 'instrument.zero'; did you mean 'instrument.zero_shift'?.
    Every literal in the call is checked first, so a list holding one wrong name changes nothing and records no history node.
    This breaks a script that passed a list mixing real paths with a name the model lacks, which now stops there; drop the name, or spell it as a pattern if it should reach only the models that have it.
    A pattern that matches nothing still returns [] in silence.
  • Refinement.set_vary warns (UserWarning) when freeing a phase path or a one-site pattern frees nothing, with the reason a stage would report under STAGE_PATH_NOT_FREE.
    It returns the same list as before.
    hold, unhold, untie, tie, set_values and profile_interval still refuse an unknown path, and now name the nearest real one (unknown parameter path: 'instrument.zero'; did you mean 'instrument.zero_shift'?).
  • distortion_candidates (new in 1.10.0) returns a candidate whose child it refuses beside the others, where 1.10.0 raised ValueError for the whole call (WP-1419, the follow-ups of #996's review).
    Code that caught the ValueError now receives that candidate with child, transform and basis None and refusal set to a DistortionRefusal (the code, the message, each draw's operation count); driving and rest raise the refusal's message.
    A draw that keeps fewer operations than the isotropy group is a miss of the probe's tolerance and reads DISTORTION_CHILD_SMALLER; DISTORTION_CHILD_LARGER, which says the atoms cannot realise the group, now needs every draw spglib identified to keep more.
    The code is chosen from every draw, not the last: a draw keeping extra operations followed by draws spglib could not identify reads DISTORTION_CHILD_LARGER, not DISTORTION_CHILD_UNIDENTIFIED.
  • distortion_candidates states the children of a centred parent (I, F, C, A or R lattice), where 1.10.0 raised RuntimeError: a candidate operation does not map the parent's atoms onto themselves in the magnetic cell; this is a bug for every such call (WP-1419, #1247).
    The parent's atoms were listed in the magnetic cell once per centring image and again per lattice translation, which at k = 0 are the same centrings; each atom is now kept once modulo the magnetic cell. Rocksalt at k = 0 now returns its six Γ4− children and at k = (½, ½, ½) its eight; a primitive parent's candidates do not change.
  • reduce_cell builds the reduced cell from the input's metric under the change of basis it records, on every path (WP-2035).
    1.10.0 kept gemmi's reduced vector wherever its signs agreed with that image, and on a cell within ε of a right angle a value could still sit up to about 6e-7 of the metric's scale off it; such a cell now moves by that much.
  • INDEX_DATA_INSUFFICIENT names an undeclared instrument first only when the declared source is a laboratory tube, a Kα doublet or one line at an anode's Kα1, Kα2 or weighted mean (WP-2030).
    A correctly declared synchrotron instrument has zero axial apertures and a narrow profile too, and 1.10.0 named those as missing.
    A picked list now records what its instrument left at default (PeakList.instrument_undeclared), so index_pattern(peaks) with no instrument names it too.
    "A laboratory tube" is read to within 5e-4 Å of an anode's Kα1, Kα2 or weighted mean (2λ₁ + λ₂)/3, so 1.540593, 1.5405 and a vendor header's 1.5418 read as Cu as 1.5405929 does.
    The field is None when nothing was checked (a source that is not a lab tube), and {} only when it was checked and everything was declared.
  • IndexingResult.formula and IndexingResult.temperature record the formula and temperature index_pattern read, each candidate's formula_units the formula units its volume holds, and rietx index takes --formula and --temperature (WP-2030).
  • The GUI's peak editor updates the duplicate_line, ghost_kbeta and ghost_tungsten marks on the groups an edit leaves alone (WP-2030).
    Each is judged against a line that may sit in the edited group. In 1.10.0, moving or deleting that line left another group's copy marked unusable, and moving a line onto another group's weaker fit of it left both usable.
    A mark changes only where the picker's own judgement of it changed, so a mark a user cleared stays cleared through any edit that leaves that judgement alone.
  • PHASE_UNCONSTRAINED says a phase's scale was held when the held column is a variable driving it, where it called the variable a structural parameter (WP-1958 follow-up to #1103).
  • When a phase is unmeasured, MICROABSORPTION_SKIPPED names the phases that still have no particle_radius_um and asks for them, and says the radii were supplied only when every phase has one (WP-1958 follow-up to #1103).
  • Refinement.report(), reflection_table(), predict() with no grid and write_cif() read the answer saved with the result (WP-1421).
    A later fit that is cancelled keeps its completed stages, and these no longer mix its values into the previous result.
  • FROZEN_COMPILE_STALE no longer says the fit is unbiased, and says how to re-solve (WP-1421).
    A joint fit can now carry it, naming the pattern whose gap is largest.
  • A site within 5e-4 (fractional, per coordinate) of a special position is counted once, on the special position they collapse to, however its phase was built (#1007).
    In 1.10.0 only Structure.from_cif merged such a site (CIF_SITE_TWINS_MERGED, #765). A project file, an edited document or a structure built in code kept it general, so PbSO₄'s S2 moved 1e-4 off the Pnma mirror put 8 S in a cell of 4, and nothing said so.
    One gate at every boundary, readers included: a site is merged only where the occupancy at its position, summed over the atoms sharing it and each × (images before / after), is above 1, since the site as stored then puts more than one atom at one place. The project readers (to_structure), RefinementTree.load, the Refinement verbs that take a structure in (construction, edit, set_values, checkout), the CIF reader and phase_zmv all read it. A merge says SITE_TWINS_MERGED (warning; CIF_SITE_TWINS_MERGED on a CIF read); where the product is 1 or below the numbers read as one atom off its position or as a split pair (#1088), so the site is left as stored and SITE_TWINS_KEPT (warning) gives both readings. Files that now open with the site as stored: a CIF whose site, at occupancy ≤ ½ on a mirror (or the matching fraction elsewhere), sits within 5e-4 of the position and which 1.10.0's CIF reader merged (a project file was never merged before, so none of those changes here). A merged site's coordinates the position fixes lose vary, and its anisotropic tensor is projected onto the allowed ones. Phase validation stays strict.
    ZMV, every weight fraction and the forward model move on such a phase; a split site further than that from every special position does not. The reach is 5e-4 per coordinate, where 1.10.0's CIF merge used 0.02 Å between images, so a CIF stating y = 0.251 on a mirror site (1e-3 from ¼, past the reach) is no longer merged. The reach bounds a site's offset from its position, and the two images on a mirror sit twice that apart. Holds, user ties and free paths on coordinate DOFs follow a site's DOF renumbering on every route that moves it, or are dropped and named (SITE_TWINS_MERGED, or SITE_DOFS_RENUMBERED where nothing merged). A hold on a coordinate the position couples with another, x on (x, 2x, z), holds the coupled direction. An anisotropic ADP DOF (adp.k, a U^ij pattern) follows its pattern the same way, where before a hold on PbSO₄ O5's adp.3 held U12 on the general position and U13 once O5 sat on its mirror (WP-1991). A loaded history's recorded actions follow too, so a cherry_pick of a stage that freed dof.2 frees the same direction, and a series' constrain= hook names DOFs as the series' own structure numbers them, whatever a fit's warm start merged.
  • A joint fit's structure guards read every pattern (WP-2028).
    In 1.10.0 BISO_NEGATIVE, BISO_UNUSUALLY_LARGE and ADP_NOT_POSITIVE_DEFINITE read pattern 0 alone, so a bad value in another pattern's own copy of a per-pattern path fired nothing.
    A per-pattern path is now named hist.<h>. in each pattern that holds the value, and a shared path is named once, bare, as before.
    OCCUPANCY_ABOVE_ONE reads every pattern the same way.
  • A joint fit's CELL_RUNAWAY names a cell that a free vars. coefficient drives out of its window, with the coefficient, as a single fit's does (WP-2028).
  • RefinementResult.for_histogram(h) keeps the pattern's tick_hkl and phase_agreement, and its diagnostics add the top-level findings that name pattern h and the fit-wide ones (WP-2028).
    A joint result's tick_hkl mirrors pattern 0's, beside its ticks.
  • A joint fit's ticks come from the single fit's tick builder, so a magnetic phase draws its own "<phase> (magnetic)" row in each neutron pattern (WP-2028, issue #278).
    In 1.10.0 the joint path kept its own copy without that split, and a magnetic-only reflection, such as MnF₂'s screw-absent (1 0 0), drew on the phase's nuclear row.
    A single fit's ticks do not move.
    The joint fit also calls the single fit's merge of driven cell escapes, its correlation and flat-direction loop, and MultiParameterTable._canonical for a path's spelling, where it kept copies; nothing else in either fit's output moves.
  • The report's satellite arm (FitReport.satellites) now enumerates over the window the model generates its own reflections over (WP-2034).
    In 1.10.0 it kept its own copy, with no margin, a 179° cap and the low cutoff in the wrong emission line's frame.
    So on a Kα1/Kα2 doublet, a satellite or lattice point whose Kα2 image alone lies inside the fitted range was left out.
    A residual peak on that image was then indexed by no candidate.
    Now a candidate's n_satellites and matched can rise at the low edge of the range, and never fall.
    No reflection list of the model itself moves.
  • rietx index refuses a formula it cannot read, a temperature that is not a positive, finite number of kelvin, and --temperature given without --formula, each as a usage error with exit code 2 before the pattern is read (#1123's follow-ups).
    1.10.0 ended the first two in a ValueError traceback after reading the pattern, and ignored the third without a word.
  • A formula may write deuterium as D, which takes hydrogen's volume ("C6D6", "CuSO4·5D2O"); 1.10.0 refused D as not an element (#1123's follow-ups).
  • formula_unit_volume refuses temperature=inf, which 1.10.0 let through to an infinite volume (#1123's follow-ups).
  • DataSupport.n_structural_parameters counts every free parameter that moves an atom, where 1.10.0 counted only free paths named phases.*.atoms.* (WP-2067, issue #1250).
    A rigid body's origin, rotation and twists, a named variable vars.X tied to an atom entry, and a mode amplitude now count, so the observations-per-parameter ratios fall and DATA_SUPPORT_LOW can fire where 1.10.0 was silent.
    On the synthetic rigid-body state of tests/test_cross_backend.py the raw ratio is 38/11 = 3.45, where 1.10.0 read 38/3 = 12.7.
    A body's cell stays out of the count, as the cell always has.
    A fit with no variable, body or mode on an atom counts what it counted before.
  • A FullProf file whose XYDATA heading states INTER multipliers other than 1 now reads with them applied, as the FullProf manual defines them (2001, PDF p. 74, Ins = 10): x times fac_x, the intensities and σ times fac_y (issue #1064, WP-1952).
    1.10.0 refused such a file, naming the factor.
    The info diagnostic XYDATA_INTER_APPLIED names each factor applied. A file with no σ column gets the Poisson σ of the multiplied intensity, √(fac_y·y), which is what FullProf 8.20 computes (measured as a black box on synthetic files).
    Interpol = 1 is still refused, and so is a multiplier that is not a positive number.