Skip to content

Solve3D Policy

This document records the current policy for solve3D, the staged particle-based de novo map determination workflow: it couples ab initio 3D reconstruction from random orientations with initial 3D refinement of the resulting map in one stage schedule. solve2D is its 2D equivalent. The programs were called abinitio3D and abinitio2D before 2026-10-03 (release 4 keeps no aliases for the old names). The base refine3D contracts are in refine3D_policy.md; this document describes how solve3D configures and chains those stages.

Multi-state matcher and reconstruction lifetimes follow separate_alignment_and_reconstruction_for_multistate_peak_mem_reduction.md.

1. Scope

solve3D determines 3D maps de novo from particles by preparing starting orientations/states, marching through staged refine3D runs (global-search ab initio reconstruction stages, then local-search initial refinement stages), optionally performing symmetry-axis search, and reconstructing final original-sampling maps.

It owns stage scheduling. It does not own a separate particle matcher or volume assembly implementation.

2. Defaults

solve3D sets:

  • objfun=euclid
  • bfac=0

When unset, it supplies:

  • mkdir=yes
  • overlap=0.95
  • prob_athres=10
  • center=no
  • cenlp from the solve3D controller default
  • oritype=ptcl3D
  • pgrp=c1
  • pgrp_start=c1
  • filt_mode=nonuniform
  • automsk=no
  • gauref=yes
  • balance=class (also with input volumes, which bring random classes and no class averages, cavg being rejected there; none for a project without a 2D solution)

For a multi-state run (nstates > 1), it also supplies conservative inspection defaults when the user has not overridden them:

  • nstages=5
  • lpstop=6.0 A

The public filt_mode values are none, nonuniform, and nonuniform_lpset. Automatic low-pass modes uniform and fsc are rejected for solve3D.

3. Stage Controller

The stage controller in simple_solve3D_controller.f90 emits a concrete refine3D command line for each stage. The full particle workflow has eight stages. Independent multi-state startup defaults to five stages, so it stops after its prob stages 3-5, before the first prob_neigh stage (6); stage 5 is also its first NU-filtered stage.

