# Model and sources This is an original toy instrument for an established effect. Read in the rotating frame after an ideal initial90° preparation: every transverse magnetization group starts at(x,y)=(1,0). These are ensemble magnetization vectors, not literal individual quantum spin trajectories. No scanner or hardware performance claim. For96 equal groups indexed i=0…95, omega_i=(2i+1−96)π/(96·40) × (s/4) radians/ms, where s is the integer slider value1…8 (default4). The displayed frequency half-width is12.5·s/4 Hz. Offsets are uniformly spaced midpoints of(−12.5,+12.5)Hz by default. This deliberately gives exactly zero net signal at40ms (up to numerical roundoff); generic distributions need not vanish exactly. Finite discrete ensembles eventually recur; the default full vector state repeats at7680ms; its signal magnitude already returns at3840ms. Both lie far beyond our160ms window. Free evolution rotates each transverse vector by omega_i·dt. An ideal instantaneous180° x-axis pulse maps(x,y)→(x,−y), reflecting phase φ→−φ, without changing omega_i. After one pulse atτ with static frequencies, phase at t≥τ is omega_i(t−2τ), hence all phases agree at2τ. Pulse times are integer milliseconds, at most8, applied after evolution to that instant. At most one flip per instant is allowed. No-pulse control shares the same offsets, speed reassignment and relaxation. The optional perturbation at40ms changes group i's offset to omega_(37i+17 mod96). Since37 and96 are coprime, the frequency histogram is exactly preserved. Integrated phase still depends on each group's prior frequency. This abrupt deterministic reassignment is not a diffusion model, microscopic stochastic process or physical protocol. It supplies a controlled failure of the constant-frequency assumption. Optional phenomenological transverse relaxation multiplies each group's length by exp(−t/T2), including across pulses. A pulse cannot increase this envelope. No longitudinal recovery, finite pulse duration, RF error, interactions, noise or detector floor is included. With T2=60ms, the ideal echo at80ms has amplitude exp(−80/60)=0.2635971381. Applying more pulses cannot remove this chosen memoryless decay law. Other noise spectra can be refocused by pulse sequences; this model does not claim all decoherence is irreversible. Sources consulted November10,2026: - [E. L. Hahn, Spin Echoes, Physical Review80,580–594(1950)](https://journals.aps.org/pr/abstract/10.1103/PhysRev.80.580). Original effect, inhomogeneous precession and echo/relaxation distinction. [Original paper mirror](https://ece-classes.usc.edu/ee591/library/Hahn-SpinEchoes.pdf). The paper's affiliation is University of Illinois, Urbana. - [ETH Zurich, Two-pulse echo](https://epr.ethz.ch/about-epr-research-group/what-are-spin-echoes/spin-echoes/two-pulse-echo.html). Its phase-reflection analogy makes explicit that component speeds must remain unchanged and the reunion is at2τ. - [University of Washington, NMR simulations](https://faculty.washington.edu/dbpengra/NMR/). Existing Bloch/Hahn simulations; ensemble and relaxation scope. - [Lars G. Hanson, DRCMR Bloch simulator](https://www.drcmr.dk/bloch/). A much broader existing tool with RF excitation, rotating frames and imaging; this page makes no novelty or general-superiority claim. Implementation: model.js accumulates two signed time coefficients (before/after40ms); verify.py instead integrates Cartesian rotations between all pulse/perturbation boundaries. Playback is slowed for inspection; its axes use model milliseconds. Plot shows only samples up to the current cursor. Saved trials include all161 computed samples, and state their cursor explicitly; they do not contain measured data. Changing a setting recomputes the same chosen pulse sequence, including its past.