SIMPLE
How2get code inventory
Initializing search
hael/SIMPLE
SIMPLE
hael/SIMPLE
SIMPLE
Glossary
Install
Relocating project data
Algorithms
Algorithms
SIMPLE: the algorithms
Atomicity prior in PCG reconstruction
Automatic Gain-Reference Flip Detection
Centring Particles at Scale
The Class Student
Continuous In-Plane Refinement
CTF Modeling and Estimation
Dose-Series Accumulation
Fractionate Model: Particle Re-extraction
Reference-free Motion Correction
Nonuniform Filtering
NU-Evidence Envelope Masking
Particle Picking
The Pose Student
Cartesian 3D Reconstruction
Refine2D and CTF-Aware Class Averaging
Iterative 3D Refinement
Local 3D Refinement
Sampling and Fractional Updates
Solve2D: De Novo 2D Class-Average Determination
Solve3D: De Novo 3D Map Determination
Online Streaming Pipeline
Heterogeneity analysis
Heterogeneity analysis
Heterogeneity Analysis
Reference-Guided 3D Classification (classify3D_refs)
Projection-Aware Flex PCA
Conformational State Refinement (refine3D_states)
Class-Average State Refinement (refine3D_states_cavgs)
Code overview
Code overview
Fortran indexes
Fortran indexes
Api index
Module Index
Module Index
For developers
For developers
Developer documentation
Onboarding
Onboarding
SIMPLE Git Repo Onboarding
SIMPLE GUI Onboarding Guide
How2s
How2s
Processing heterogeneous data sets in SIMPLE
How to debug Fortran code
Useful GDB Commands
How2get code inventory
Useful Git Commands
Install FFTW
How2refine tomo
How to run an autonomous Claude Code agent on a Linux box from your Mac
How to set up a machine for SIMPLE development with Claude Code
SLURM for beginners
SLURM job arrays
How to sort 2D class averages with the class-average CNN
How to write a plan for an agent in SIMPLE
SIMPLE memory estimator and benchmark guide
Implementation notes
Implementation notes
Implementation-note status
Completed
Completed
abinitio2D seeded restart: initialize from the previous 2D clustering
abinitio3D_addon — development proposal
How the atomic electron tomography codes relate to SIMPLE and SINGLE
Atomic B factors in SINGLE model building and refinement
The atomic density model: species-agnostic atoms that render like the map
The atomic density model: report of the unattended run
The atomicity prior: methods, theory and outlook
BLAS threading: an OpenMP BLAS on Linux
C-alpha finder
The class-average CNN in Fortran: inference with no new libraries
The class-average CNN in Fortran: report
center_ptcls: centring particles at scale
The 2D student: amortized class assignment for the stream and for solve2D at scale
The class student on raw picks: no centring, alignment after prediction
Report: the class student on raw picks
The 2D class student against reference matching
cls_expansion: sub-class averages as kernel pre-images
Continuous KB Gather Performance
Accelerating refine=cont: fewer evaluations, a cheaper kernel, and a benchmark
Continuous 3-D pose refinement: consolidated history and handoff
Continuous 3-D pose refinement: consolidated scientific review
Continuous 3-D pose refinement: consolidated validation evidence
Continuous 3D refinement on the PCG operator: design note
Continuous in-plane rotation transfer plan for refine3D
Continuous In-Plane Rotation Refinement
Continuous in-plane rotation in the polar representation (objfun=euclid)
Dropping the legacy box division from reconstruction output
cls_expansion: method and benchmarks
flex_pca: sampling-distance control, reconstruction backends, and the envelope mask as solve support
Reproducible phase-randomized FSC
Ghostbuster's forward and adjoint operators in SIMPLE
Ghostbuster's operators in SIMPLE: report of the run
Ghostbuster-compatible scattering simulator
Half-map local enhancement
SIMPLE hardware resource planning
Hardware resource planning: validation closeout
Identical speed changes: the Mac run speed_mac
Identical speed changes: report of the run speed_mac
Identical speed changes: review against the SIMPLE standards
In-plane quadrature insertion in 2D
In-plane quadrature insertion in 2D: report
In-plane quadrature insertion in 3D
In-plane quadrature insertion in 3D: report
Learned pose assignment: a student distilled from the probabilistic search
Learned pose assignment: report of the run pose_student
Pose student code review
The matching band: its contract, a broken clamp, and the test that was missing
Project micrograph subset selection
Multi-state ab initio: find what broke, restore what worked, until it separates
Deterministic multi-state assignment gate
Multi-state solve3D: the state as part of the posterior draw
Multi-state posterior state draw: report of the run ms_posterior2
Multi-state speed: the run ms_speed
Why the anchor's early stages end with better maps: a multi-state diagnosis
Multi-state stage-3 diagnosis: report (arun run ms_stage3diag, 2026-10-21 to 2026-10-22)
A nano context for model_cavgs_rejection: class-average rejection for nanoparticle time series
Report: a nano context for model_cavgs_rejection
The nanoparticle pipeline on every platinum trajectory: denoise, reject, center, refine
The nanoparticle pipeline on every platinum trajectory: report
NU-evidence local sharpening: model-free LocScale from cross-half evidence
Retiring the NU shell walk: a dense static ladder with the regularized pair in the competition
Particle I/O on per-micrograph stacks: reading, half-sets and add-on passes
Particle I/O on per-micrograph stacks: review report
The PCG reconstruction backend: what it is today
PCG backend: decision log
PCG backend: the complete experiment record (2026-08-25 to 2026-09-10)
Production polar kernels: faster code for the same per-pair sums
Production polar kernels: the report
Polar kernels on x86: the report
Polar matching layouts for many references: a measure-only benchmark
Polar matching layouts for many references: the report
Polar shift map: a global shift search on the polar Fourier transform
Dynamic centring: the disk per particle, across the stages
Probabilistic in-plane search: mathematical and performance review
Pose marginalization in the probabilistic 3D search
Training speed of the pose student, and the review's corrections
Pose student: the review's corrections and training speed, run report
Preserving the Legacy In-Plane Path
Probabilistic alignment as a batch pipeline: per-particle draws, keyed random streams, no global table
Probabilistic alignment as a batch pipeline: report of the run prob_pipeline
Project data relocation
Bug report: qsys job-completion detection
Reference-picker acceleration note
Sequential per-state refinement of multi-state projects (state sweep)
Report: sequential per-state refinement of multi-state projects (state sweep)
refine3D_states_cavgs: design note
Continuous local Cartesian refinement — done
Bootstrap noise annealing for 2D matching
The atomicity prior on the PCG backend, for SINGLE and atomic electron tomography
Single-state and multi-state speed week: closeout
Single-state speed: the plan for the week of 2026-10-15
Single-state speed, days 1 and 2 and the 2D table: report of the run prob_speed
Offline replay of the stream's 3D chain: solve3D_chunks
Gold-standard stage policy for solve2D and solve3D
solve3D on small membrane proteins: diagnosis and experimental plan
Report of the run atomic_density_model_2
SINGLE without a species input: atom detection, Gaussian density model, species discovery and map simulation
Review report: single_species_proto (SINGLE atom detection without a species input)
Species discovery: where it stands and where to go next
2D speed and finishing the identical speed changes: the Mac run speed2d_mac
2D speed and finishing the identical speed changes: report of the run speed2d_mac
2D tables, 3D tables and the NU filter, and 2D look and feel: the Mac run speed2d3d_mac
Report of the run speed2d3d_mac: 2D tables, 3D table, NU filter and 2D look and feel
Speed and architecture: before the release, and the next release
One run: STAR origins, then wave mode in simulate_particles, speed and clean-up
Report of the run star_wave: STAR origins, wave mode in simulate_particles, speed and clean-up
STAR origins in Angstrom, and poses in export_relion
The students learn the in-plane posterior
The students learn the in-plane posterior: run report
Student prediction in parts
Student prediction in parts, report
A test suite that knows the truth: correctness, robustness and multi-state
A test suite that knows the truth: report of the runs test_truth and test_truth_sync
trajectory_denoise on the flex kernel: every frame a pre-image of the frames that look like it
trajectory_solve3D: the nanoparticle pipeline in one program, with a second gate on the class averages
trajectory_solve3D: report of the run (2026-10-29 to 30)
Wave mode in simulate_particles, a faster wave operator, and clean-up
Supporting
Supporting
Polar kernel candidates: source archive
Planned
Planned
automsk=order: the order weight as a reference mask on both backends
Batch-threaded plane insertion for the gridding reconstructor
Batch-threaded plane insertion: report of the dell2 run rec_slabs
Blush half maps as auxiliary candidates in NU competition
The class student in the stream: the pool's learn job, seeding and candidates
SPMD execution of refine2D and refine3D on coarray images
A float32 correlation kernel in residual form for continuous pose refinement
Dose-series accumulation under a temporal attenuation model
Float32 partial sums in the CPU hot loops, and the PCG preconditioner
Float32 kernels and the PCG preconditioner: report of the run f32_pcg
One Levenberg-Marquardt for the library
One Levenberg-Marquardt for the library: review report (Phases 0-4)
SIMPLE and mlx-fortran: what is done here, and how work crosses
Multi-state workflows under scoring-noise annealing: validation on the SNR 0.05 benchmark
NU-evidence mask: threshold chosen by cross-half prediction error
particle_sieving_2: a seed solve2D, the class-average CNN's labels and the class student for the rest
particle_sieving_2: report
Batch-threaded accumulation for the PCG reconstructor
Interactive tracking-position picker
Continuous view refinement on polar sections
Continuous view refinement on polar sections: review report (Phases 0-2)
The Laplace width: the dynamic centring's prior width from the full band
Polar students: directions beyond the supervised assignment
The pose student revisited: the physical teacher, raw picks and alignment over the cone
Report: the pose student with the physical teacher and alignment over the cone
Probability-table scoring as matrix products
Probability-table scoring as matrix products: the report
Making Cartesian continuous refinement as good as the polar search, without losing its speed
select2D: interactive class-average selection with a GTK 3 window, written to the project
select2D in its own executable, simple_viewer, saving into a new selection folder
The selection student: a particle-level challenger to the class-average rejection
The atomicity prior on the PCG backend: open work
Random-site Pt/Ni SINGLE workflow
Species discovery: open work
The students' alignment: refine the screen's best, not every candidate
Testing and benchmarking: what is left, and in what order
Threads in SIMPLE: safety and the thread budget
trajectory_cavgs_rejection: the nanoparticle class-average rejection as its own program, scored jointly and trained on the maintainer's selections
Wave-model image formation in SIMPLE: where we are and what comes next
Next release
Next release
Accelerating cryo-EM image matching with MLX
Porting SIMPLE's two hot spots to the Apple Silicon GPU
NU-Evidence Resolution Mask for C-alpha Detection
Defocus refinement, higher-order aberrations and the Ewald sphere: survey and plan
Rejected
Rejected
The center student: a real-space network that centres raw picks before the class student
The center student's ceiling: is there anything left for a centring network to win?
Standalone Cartesian pose refinement in refine3D
Continuous five-parameter pose refinement numerical validation
Continuous Projection-Direction Exploration in PFTC
Continuous SO(3) Probability Model for PFTC Assignment
Data-driven stage progression in solve3D
Flex-generated 3D particle representatives for denoise_project
Diffusion maps: lessons from a ManifoldEM review
Distance-Transform Shape Metrics for Class-Average Rejection
Dominant flex-density basin as a robust Bayesian 3D reconstruction estimator
Joint 2D/3D Latent Affinity Propagation
Local-linear diffusion-map pre-image — validation plan
NU-Evidence Envelope Masking
Caching for 3D refinement: what the code allows today, and what would pay
The PCG order prior: one solvent and detergent prior for soluble and membrane proteins
The pose student on the low-pass working grid
Policies
Policies
Policies
Kaiser-Bessel Interpolation Policy
BLAS Policy
Coarray Execution Policy
Compile-Time Policy
Even working grid policy
Fractionate Model Policy
FSC Area Score Policy
Importance Sampling and Fractional Update Policy
Layering and Project Ownership Policy
Microscope-Dependent Parameter Policy
Reference-free Motion Correction Policy
Motion Gain Analysis Policy
Particle Read Path Policy
Persistent Worker Policy
Phase-shift CTF Policy
Project Stack Indexing Policy
segdiampick_mics Policy
Test Environment Policy
SINGLE–Nanotation tracking interface
UI Descriptor Layer Policy
2D
2D
Particle Cache Policy
Solve2D Policy
3D
3D
Automasking Policy
Reference-Guided 3D Classification Policy
reconstruct3D PCG backend policy
Refine3D Auto Policy
Local 3D Refinement Policy
Refine3D Policy
Separate alignment and reconstruction for multi-state peak-memory reduction
solve3D_addon Policy
Solve3D Cavgs Policy
solve3D_chunks Policy
Solve3D Policy
Wave-model policy
NU
NU
Nonuniform Filtering Policy
Heterogeneity
Heterogeneity
Refine3D States Cavgs Policy
Conformational State Refinement Policy
Sieving and rejection
Sieving and rejection
Sieving and Rejection Policies
Class Compatibility Policy
model_cavgs_rejection
Particle Sieve Policy
Stream
Stream
Stream policies
Stream IPC Policy
Stream master (p00) at a glance
Stream preprocessing (p01) at a glance
Stream optics groups (p02) at a glance
Stream initial analysis (p03) at a glance
Stream reference picking (p04) at a glance
Stream particle sieving (p05) at a glance
Stream 2D pool (p06) at a glance
Stream multistate 3D (p07) at a glance
Pool 2D Policy
Reference Generation Policy
Stream Restart Policy
Stream 3D Ingestion Policy
Refactoring notes
Refactoring notes
Refactoring-note status
Completed
Completed
Agent-friendly code
Agent-friendly code: report of the run agent_friendly
Canonical Sigma2 State Refactoring
Class-Average State, Trailing-Chain Mass and Reconstruct3D Partials Refactoring
Class-Average Bootstrap Policy (Retired)
CMake Refactoring Migration Guide
Comment novels: inventory, September 2026
Comment novels: replacement drafts
Unreferenced code inventory
Euclid Sigma Refactoring: Builder-Owned Policy
Initialize Poses Against External References Before Euclidean Refinement
FLEX on SIMPLE machinery: fractional state weights and reuse
FLEX on SIMPLE machinery: report
FLEX PCA architecture and concrete refactoring plan
FLEX refactoring plan: reduction, reuse, and a numerical test net
Global sigma2 only: removing sigma_est=group
Global sigma2 only: review report
GUI metadata and assembler refactoring plan, 6 October 2026
Heterogeneity Analysis UI and Algorithm Documentation Refactoring
The padded real-space array of image: zero padding, and a box-shaped pointer
NU filtering: switch the candidate cost to the plain Euclidean loss
PCG on sparse or uneven view sampling: the preconditioner floods unmeasured Fourier voxels
Phase 5: workflow gates and nightly runner handover
Phase-shift CTF support
Polar PFT Range Policy Refactor (2026-03-19)
Polar shift search: performance refactoring
Pool 2D encapsulation plan, 6 October 2026
pose_cont refactoring aftermath
Continuous-pose refactoring aftermath: validation closeout
Continuous Cartesian pose refinement (refine=cont): refactoring plan
Continuous Cartesian pose refactoring (refine=cont): review report
The probabilistic search: paying less for the same search
The probabilistic search speed-up: report
Retire prob_state: flex PCA initializes every particle multi-state split
Report: retire prob_state; flex PCA is the only particle state initializer
Probabilistic alignment table peak-memory refactoring
Probabilistic-alignment table: validation closeout
refine3D_local workflow and architecture cleanup
Refactor Multi-State 3D Workflows Around Scientific Intent
refine_tomo: tilt-series refinement for atomic electron tomography in SINGLE
Release 4: legacy cleanup closeout inventory
Release 4 legacy cleanup: refactoring report
Remove build_glob
Refactoring: Remove params_glob Global State
Refactoring Document: Global pftc_glob Removal
Retire the simple_reconstructor_eo Module
SINGLE tests in the new test environment: handover to Ruben
solve2D_chunks move plan, 6 October 2026
solve3D_pyramid: batch multistate 3D by class-average assignment, plan, 15 October 2026
stream 3D first run plan 2026 10 07
Stream 3D snapshots plan, 6 October 2026
Stream area review: state of the streaming pipeline, September 2026
Stream area review: state of the streaming pipeline, October 2026
Stream area review: state of the streaming pipeline, 5 October 2026
Stream tests in the new test environment: handover to Ruben
Stream fix plan, 5 October 2026
Stream follow-up plan, 5 October 2026
Stream Owned-State Refactoring: Compile-Time Report
Stream multistate 3D by class-average assignment, plan, 13 October 2026
Stream refactor: the stages as clients of the library
The 2D structure aligned with 3D, and one project owner on the master
The 2D structure aligned with 3D, and one project owner on the master: report
Test review record
SIMPLE's testing against modern practice: an assessment
Trailing reconstruction without the finished-halfmap blend
Review report: trailing reconstruction without the finished-halfmap blend
UI Category Membership Tidying
A uniform, two-tier test environment for SIMPLE
3-D fractional-update balance refactoring
Report: 3-D fractional-update balance refactoring
Policy set audit 2026 10 21
Policy set audit 2026 10 21
Audit B: 2D, particle I/O, stack indexing, KB interpolation, FSC area score
Audit D: compile_time, coarray, persistent_worker, test_environment, ui_layer policies
Audit E: preprocessing policies (microscope, motion, gain, phase shift, segdiampick)
Edits to the instruction files (applied 2026-10-21 with the maintainer's approval; text as proposed, minor wording changes)
Audit A1: refine3D / multi-state / sampling policies against the code (2026-10-21)
Audit A2: solve3D family, PCG backend, nonuniform filtering
Audit C: stream and sieving_and_rejection policies
Planned
Planned
FLEX tree strategy: contract and incremental migration
Nightly suite triage: a standing plan for an autonomous run
Policy-set audit and gap register, 2026-10-21
Random seed through parameters and job descriptions
Need2basis
Need2basis
Canonical MRC stack and volume output suffix refactoring
Refactoring: Merge Projects With Distinct CTF Models
Next release
Next release
Staged Domain-Driven Design Refactor
Adopting X's Execution Layer in SIMPLE
Rejected
Rejected
Abinitio3D SGD Refinement Implementation Plan
Contract/Implementation Module Architecture for Fast Builds
Flex analysis diffusion map refactoring
Refactoring Proposal: Exact-Projection Sparse Graphs for FLEX Analysis
NU filter high-resolution extension FT reuse
Stream initial 3D from the sieve's class averages, plan, 8 October 2026
User guide
User guide
reconstruct3D_wave — Reconstruct Under a Wave Model of the Image
reproject — Generate Projections from a Volume
simulate_movie — Simulate a Movie and Micrograph
simulate_particles — Simulate Boxed Particle Images
simulate_scattering — Simulate Wave-Scattering Images
Simulated Validation Workflows
update_project
User Guide
How2get code inventory
cloc $(git ls-files)