Stage policy includes:

  • stage-specific nspace and maxits
  • cropped box and sampling from the low-pass plan
  • stage 1 starts with nspace=500; stages 2 through 4 use nspace=1000
  • every stage gets its low-pass and crop information independently from the size/input schedule
  • staged search by state count:
  • single-state particle runs use prob_neigh with prob_neigh_mode=shc in stages 1-2, middle prob, and late prob_neigh; under fractional updates every single-state particle run (add-ons excepted) refines one sticky subset from its first stage through stage 4 (STICKY_LAST_STAGE, 2026-11-16; stages 1-2 before): the first stage draws it at its first iteration, every unit's quota taken by the particles' 2D objective, best first, whatever their update counts (sticky_sampling=best, ptcl2D corr; at random when the project holds no 2D scores), and the next stages through 4 keep it (sticky_sampling=keep). A run that enters at stage 4 (supplied volumes, cavg_ini, cavg_ini_ext) holds it for its entry stage. The shc neighbourhood search forces no dense first pass on a solve3D particle: its dense pass keys on has_been_searched, which counts the random start orientation (delete_3Dalignment, then rnd_oris) as a search, so every particle of the subset climbs from its random start at the first iteration and is searched again at every shc iteration, which the sticky subset guarantees. Keying the pass on the search score instead (has_search_score, 2026-11-17 to 2026-11-18) gave every particle a posterior draw over all references at iteration 1 and slowed stage 1 on the gate targets (PfCRT under full sampling: 11.6 against 7.9 iterations a shell behind; one restart never recovered), so it was reverted. The rule: a sampling policy that adds particles to the subset during the shc stages (as the withdrawn nsample_ramp did) must bring its own first-pass rule for them, since they arrive with a random start orientation and no dense pass. A fresh draw every iteration would start each new particle from a random orientation, and the subset's map consolidates before new particles arrive, as with the greedy sample of 3fb0b00b, which held each class's best particles below stage 5 whatever the entry stage (with it the export gate showed helices from stage 3). From stage 5 the sample is redrawn every iteration from the whole class, lowest updatecnt first, with no score; before stage 5 the commander resets every updatecnt to 0 (release_sticky_subset, 2026-11-16), so the sticky subset competes with the never-searched particles instead of sitting out the free stages (importance_sampling_fractional_update_policy.md, "Sticky sampling schedules"). Trailing reconstruction starts with the free sampling, at stage 5 (TRAILREC_STAGE_SINGLE = STICKY_LAST_STAGE + 1, 2026-11-16; stage 3 from 2026-11-11, stage 5 before): while the subset is held only its rows have update counts, so the blend weight u = n/N would be 1. A run that enters at stage 5 or later samples freely and trails from its first stage. The external-reference pose initialization of a supplied-volume run draws its own sample (the stage's sticky_sampling is removed from its command line). Multi-state runs hold no sticky subset, draw with no score in every stage and trail from stage 8 (TRAILREC_STAGE_MULTI)
  • multi-state particle runs use direct shc in stages 1-2, prob in stages 3-5, and prob_neigh with prob_neigh_mode=state from stage 6 (PROB_NEIGH_REFINE_STAGE, the single-state switch), so the default five-stage multi-state run uses no prob_neigh; the class-average route switches at the same stage (section 6)
  • the tempering of the draws is not a user input: every stage searches at prob_beta (the parameter's default, the stage command does not carry the key) and the last stage anneals to prob_beta_end=1, which the controller sets (prob_beta_ini, the stages 1-2 override, was removed 2026-10-29); in a multi-state run the same factor tempers the state, drawn with the direction, and the tail starts when no populated state gains (section 6)
  • the multi-state direction cap: with nstates > 1 no stage exceeds 2,500 directions, so stages 7 and 8 (5,000 in single state) run at 2,500
  • the multi-state stage-2 exit: stage 2 of a multi-state particle run (shc) also ends once the search scans more than 95% of the search space on average, whatever the state overlap (section 6)
  • nspace_sub for prob_neigh
  • staged point-group policy between pgrp_start and pgrp
  • staged translation limits
  • staged ML regularization
  • staged fractional update with a fixed nsample target while nsample/active_particles <= 0.9
  • fractional-update selection over the sampling units of balance: class by default (one unit per selected class), cavg (groups of similar class averages, then their classes) or none (global lowest updatecnt tiers)
  • stochastic sampling start by state count
  • early Gaussian reference filtering
  • optional trailing reconstruction by stage and state count
  • staged NU filtering from NU_FILTER_STAGE
  • single-state gold-standard matching from stage 6 by default (gold_std_stage overrides the start)
  • spherical support (automsk=no, envfsc=no), except that a user-given automsk=density|nu|order turns on that reference mask and the envelope-corrected FSC in the last two stages, 7 and 8 (AUTOMSK_START_STAGE, tied to PCG_START_STAGE; spherical throughout until 2026-11-20), on either backend
  • a requested PCG backend (rec_backend=pcg) in the last two stages, 7 and 8 (PCG_START_STAGE; 6 until 2026-11-18), gridding before; changing gold_std_stage does not retime this backend switch
  • no in-plane posterior insertion: removed from 3D on 2026-11-17 by the maintainer (refine3D policy, "In-plane posterior insertion: removed from 3D"); every stage inserts each pose at its own angle with the table's pose weights, on gridding and on the PCG backend alike

The downscaled particle cache is a 2D-only feature: solve3D rejects cache=yes, and each stage uses its own crop from the low-pass/downscaling ladder.

The effective crop and its physically equivalent pixel size are shared by starting-volume generation, matcher reconstruction, stage-boundary reconstruction, symmetry-map commands, FSC diagnostics, low-pass snapshots, and project volume registration. This preserves box * smpd == box_crop * smpd_crop across every particle-to-volume handoff.

Full-Sampling Switch

solve3D now applies a global sampling override when:

nsample / active_particles > 0.9

In that regime, the staged controller forces full active-particle updates for each iteration by suppressing fractional controls (update_frac, nsample) in emitted child refine3D commands. This also disables trailing reconstruction for staged solve3D commands, and startup class-biased sampling setup is bypassed in favor of all-active sampling.

Sampling units

Every stage runs with the run's balance (default class). Below the full-sampling switch, solve3D writes the class sampling file clssmp.bin once at startup: one unit per selected 2D class, and under cavg each unit's group among nclust (default 20) groups of similar class averages, formed by average linkage on their aligned correlation between 30 and 6 A, a group with fewer than 2.5% of the particles merged into its nearest group, so a preferred view spread over many classes no longer dominates the sample and an odd class does not become a group of its own. Every fractional update shares its target equally over the groups, then equally over the classes of a group (the remainder of a split to the class whose particles have the lowest mean updatecnt), each capped at its population, then lowest updatecnt first inside a class, drawn from the whole class: no per-particle 2D score enters the draw, except the single-state sticky subset's, which takes each unit's best particles by the 2D objective (section 3, staged search). Under class every class is its own group, so a rare view is sampled more often than its population alone would give (square-root shares, 2026-11-05, gave way to equal shares on 2026-11-06; restored on 2026-11-16 and reverted on 2026-11-18 after the gate runs, section 3); under none the stages sample the global lowest updatecnt tiers, and the file holds class units only for the initial sample of the starting volumes. The groups are written as view_partitionNN_cavgs stacks with the table view_partition.txt. The units are formed once, before the first stage, and serve the whole run: the stages only read the file, and every stage command line carries balance and, for cavg, nclust. Before the first stage solve3D prints the unit table with the expected visits per particle over the planned stage iterations, the view imbalance corrected, and a warning on short coverage only; nothing is adjusted automatically. The sampler never uses 3D maps, poses or projection directions. The details are in doc/policies/importance_sampling_fractional_update_policy.md.

The emitted child command line owns startit and which_iter for the current stage. refine3D then treats maxits as the run length for that stage.

Scoring-noise annealing

Particle solve3D accepts sigma2_anneal=yes|no, default yes. With yes, matching starts from a white spectrum, reaches the saved smoothed bootstrap over stages 1–4 (the sticky sampling window), then reaches the current model-residual spectra over stages 5–6. Stages 7–8 use model-residual spectra throughout. Each phase is divided evenly across its stages, with linear interpolation over each stage's iteration budget. Stages keep their ordinary convergence exits: a stage that converges before its weight reaches the end of its ramp stops there, and the next stage starts at its own planned weight. Annealing adds no mandatory iterations; the changed search trajectory can still change when a stage converges. Each iteration logs the weight and the shells' mean log ratio of measured to bootstrap noise (SIGMA2 ANNEAL), read before the iteration's residual update. The residual-only sigma pass after a stage prints no annealing readout: it updates measured noise without scoring or refining poses.

Reason for restoring the longer ramp (2026-11-24). The Nov24 cohort at 82f4aca46 assigned the white-to-bootstrap ramp to stages 1–2 and used the bootstrap throughout stages 3–4. Compared with 0a8b0903, PorF's median effective-pose count at the fifth iteration of stage 3 fell from 12.16 to 4.75, its median end-stage overlap rose from 0.362 to 0.497, and its median end-stage FSC=0.5 worsened from 11.56 to 12.48 A. Reported outright failures rose from 1/10 at 0a8b0903 to 3/10 at 82f4aca46; the latter finished at postprocessing limits of 6.24, 6.78 and 6.12 A. More concentrated assignments alongside poorer reconstruction are consistent with premature commitment, but do not establish its cause. That commit also changed the low-pass ladder and exit thresholds, and the earlier annealing stages changed the state entering stage 3.

The restored annealing schedule was used by the Nov19 batches with no reported failures among ten restarts each of PfCRT, PorF and streptavidin. It does not restore the entire Nov19 code configuration. The next comparison changes only annealing, retaining the current linear low-pass ladder and exits; success is judged by outright failure counts in real-data runs. The completed Nov24 export-gate logs show stage-3 statistics close to the older unannealed runs, but do not establish that the datasets require incompatible schedules. Effective-pose counts describe the search and are not a universal acceptance target. The supplied Nov24 export-gate R10 log ends during stage 5, so its 4.38 A estimate is not a documented final result.

Full-sampling and multi-state particle runs follow the same stage schedule. Short or late-entry runs reserve the last two executed stages for model-based noise and compress the ramps into the preceding stages. With one preceding stage, that stage spans white through bootstrap to model noise; with at most two executed stages, all matching uses model noise. Entry at stage 4 in the ordinary eight-stage schedule reaches the bootstrap spectrum during stage 4.

This reuses the 2D scoring-only blend: weights -1, 0 and 1 denote the white ceiling over the matching band, the log-Savitzky–Golay smoothed bootstrap, and the current measured residual spectrum. Reconstruction weights and residual updates always use measured spectra. Bootstrap publication saves the anchor before an external-reference CC pose-initialization pass can replace the canonical seed. Class-average initialization and add-on registration retain their existing scoring. The run manifest records the switch as startup provenance; add-ons use the frozen model's residual noise and do not replay it. Annealing requires polar Euclidean matching, without Cartesian continuous refinement or pose_cont follow-up.

Without a 2D solution

solve3D and solve3D_addon run on a project without a usable 2D solution (ptcl2D never searched, or no classes in cls2D, or no class FRCs registered, as in a project built from particles alone with per-particle labels) under balance=none only; class and cavg are refused with a message naming balance=none, as are cavg_ini and cavg_ini_ext. balance then defaults to none. The selection is unchanged: ptcl3D%state is reset from the ptcl2D state flags (set at import or by a selection). The 2D shifts are transferred when ptcl2D was searched and otherwise the shifts ptcl3D holds stay. No class sampling file is written; the initial greedy draw and every stage sample the global lowest updatecnt tiers (sample4update_cnt), as every balance=none stage does. The ladder is planned from input limits: lpstart/lpstop are taken from the command line and otherwise lpstart from mskdiam (mskdiam2lplimits) and lpstop is the ladder bound LPSTOP_BOUNDS(1), 4.5 A, as on the input-volume route; an add-on takes its ladder from the frozen run's manifest regardless. Input volumes on such a project no longer need the random classes the class default fabricates.

Stage-start sigma bootstrap (ini3D routes)

The cavg_ini and cavg_ini_ext routes enter the particle stages at a stage whose starting reconstruction is ML-regularized (objfun=euclid) before any refine3D iteration has estimated particle sigmas. calc_rec applies the single sigma2 bootstrap rule (simple_sigma2_bootstrap, doc/policies/3D/refine3D_policy.md section 5): for a euclid starting reconstruction it calls ensure_sigma2_for_iteration, which is a no-op when the project owns a compatible committed state and otherwise seeds canonical particle spectra from image power with calc_pspec. The starting reconstruction then runs as planned, and the stage's first euclid iteration replaces the seed with residual spectra in the next canonical transaction. When the final reconstruction at original sampling must rebuild its sigmas (section 9) it is one program call, bootstrap_rec3D, which owns the complete sequence: the same image-power seed, a euclid ML bootstrap map on it, one residual sigma pass (refine=sigma) against that map, canonical commit of the residual generation, and the shipped euclid ML reconstruction on it. Because the program takes any project with 3D orientations, it is also the standalone test for this stage (simple_exec prg=bootstrap_rec3D projfile=... pgrp=... mskdiam=... nparts=... nthr=... rec_backend=...), so failures in the final reconstruction can be reproduced in minutes rather than after a full run. Its bootstrap map is a gridding assembly that carries the last stage's filt_mode and automsk (the residual sigmas depend on the regularization of the reference they are scored against, so that reference is regularized like the last stage's matching references); the shipped map is classical (filt_mode=none, except that automsk=nu|order keeps the caller's NU filt_mode) and runs on the workflow's backend with the PCG cold-solve budget applied inside bootstrap_rec3D (2026-09-07). Whether the final reconstruction refreshes its sigmas at native sampling is decided by the registration-box rule: a registration box different from the native box forces refresh (2026-09-07). Solve3D drops any state registration inherited with its input project before the first stage, so every run seeds and owns its sigmas in its own directory.

4. Low-Pass and Cropping

lpinfo(istage)%lp stores the planned ladder: the limits of stages 1-2, the rungs the FSC rule below may only advance, the crops and the next-stage limits the exits compare against. The ladder follows the molecule's size (set_lplims_from_size, solve3D_size_lplims, which solve3D_cavgs runs with its own 20 and 8 A ends): linear in A from mskdiam/8 within 10-30 A (LPSTART_SIZE_BOUNDS) to mskdiam/26.7 within 4.5-6 A (LPSTOP_BOUNDS). Eight stages give the export gate (155 A mask) 19.4, 17.4, 15.5, 13.6, 11.6, 9.7, 7.8, 5.8 A; PfCRT (160 A) 20, 18, 16, 14, 12, 10, 8, 6 A; PorF (170 A) 21.3, 19.1, 16.9, 14.7, 12.5, 10.4, 8.2, 6 A; streptavidin (80 A) 10 to 4.5 A. A shorter run (nstages) spans the same two ends over its stages. An explicit lpstart replaces the first limit, never finer than the last; an explicit lpstop coarser than the last replaces it, and any explicit lpstop replaces the 4.5 A cap of the FSC rule below. Stages 1-2 match and filter their references (gaufreq) at their rungs, whatever the FSC.

Why (ruling of 2026-11-24): this ladder and the FSC rule below follow the completed Nov16 export-gate runs (eight supplied logs; the ninth ends in a worker error) and the Nov19 PfCRT, PorF and streptavidin runs (10/10 each), except that the NU stage now takes the same rule (it took the one-rung advance; the NU filter's limit replaces either in the stage's first iteration) and a finer explicit lpstop now replaces the cap. From 2026-11-22 to 2026-11-24 the particle route ran a ladder from mskdiam/10 to 4.5 A halving the distance per stage, with a separate mskdiam/8 stage-1 start, a stage-2 midpoint and a FSC=0.5 rule both ways from stage 2 (ed0aaa342, 3a268d1b5, 0a8b0903e). With the separate start and midpoint, PfCRT and PorF used the same quantized matching bands as Nov19 in stages 1-3. After stage 3 the halving rungs bounded the FSC rule, and their next-stage limits were too fine for the resolution exits to fire in stages 3-5 of those supplied batches. PfCRT and PorF each had one restart in ten fail (finals at 8.62 and 4.95 A) against none on Nov19; these counts do not establish benefit or harm. With stage 2 at the stage-3 rung (3a268d1b5), the export gate's stage 3 ended on the plateau exit after 4-8 iterations at FSC=0.5 14.8 A, against 12.5 A in Nov16.

8 A, the no-2D start, was judged too ambitious for a default. A first version of the size ladder held the start at 20 A at least, as the FRC planner did, and streptavidin failed (failed_streptav, 2026-11-10): from 20 A stage 3 was omitted and the D2 axis was searched with the orientations still moving 53 deg per iteration, against 14 deg in the runs that started at 8 A. force_lp_range=yes uses the requested range directly, linear in A (lpstages_fast, as solve3D_nano runs it). The input-volume and no-2D routes keep their own limits (mskdiam2lplimits, below). The crops are those of lpstages_setlims: the end stages at a third of their limit (at least 2 A per pixel, at least 88 px), a linear box ramp between. Do not crop the global stages to their own limits: tried in 85bbc2a2c (2026-11-10), PfCRT's stages 2-4 at 88 px (3.5 A per pixel, the 160 A particle 45 px across) instead of 100-120 px gave stage 2 a cFAR of 0.18-0.25 against 0.27-0.33 at 100 px at the same 18 A limit and overlap, and the run fell apart in the early stages; the ramp's sampling is what the global search needs, though Nyquist would represent the band. The adaptive stages need the ramp's headroom as well: on Nov09 stage 5 (130 px, Nyquist 4.78 A) took the NU-promoted band to that Nyquist and FSC=0.5 from 11.9 to 6.9 A. The ladder was planned from the class FRCs until then; gold-standard solve2D (from stage 2) made those FRCs honest and lower, which coarsened PfCRT's mid ladder (stage 4 from 12.4 to 18.3 A) and cost the global search the rung its orientations settled at (section 3, "No stage is skipped", has the run numbers).

The same ladder plans a stage-dependent residual translation-search half-width. On the main particle solve3D interface, an explicitly positive trs replaces trslim in every planned stage before the existing scale-information rows are printed; it has no separate planner banner. Omission and trs=0 retain the automatic limits. The stage controller still emits trs=0 for stages 1 and 2, which do not search shifts. The class-average and chunked interfaces do not expose the override. shift_sigma (the polar shift map, refine3D_policy.md) is on by default (the parameter's 10 A; shift_sigma=0 is the window search in every stage) for solve3D and for solve3D_cavgs, solve3D_addon and solve3D_chunks alike, and goes to every stage with a shift search (3-8, dense and neighbourhood tables alike), where the tables centre each particle as it needs: the disk of 3 sigma for one not yet centred in the workflow or whose shift posterior is wider than a third of the stage's window, the window otherwise (the dynamic centring, refine3D_policy.md). No stage's half-width is raised and no stage ends on the centring. A run manifest records the planned per-stage half-width so an add-on replays the frozen solution's search policy without acquiring a separate public control.

Where lpstages_fast plans the ladder, stage 1 of solve3D never runs with a low-pass limit finer than 20 A; the size-planned ladder starts from the size rule above instead (10 A for streptavidin). force_lp_range=yes, an explicit lpstart and the routes planned from input limits (input volumes, no 2D solution) take lpstart as given.

Aggressive frequency marching retired (2026-11-10). freq_march_aggressive=yes (2026-10-21, experimental) replaced the rungs from stage 3 on with a ladder linear in spatial frequency from 12 A (lpstages_aggressive) and finer nspace; it was removed with the size-planned ladder, which gives small molecules their fine start directly. Its first version, marching from stage 1 (PfCRT latest10), showed that the search from random orientations does not consolidate at 12 A on a 160 A target: the coarse start of a large particle is what makes the global stages converge.

The single-state external-volume route (vol1, nstates=1) starts at VOL_SUPPLIED_STAGE, the stage after the no-axis-search block (NOSYMSRCH_STAGE + 1, stage 4 in the standard schedule). That first executable stage is anchored at exactly lpstart; the unused preceding stages carry the same low-pass and crop metadata but are omitted from schedule diagnostics. The remaining stages march linearly from lpstart to lpstop. Those delayed rungs are the planned limits used by FSC=0.5 promotion, stage shift and mid-stage exit; the entry stage remains ineligible for shift or exit. Multi-state external-volume schedules and other callers of lpstages_setlims retain the ordinary full-ladder interpolation.

The controller passes an lpstop ceiling to each staged refine3D child alongside the effective planned matching limit. In the non-NU stages the ceiling is the stage's matching limit, so matching never exceeds the printed stage limit.

Stage-boundary FSC=0.5 advance (2026-09-06; one ladder rung since 2026-10-18, particle route only): past stage 2, when the project's FSC=0.5 resolution of the best resolved populated state (the per-particle res05 field written by the reconstruction) is finer than the planned lpinfo(istage)%lp, the stage runs at the next rung lpinfo(istage+1)%lp instead, bounded by the ladder cap (LPSTOP_BOUNDS(1), 4.5 A, or an explicit lpstop; the class-average route keeps its final limit). res05 gates the advance; the ladder sets its size.

Stage limit from FSC=0.5 (ruling of 2026-11-13). In a single-state particle run, from the first ML-regularized stage (ML_REG_START_STAGE, 3) until gold standard, the stage limit is the project's FSC=0.5 resolution at stage entry (fsc05_sets_stage_lp, set_stage_lp_from_fsc05) when it is finer than the planned rung (amended 2026-11-15, below), bounded by the ladder cap and an explicit lpstop; an explicit lp wins. The ML-regularized references already trust the FSC, so the band does too. It is fixed for the stage because one iteration's FSC fluctuates; the stage exits end the stage when it stops gaining. Without a res05 field the planned rung stands. In the NU stage the limit is only the start the NU filter's own limit replaces in the stage's first iteration. Multi-state runs keep the one-rung advance above: a multi-state run's best state resolves early while its states split (section 6). The stage banner logs (planned X A, set by FSC=0.5). Why: on the size ladder (PfCRT, fa9b82b5) stage 4 was planned at 14 A and reached 12 A only through the one-rung advance; restart 8 left stage 3 at 14.79 A, one shell short, ran stage 4 at 14 A although its FSC=0.5 there was 13.5 A, stalled at overlap 0.36 and 31 deg and finished at 9.41/7.96 A, while the nine restarts advanced to 12 A finished at 7.39-7.57/4.14-4.20 A.

Never coarser than planned (amendment of 2026-11-15). A FSC=0.5 coarser than the planned rung leaves the rung in place; the limit never retreats. Why: on PorF (single state) stage 2 ends at overlap 0.11-0.12 with FSC=0.5 at 22-24 A, coarser than its own 19.1 A band. Under the 11-13 rule (4282d58a, 4 restarts) stage 3 ran at 22.3-24 A instead of the planned 16.9 A, ended at overlap 0.05-0.07 (fa9b82b5, 10 restarts at 16.9 A: 0.13-0.16), stage 4 at 0.20-0.26 (0.36-0.43), and two restarts finished at 5.20 and 4.95 A at FSC=0.143 against 4.11-4.22 A for all ten fa9b82b5 restarts.

No stage is skipped (ruling of 2026-11-12). Every stage runs at least STAGE_MINITS (3) iterations (minits on every stage command line, never above the stage's budget; the axis-search stage and the particle entry after cavg_ini emit minits=maxits); after that the stage's exits decide when it ends: from stage 3 on the mid-stage resolution exit against the next stage's limit and the plateau exit, in every stage its convergence rule, and its MAXITS budget. A stage whose planned limit the halves already pass at FSC=0.5 still runs, at the limit FSC=0.5 or the one-rung advance above gives it. Multi-state runs have neither exit (section 6).

From 2026-10-18 to 2026-11-12 a stage whose planned limit res05 passed was omitted (solve3D_stage_behind_fsc05), on the premise that its crop could not represent the resolution the halves agree on. The crops are a linear box ramp, not the stage's limit, so the premise did not hold, and an omitted stage took its global search with it. PfCRT, 2026-11-10: honest gold-standard solve2D FRCs coarsened the FRC-planned ladder, stage 5 was omitted at res05 13.5 A and stage 6 entered gold standard from that map, ending at FSC=0.5/0.143 9.7/7.6 A against 7.4/4.0 A when stage 5 ran. PfCRT, 2026-11-12 (f2e907c2, ten restarts, size ladder): stage 3 (16 A) left on the resolution exit after 3-5 iterations, stage 4 (14 A) was omitted in all ten, stage 5 started with the orientations moving 50-58 deg per iteration (Nov09: 15 deg after its 12.4 A stage 4) and the runs ended at 7.4-8.2/4.2-6.9 A against Nov09's 7.2-7.4/4.0-4.1 A. On Nov09 the stage-4 consolidation at 12.4 A (overlap 0.13 to 0.50, 43 to 18 deg) took about six iterations. Exclusions from the omission (stages 1-3, the first NU stage before gold standard) and a 3-iteration shortened stage were tried in its place the same days and retired with it.

Stage iteration budget (MAXITS): measured slack, not yet reallocated. The budget stands at [20,20,17,15,12,12,12,25]. A reallocation of stage 3's budget to stage 6 was made on 2026-10-18 and reverted the same day, unrun, because moving NU_FILTER_STAGE to 5 removes the premise it rested on: stage 6 was starved as the first NU stage, and it no longer is. Revisit with per-stage trajectories measured after the NU-at-5 run. The evidence stands on its own and is recorded here.

From the ten-restart PfCRT reference latest6, which exhausts the budget of every stage 1-7 in every restart, so no stage before the last converges and all are cut off rather than finished:

  • Stage 3's orientation overlap peaks at iteration 4 (0.50-0.52) and then declines monotonically for the remaining 13 (to 0.43-0.45) with resolution flat at 11.089 A and cFAR trendless. Churn, not refinement: the band is too coarse to discriminate, so assignments wander.
  • Stage 6, where NU filtering starts, carries the run from 9.70 to 4.50 A in 12 iterations and was still gaining resolution at its final iteration in 4 of the 10 restarts (gains of 0.32-0.58 A at cutoff).

A stage-3-to-6 move would have been roughly time-neutral: -9 iterations at 9.01 s and +8 at 13.26 s, measured per-iteration partition times. Note that flat FSC=0.143 alone does not mean a stage is wasteful, because the resolution estimate is quantised to Fourier shells: stages 4, 5 and the 19-iteration tail of stage 8 all hold resolution flat while cFAR climbs (0.48-0.57, 0.56-0.68 and 0.59-0.68), so their budgets stand. MAXITS_CAVGS_EARLY still overrides stages 1-3 on the class-average route, so the stage-3 change applies to the particle route only.

Mid-stage resolution exit (2026-10-18). The stage-shift test is also evaluated during the stage, as a convergence criterion: the internal lpexit key carries lpinfo(istage+1)%lp, the next rung's planned limit, and check_conv3D ends the stage once the best populated state's res05 resolves past it and has stopped gaining: neither res05 nor the available FSC=0.143 crossing may improve on the previous iteration's, read back from STATS_FILE before the iteration overwrites it (the best of its RESOLUTION_FSC05_STATEnn, the same quantity), and the comparison is within the stage, so the exit never fires at a stage's first iteration nor against stats whose ITERATION precedes the stage. The strict boundary comparison allows eight relative single-precision epsilons for sampling conversion and averaging: the same Fourier shell is not past itself. For single-state posterior draws, significant orientation-overlap gains also hold the exit for the same one-check window (two with weighted insertion). This uses the accumulated overlap progress described below, shared with the annealing trigger; the maximum iteration budget still applies. Logged as >>> STAGE RESOLUTION EXIT. Until 2026-10-19 the previous value was never read back, so the guard could not fire: PfCRT stage 5 ran all 12 MAXITS iterations (about 108 s each) where the latest9 restarts had left after 3-8.

The gain guard was added after PfCRT latest9 (9/10 converged, best 3.981 A, run at 8c8d8b42): the threshold alone ended the NU stage mid-climb in all ten restarts, with last-iteration gains of 0.2-0.8 A, and where it cut predicted the outcome. The six restarts that left stage 5 at 7.573 A finished at 4.03-4.14, the two that left at 7.762 A at 3.981 and 4.032, and the two that left coarsest at 8.171 A gave the two worst maps, 4.140 and the run's only failure at 5.353. A stage still gaining resolution is productive whatever the next rung's limit says. Emitted for the stages past stage 2 other than the entry stage, the last stage and, when an axis is searched, SYMSRCH_STAGE, and it only ever adds convergence, so minits and the Cartesian rule still hold. Single-state runs only since 2026-10-21: the controller emits no lpexit for a multi-state run (section 6).

Stage plateau exit (2026-11-10). In the same stages (lpexit set), check_conv3D also ends the stage once neither the best state's FSC=0.5 nor its FSC=0.143 has improved on the stage's best for STAGE_PLATEAU_PATIENCE (3) iterations and the orientation overlap has not accumulated a new gain of 0.02 above its last accepted high (STAGE_PLATEAU_MI_GAIN), wherever the next rung lies. Logged as >>> STAGE PLATEAU EXIT. The overlap term is needed because the FSC lags the orientations settling: streptavidin's stage 3 (2026-10-24 posterior_beta0_3) held FSC=0.5/0.143 at 7.22/6.53 A for its first five iterations while the overlap rose 0.04 to 0.37 and the angular change fell 71 to 39 deg, then gained; the FSC terms alone would have ended it at the fourth. Small increases accumulate until they clear that threshold; a fall and rebound below the accepted high do not count. The bests and overlap progress are the convergence object's, restarted with each startit. A stage still gaining is not cut, which keeps the gain guard's lesson above. PfCRT stage 3 ran its 17 MAXITS iterations flat in both the FRC ladder (Nov09: FSC=0.5 13.5 A from its first iteration to its last, one FSC=0.143 shell gained at the eleventh) and the size ladder (FSC=0.5 14.11 A, one shell short of the next rung's 14 A, so the resolution exit never fired); the original per-iteration overlap guard could end both at their fourth iteration, about 13 iterations (5-6 min) earlier, despite overlap still rising (0.012 to 0.062 on Nov09). The cumulative guard replaces that test; the resolution exit now also respects overlap progress and FSC=0.143 gains. The Nov12 investigation and validation are recorded in doc/implementation_notes/planned/pfcrt_nov12_regression.md.

Stages end on the pose overlap (2026-11-11). Intermediate posterior stages from stage 3 emit overlap=OVERLAP_3D_STAGE (0.95); the last stage emits OVERLAP_3D (0.99). The axis-search stage and the particle entry after cavg_ini are exceptions: they keep 0.99 and emit minits=maxits, preserving their full budgets. Add-ons have no full-budget stage, only the STAGE_MINITS minimum. The neighbourhood hill climbers (prob_neigh_mode=shc|snhc) never end on overlap; multi-state plain shc retains its joint-overlap-and-scan rule and stage-2 scan exit. Posterior searches (prob, prob_neigh) ignore the visited-reference fraction for this exit. Multi-state overlap is the least state's mean of mi_proj * mi_state over current observations: both direction and label must be stable. A populated state without current observations holds the exit; an empty state is ignored. With prob_beta_end, eligible overlap starts the tail instead of ending the stage. Overlap and resolution stalls do not start the tail before minits; the budget can still start it in time to finish.

A first version tested against params%lp, the band in use, and was reverted the same day: PfCRT latest8 converged in 2 of 6 restarts. Do not test the band in force. A band-limited map's FSC=0.5 crossing sits at its band, because the map resolves to what it was matched at, so the test fires at the first opportunity in nearly every stage -- the run logged exits at 12.937 A against a band of 12.938 A, and 11.089 against 11.089. Stages 3 and 4 got 3 of their 17 and 15 iterations in every restart, and the final FSC=0.143 ranged over 4.03-7.96 A against a 4.05 A ten-restart baseline.

The next rung's limit carries information because it has not been applied yet. On PfCRT's own ladder (20.0, 19.4, 18.3, 12.9, 11.1, 9.7, 9.1, 6.0 A) against its measured res05 trajectory (14.8, 12.9, 12.4, 11.5, 9.7 A at stages 3-7) the test declines at every stage, which is correct: that map does not run ahead of its schedule. It is expected to fire on datasets whose maps do, which is where the saving is.

Before 2026-10-18 the band was set to res05 itself, which made it a function of a single crossing: on PfCRT, whose FSC runs nearly parallel to 0.5 over 7.0-4.7 A, a 0.03 FSC difference moves that crossing 1.5 A, so the mid-stage band varied over 4.6-7.1 A between restarts for reasons unrelated to the map. One rung bounds what a noisy crossing can cost. The advance does not accumulate: each stage starts from its own planned rung, so the lead is at most one rung at any boundary. The resolution fields are cleared when the particles are reset from ptcl2D, so only resolutions measured in the run itself advance the band. The advanced value is the printed stage limit and, in non-NU stages, the lpstop ceiling. The decision is taken once per stage boundary and never per iteration: In LP-set stages the halves share alignment references, so an FSC crossing is interpreted relative to the band that produced the alignments. Holding the band fixed within a stage limits feedback between alignment and the FSC-driven band update. A stage boundary does not make the alignment references independent or guarantee an unbiased FSC, and the crossing need not lie beyond the previous matching band. Repeated per-iteration updates could reinforce correlations fitted inside newly opened bands; the current boundary rule avoids that additional feedback. An explicit command-line lp (with ml_reg=yes) disables the advance for that stage. Multi-state follows the standard single-band rule: the best resolved populated state sets the band for all states. (Streptavidin log set 2026-09-06: the plan sat at 8.6/7.6 A in stages 4/5 while the half maps agreed to 4.3 A at FSC=0.5.)

In the NU stages there is no ceiling (July 2026 policy, restored 2026-09-08): matching runs at the finest member of the NU bank, the finest rung of the static ladder cut at fsc/1.5, or the ML-regularized pair once its FSC=0.143 is at or beyond the ladder's 4 A rung (2026-09-19, the same rule as every other workflow; doc/policies/NU/nonuniform_filtering_policy.md sections 8 and 12). The band therefore leads the FSC by 1.25-1.5x, which is what carries the climb: with the band at the previous FSC=0.143 crossing the alignment was starved of the shells where the merged reference still holds signal and PfCRT converged in 0/4 and 1/9 restarts (2026-09-16/18), with a 1.5x lead in 10/10 (2026-09-16), and a ceiling only pins the map. Two ceilings were tried and retired: the class-FRC final limit lpfinal (6.0 A on PfCRT, whose 2D classes stop at 6 A while the 3D map reaches 4 A) pinned the NU stages at 5.97 A on 2026-09-07; the ladder's hard bound of 4.5 A pinned the 2026-09-08 run at exactly 4.50 A for 30 iterations while the handoff asked for 4.14 A (stage 7) and 3.98 A (stage 8), the values the July runs matched at on their way to 4.1-4.3 A with side chains. Only an explicit command-line lpstop remains a ceiling in NU stages.

Early stopping applies after the STAGE_MINITS minimum, outside the axis-search stage and the particle entry after cavg_ini, which use minits=maxits. It applies in every NU stage (the NU-stage minits=maxits of 2026-09-07 was retired on 2026-09-08). The early stops that motivated it happened under a matching-band ceiling: pinned at 5.97 A the sampler converged on a coarse solution within a few iterations while the FSC could still improve. Without a ceiling the overlap tracks the map: the 2026-09-08 PfCRT run sat at 0.11-0.25 through stages 6-7 and passed 0.9 in stage 8 only after the FSC had been flat at the band for ten iterations, where the forced remainder of the budget changed nothing; on streptavidin the forced budget cost 700 s of a 2000 s run. An explicitly supplied, coarser command-line lpstop is folded into the ladder and is also retained as an independent ceiling when the staged child command is rebuilt; the effective ceiling is the coarser of the two limits. The workflow logs the acknowledged command-line ceiling before entering the stage loop. (Record 2026-09-06: capping the NU stages at the per-stage value stalled every NU stage on streptavidin and msp1 on the pcg path; see doc/implementation_notes/completed/pcg_priors_history.md, dev item 2.)

Saved _stageNN_lp.mrc diagnostic volumes are filtered to the current state FSC resolution when an FSC exists. The planned stage LP is only a fallback.

5. Initialization Modes

solve3D supports these model-start routes:

  • random starting volumes
  • user-supplied input volumes
  • initialization from solve3D_cavgs inside the workflow through cavg_ini=yes
  • externally supplied class-average initialization through cavg_ini_ext=yes

Volume input is allowed for single- and multi-state runs (one volume per state). It cannot be combined with class-average initialization or partitioned startup. User-supplied input volumes are assumed to be aligned to the target symmetry axis, so pgrp_start is set to pgrp and the particle workflow does not run symmetry-axis search on them.

Input volumes are not assumed to share the particles' alignment provenance. Before the Euclidean stage ladder, this route calls the shared fixed-reference CC pose-initialization service. It first runs the normal native-grid particle-image sigma2 bootstrap, then performs one pass over at most 100,000 active particles at a common 15 A limit. In selected particle records, the pass replaces active matching shells with reference-conditioned residual sigma2, consolidates those residuals for the first Euclidean stage, and reconstructs a data-derived checkpoint. Particles outside the capped cohort retain their image-bootstrap partition records until later refinement updates them. The external maps remain fixed during the CC pass and are not blended into the checkpoint. The helper copies the planned stage command line but removes its explicit shift_sigma before the objfun=cc pose pass: the polar shift map is a Euclidean objective feature, and an explicit key is invalid under CC. The stage command line keeps shift_sigma for the subsequent Euclidean stages.

Normal particle-based starts treat solve3D as the producer of new ptcl3D orientation and multi-state information. The workflow resets ptcl3D sampling, deletes previous 3D alignment while preserving shifts, transfers 2D shifts from ptcl2D, and initializes ptcl3D%state only from the 2D selection state: selected particles become state 1 and unselected particles become state 0. Fresh multi-state runs then randomize active particles into the requested 3D states with balanced uniform labels.

Class-average initialization and external class-average initialization both skip the random-volume start. With cavg_ini=yes, the nested solve3D_cavgs run owns any pgrp_start to pgrp symmetry-axis search. When control returns to the particle workflow, pgrp_start is set to pgrp so the axis search is not repeated. The nested run has as many stages as the symmetry-search stage (solve3D_nstages_ini3D, four), so it ends with the axis search on the class averages whenever pgrp_start != pgrp (section 7). The particles then enter at that last class-average stage, stage 4, which runs its full budget (overlap 0.99, fracsrch 99) on the particles, whatever the point group (2026-10-17; they entered at stage 3 before). cavg_ini_ext=yes is the explicit exception to the fresh-start rule: it requires prior ptcl3D alignment, preserves the external orientation/state information needed by that route, assumes the input orientations are already symmetrized, and starts at stage 4, after the stages a run without an axis search keeps in pgrp_start. A prior solve3D_cavgs run with pgrp_start != pgrp and fewer than 4 stages, which would stop before its axis search, is refused by solve3D_cavgs. If nstates > 1, every requested prior ptcl3D state must exist and be populated.

6. Multi-State Policy

nstates alone selects the mode; solve3D has no multivol_mode input and refuses it on the command line. nstates=1 is the single-state run. nstates > 1 refines independent states from the start: every state has its own starting model and its own refinement. There is no docked mode (one consensus model up to a split stage, then states); it was removed on 2026-10-06. To split a finished single-state solution into states, run refine3D_states on its project, where flex PCA initializes the states.

A multi-state run preserves the staged point-group policy between pgrp_start and pgrp. When pgrp_start != pgrp, the symmetry-search stage searches the symmetry axis independently for each state, matching the state-wise behavior used by direct solve3D_cavgs runs. This applies to fresh particle starts only; cavg_ini=yes, cavg_ini_ext=yes, and user-supplied input volumes are already in the target symmetry frame before the parent particle workflow resumes. The multi-state run is intended for severe heterogeneity where early inspection is more valuable than committing to a longer refinement immediately. Its particle stages 1 and 2 use direct refine=shc rather than the probabilistic-neighborhood startup of the single-state run; stages 3 to 5 use refine=prob, and refine=prob_neigh with prob_neigh_mode=state starts at stage 6, the stage single-state runs switch at (PROB_NEIGH_REFINE_STAGE), so the default five-stage run never reaches it. From 2026-10-16 to 2026-10-21 stage 5 ran prob_neigh, because the dense prob table over 2,500 directions of every state was the most expensive stage of a multi-state run. That was a mistake (ruling of 2026-10-21): stage 5 is where a multi-state run makes its final labels, and there the neighbourhood search lost states. On a simulated two-state set the builds with prob_neigh at stage 5 drained a state during it or split the states too slowly, while the build of 2026-10-15 with prob at stage 5 completed the separation there (accuracy 0.86 to 0.97). The class-average route (solve3D_cavgs with nstates > 1) shares this mode policy and switches at the same stage; its early stages keep their own class-average search schedule. The cap of 2,500 directions (NSPACE_MULTI_MAX) also limits every multi-state stage to 2,500 directions: stages 7 and 8, which run 5,000 directions in single state, run 2,500 when a user extends a multi-state run to them.

Stage 2 of a multi-state particle run ends by the multi-state convergence rule (every state's orientation overlap above 0.96 and the mean percentage of the search space scanned above fracsrch) or, since the rulings of 2026-10-15, once shc scans more than 95% of the search space on average, whatever the state overlap. The measure is the mean over the sampled particles of the per-particle frac, which the log prints as "% SEARCH SPACE SCANNED". The controller sets fracsrch=95 together with the internal key scan_exit=yes on stage 2's refine3D command line (an internal parameter with no interface entry); the convergence check then ends the stage on the scan alone. Without the key, stage 1, every later stage and every other user of the multi-state rule keep the rule as it was. An shc search scans more of the references the longer the states settle, so a stage that kept running until the overlap converged spent most of its time scanning nearly the whole space. A solve3D_addon pass keeps its own early stopping and does not set the key.

No stage of a multi-state run is skipped or cut short by a resolution rule (ruling of 2026-10-21): the mid-stage resolution exit (and, until 2026-11-12, the stage omission) of section 4 apply to single-state runs only (solve3D_stage_skipping in the stage controller), so every multi-state stage runs until its own convergence rule or its MAXITS. Both rules read the best state's FSC=0.5 resolution. At the start of a multi-state run every state holds a mixture of nearly the same structure, so the best state resolves early, and the rules removed exactly the prob stages in which the states split. On a simulated two-state set (30,000 particles, two RNA polymerase conformations) the build of 2026-10-20 omitted stage 3, ended stage 4 after 3 of its 15 iterations and lost the second state in stage 5 (accuracy 0.57), while the build of 2026-10-15, which ran stages 3 and 4 in full, separated the states during stage 4 (accuracy 0.97). The stage-boundary FSC=0.5 advance of a stage's limit still applies.

Unless the user overrides them, the commander sets nstages=5 and lpstop=6.0 A. Stage 5 is NU-filtered (since 2026-10-18, section 8) but runs no multi-state trailing reconstruction or staged automasking. After stage 5, the workflow still runs the final original-sampling reconstruction so the run produces inspectable rec_final_stateNN volumes. Every stage samples each unit's quota from the whole class, lowest update count first; no per-particle 2D score enters the draw (section 3, sampling units; single state took each class's best 2D scores until 2026-11-11). A greedy sample never searches the particles outside it, so a minority state would keep its start labels. The outer particle target remains the fixed nsample-derived update fraction while nsample/active_particles <= 0.9; above that threshold the workflow runs full active-particle updates each stage.

The state assignment (2026-11-05; design and validation in doc/implementation_notes/completed/multistate_posterior_state_draw.md). In the prob stages a particle's state is part of the posterior draw: one draw from its tempered posterior over every active state's block of its row, at the stage's prob_beta, so the state and the direction come from the same draw (refine3D policy, "Dense-table assignment"). From stage 6, when a run is extended to it, the neighbourhood table draws the same way over its pooled candidates. Before, the state was the particle's closest reference over all states and the direction one draw within it. The labels stay hard: one state per particle per iteration, one half-map, the weighted insertion's extras from the drawn state alone. The table's refined-reference budget is split over the states' blocks within the per-particle budget projs_ns. So every state gets the same number of shift-refinement attempts, and no block is left with stored-shift losses only because another state leads. Stages 1-2 keep their hill climb over states and directions. The annealing tail of the last stage starts when no populated state gained on the previous iteration (refine3D policy, the annealing tail), not when the best state alone stalls.

Every probabilistic iteration of a multi-state run logs the state readout beside POSE ASSIGNMENT, and the iteration's statistics record holds it (STATE_NEFF_DRAW, STATE_NEFF_PHYS, STATE_MODE_FRAC, STATE_MASS_UNREFINEDnn): - STATE N_EFF: the effective number of states (exp(entropy) of the state marginal) at the draw's factor and at 1; - STATE MODE: the share of draws at the state mode, and the mean largest state posterior; - STATE MASS ON UNREFINED, STATE s: the share of the block's tempered mass on entries the fill did not refine.

Read beside the populations and STATE OVERLAP, a state n_eff near the number of states while the labels stay at chance says the state draw is too hot, unless the n_eff at 1 is broad as well: then maps that cannot yet tell the states apart give the same picture. Near 1 from the first iterations is the lock-on signature of the retired closest-state rule. A large unrefined share says the marginal rests on stored-shift losses.

On the simulated beta-galactosidase states of multistate_workflows, the shc route resolved every state in 15 of 20 seeds and the labels route (true poses, random labels) in 13 of 20 (2026-11-05). On 20,000 particles of Afan's simulated three-state Ribosembly benchmark, three de novo runs did not separate the states: accuracy, the share of particles in the found state matched to their true one, was 0.42-0.59. There stage 3 showed a broad state posterior (2.2-2.7 effective states at 0.3, 1.3-1.7 at 1) with accuracy near chance and a quarter to over half of each block's mass on unrefined entries (2026-11-06, the plan's Phase 4).

Prior-orientation multi-state refinement belongs in refine3D_states, not in particle-based solve3D startup.

7. Symmetry

pgrp_start and pgrp must be compatible symmetry groups. If the workflow raises symmetry, the start group must be a subgroup of the target group. If it lowers symmetry, the target must be a subgroup of the start group and symmetry randomization may be applied.

The axis is searched after stage 4 (SYMSRCH_STAGE; after stage 3 until 2026-10-17, when the stage-3 map was too poor and the search failed too often). The stages through it reconstruct in pgrp_start. The symmetry-search stage runs its full iteration budget (minits=maxits, overlap 0.99, fracsrch 99) and defers its canonical sigma2 commit to after the symmetric reconstruction. A run that searches no axis (pgrp_start = pgrp: every c1 run and the input-volume, cavg_ini, cavg_ini_ext and add-on routes) ends that block at stage 3 (NOSYMSRCH_STAGE) as before, so its stage 4 early-stops (overlap 0.95, fracsrch 90) and its entry stage is unchanged, except that the particle stages of a cavg_ini run enter at stage 4 and run it to its full budget (section 5). solve3D_symsrch_stage returns the block's last stage for either case; the final-reconstruction rule (section 9) and the solve3D_chunks refusal follow it.

At the symmetry-search stage, symmetry-axis search is state-local for multi-state runs. Each active state determines its own axis from its current map and applies that transform only to orientations assigned to that state. The alignment changes the particle frame and the point group, so every trailing chain built before it (gridding and PCG, with its provenance records) is deleted right after the axis search. The following full symmetric reconstruction seeds a new chain through trail_seed only when the stage it feeds trails (solve3D_stage_trails, the same rule that emits trail_rec); otherwise no chain remains.

The axis search scores the Fourier shells between its high-pass and its low-pass. The low-pass is the planned limit of the symmetry-search stage, at least 12 Å; the high-pass is the run's hp (by default half the box), but never finer than that low-pass, so the band always holds at least the shell of the low-pass. A stage limit as coarse as half the box (planned from the class Fourier ring correlations of very few particles) once left the band empty, and the search stopped on undefined scores; the polar volume correlator now refuses a band without a shell above the origin (2026-10-15).

After symmetry handling, the selected maps are injected back into the staged refine3D command line and reference-section files are invalidated.

8. Filtering and Gold-Standard Matching

Staged solve3D uses the same static-ladder NU competition as refine3D_auto. Its NU objective and reconstruction support remain spherical (mskdiam) by default: every stage runs automsk=no and envfsc=no. A user-given automsk=density|nu|order acts in stages 7 and 8 with envfsc=yes: the PCG solve support is the density envelope of the previous iteration's prior-free pair (reconstruct3D_pcg_policy.md, section 3), and the matching references carry the selected mask (automasking_policy.md). Add-on registration stays spherical. A run that ends before stage 7 warns and runs automsk=no, which the manifest records. automsk=nu|order also requires NU filtering to start by stage 7 (nu_stage <= 7, or the built-in default); tight is refused.

Before gold-standard refinement starts, NU-enabled stages use nonuniform_lpset, a merged registration reference and the scheduled lp. The FSC=0.5 stage-boundary advance in section 4 is preserved. NU matching updates retain their existing bandwidth policy, with no added ceiling at the planned stage limit; an explicit user lpstop is still respected.

Particle runs with nstates=1 use half-specific references from stage 6 by default. gold_std_stage=0 selects this default; a positive value overrides the first gold-standard stage. Negative values are rejected. A value beyond nstages defers the switch past this run. The former gold_standard=yes|no flag is removed. Every stage runs; the configured start switches to half-specific matching (or the entry stage when starting beyond it). The controller switches either NU mode to plain nonuniform, deletes scheduled lp, and removes the stage-derived ceiling. NU chooses the matching band, subject to crop Nyquist and explicit user lpstop; without NU, the existing half-map FSC policy chooses it. An explicit lp applies before the switch; gold-standard stages delete it. Use lpstop for a ceiling that survives the switch.

Fractional sampling, trailing accumulators and early stopping continue under their existing rules. The transition adds no full alignment or reconstruction pass and does not reset the trailing chain. The particle even/odd partition is preserved. Frequencies already used with shared references retain their initialization history; the switch does not retroactively validate the earlier FSCs.

An explicit positive gold_std_stage requires a single state; an extended multi-state schedule keeps LP-set matching under the default policy. The class-average route never switches. The manifest records the stage override, and add-on runs replay it as part of the frozen solution's policy. Their initial registration pass retains its existing planned-band matching; the stage proper follows the recorded policy. Manifest version 3 distinguishes this default-on policy from earlier manifests; version 2 manifests require a new base run rather than silently changing their matching policy on replay.

NU filtering starts at NU_FILTER_STAGE = 5 (6 until 2026-10-18), overridable from the command line by nu_stage for testing (0 = the built-in value; 5 is the earliest accepted). NU filtering needs an alignment good enough for its local-resolution estimate: below that the estimate is meaningless, the filtered reference reinforces the bad alignment rather than correcting it, and the run goes into a hole. nu_stage 3 and 4 were tried on PfCRT and streptavidin and did not work. Stage 5 is one stage earlier than the prob -> prob_neigh switch at PROB_NEIGH_REFINE_STAGE. The two were the same stage before, so a reference becoming NU-filtered and a global search becoming a neighbourhood search arrived together and could not be attributed separately. Stage 5 also had capacity to spare on the PfCRT reference: resolution flat at 9.703 A from its third of twelve iterations, with only cFAR still moving (0.56-0.68). l_state_continue_mode already enabled NU from stage 5 (NU_FILTER_STAGE), so this is an exercised path rather than new ground.

The default multi-state (nstates > 1) stage limit is stage 5 (NSTAGES_INDEPENDENT), so that final stage is now an NU stage; before 2026-10-18 default multi-state ran no NU-filtered stage at all. Applied to multi-state deliberately, for the quality the filtered reference is expected to give. TRAILREC_STAGE_MULTI remains stage 8, outside the default multi-state schedule. Users who extend nstages past stage 5 retain merged-reference NU matching and spherical support.

Detailed NU behavior belongs to nonuniform filtering policy; detailed automasking behavior belongs to automasking_policy.md.

9. Final Reconstruction

solve3D runs a fresh original-sampling reconstruction from selected particles for full schedules, for every multi-state schedule, and for a single-state schedule stopped explicitly (nstages) at the symmetry-search stage or later (stage 3; stage 4 when the run searches an axis, section 7); the run manifest follows it, so such a run can be the frozen input of solve3D_addon, which then runs that stage. Single-state schedules stopped before it skip this final all-particle reconstruction. Before the final reconstruction, every active particle must carry an update; the final reconstruction leaves out rows without one, so a run whose sampling did not reach every particle would drop them. A single-state run assigns the rows no stage updated by a greedy missing-update pass (refine=greedy). A multi-state run instead gives every active particle its final label against the final maps at the physical posterior (2026-11-05, run_multistate_final_assignment). It is one refine3D iteration over all active particles from the last stage's command line (its band, crop and maps) with refine=prob, prob_beta=1 and no tail, update_frac=1, balance=none, trail_rec=no, volrec=no and topk=1. Because it samples every active particle, the final reconstruction uses labels of one provenance, each drawn at beta 1 against the last stage's maps; a particle that fits two states alike lands in one of them at random, which is the honest hard label. The coverage check after either pass (SOLVE3D ASSIGNMENT COVERAGE) must find no active particle that the run never updated. For multi-state runs it replaced the greedy missing-update pass. On the 20,000-particle benchmark subset it took 8-12.5 minutes and changed 1-3 % of the labels.

The final reconstruction inherits only the scientific reconstruction policy it needs. It takes all of its mask settings (automsk, envfsc, the NU filt_mode, nu_msk_sig, amsklp) from the last stage's command line alone, never from solve3D's own parameters (final_rec_mask_settings), so it ships the mask the last stage ran: none, with envfsc=no, unless automsk was given and the run reached stage 7. It does not inherit staged search controls such as refine, lp or gauref. The final reconstruction keeps NU filtering for automsk=nu|order and uses filt_mode=none otherwise.

If the final stage used objfun=euclid and ml_reg=yes, final reconstruction uses the committed sigma2 store of the workflow's particles: one noise spectrum per even/odd half. A missing or incompatible store is rebuilt through the one rebuild entry before the regularized map is produced.

On the PCG backend, a final ML-regularized stage uses the ordinary P_tau replay in bootstrap_rec3D; the Q_NU prior, its calibration pass and its controllers were removed on 2026-09-06. The final reconstruction does not apply fractional-update sampling or trailing average blending. Final-map postprocessing is classical, even when staged refinement used NU-filtered references.

10. Outputs

Stage snapshots are written by simple_solve3D_utils.f90 with _stageNN suffixes and companion _lp diagnostics.

Final outputs use the rec_final_stateNN naming convention and include raw and low-pass diagnostic volumes. Final low-pass diagnostic maps use the state FSC resolution when available, otherwise the supplied final fallback LP.

Every completed run also writes solve3D_manifest.txt last, atomically and never fatally, and registers it in projinfo by bare name with its run identifier (simple_solve3D_manifest): the project identity, the particle source, the solution, the ladder as planned and emitted, the entry inputs, content digests of the state maps, halves and FSCs, and a cheap committed-header and global-section identity for sigma2. Sigma particle spectra are not scanned to write or validate the manifest. A failed manifest write warns and leaves the run as it is.

11. solve3D_addon

solve3D_addon projfile=<current> projfile_frozen=<solve3D or solve3D_addon run project> extends a completed solution with the particles the current project adds (the cohort); the frozen particles contribute their accumulators unsearched. Its policy is solve3D_addon_policy.md; the design history is in doc/implementation_notes/completed/abinitio3D_addon_mode_proposal.md. In short:

  • Only a solve3D or solve3D_addon output whose manifest validates against its project is accepted, so add-ons chain; the solution's settings are replayed from the manifest and refused on the command line, which carries only the 11 add-on inputs.
  • Both projects must share one particle index space: row i names the same image in both wherever both hold a row i, and they may differ in size. Rows the current project appends past the frozen project's last row (a stream's later particle sets) join the cohort; appended rows from a stack the frozen project holds are refused. Every frozen particle must lie within the current project's rows and be active there. The cohort needs at least 5 particles per inherited state (a warning below 5 % of the frozen population).
  • The execution-environment keys pass through, the stream's persistent-worker keys (worker_server, worker_priority) included.
  • The run searches the cohort in the last stage of the base run's planned ladder (read from its manifest), after one registration pass, with center=no and overlap 0.95 by default (it applies when that stage is stage 3); the stage limits follow the rule above (FSC=0.5 promotion from the union FSC, the NU handoff in the NU stages), and the stage logs them next to the base run's.
  • The run ends with a validation report against the base solution (solve3D_addon_report.txt in the run directory, and the log): per state the FSC verdict (improved or regressed beyond one FSC=0.143 shell, else unchanged), the union map's correlation with the base map up to the base resolution (docked below 0.9), the cohort-only map against the base map with addon_diag=yes, and both runs' stage limits. A regression is warned about; the result is published all the same.
  • The final reconstruction is incremental (calc_final_rec_addon): it reads the cohort's particles and the carried frozen sums, never the frozen particles, seeds no sigma from image power, commits the cohort's new sigmas in a residual pass and ships the union map with the frozen rows restored (solve3D_addon_policy.md section 8).
  • mkdir=yes by default; mkdir=no is for NICE. When the run has completed, the finished project (every particle posed, the union's sigma2 state) replaces the current project file; the frozen project is never written. The add-on's own manifest is eligible: the output is the frozen input of the next add-on.