Deep dive number five. The Results tab in full. One wall, forty seven tiles, and the popup behind every one, fed by seven real machines. From the matched F O D O and the overloaded D T L to a ninety degree bend, an orbit correction line, and a D C H minus transport.
The wall after the healthy F O D O run. On top, six live numbers, sizes to loss. Import Results, top right, loads a saved run back. Then nine sections. Beam size and emittance. Twiss, divergence and halo. Energy and kinematics. Losses and transmission. Centroid and dispersion. Phase space and diagnostics. Lattice parameters. Cross checks against TraceWin. And the matrix viewers.
Every card shares one anatomy. Icon, name, a live sparkline along the machine, and a footer with the end value. The arrow compares end against start. Up, down, or flat within half a percent. A dash is honest emptiness. The error study tile stays blank until an ensemble exists. And intra beam stripping applies to H minus only, so on this proton run its tile sits empty and disabled.
The R M S beam size plot. Horizontal, vertical, and the bunch length, with the lattice strip on top. Show aperture draws the vacuum chamber on the same axes. Show lattice toggles the strip. The Display dropdown switches between raw and dispersion corrected betatron sizes. Escape closes a popup. Control S saves it.
Emittance, two windows tiled side by side. Left, the geometric emittances, with the four D invariant overlaid on the horizontal panel. Right, the normalised emittances, which divide out acceleration and should stay flat under clean transport. The honest health indicator, and here they end where they started.
Three more emittance views. The six dimensional emittance, the product of the three eigen emittances, a volume no linear symplectic map can change. The four D invariant, conserved even when transverse coupling makes the plane projections oscillate. And the eigen emittances themselves. Uncoupled here, they match the plane emittances. A solenoid or skew error splits them.
The Twiss family. Alpha and beta per plane, with the same Display dropdown. Longitudinal Twiss, from the sigma matrix in the delta phi delta W convention. And divergence, sigma x prime and sigma y prime, straight off the sigma matrix diagonal.
Energy and kinematics, now on the D T L, overloaded at twenty milliamps. Beam power shares the energy section. Current times energy times transmission. This run enters at sixty kilowatts and leaves with about twenty three, the sparkline falling with every loss even as the energy climbs.
Losses. The cumulative profile first. Over eighty percent of the beam is gone before the exit. Then the aperture map, the autopsy. The orange line is the vacuum chamber, every yellow dot one recorded particle death, in both planes. Two thousand and eighty four deaths across twenty three elements, priced in the table, nearly fifty eight kilowatts in total.
The loss power popup prices the record. Lineal loss density in watts per metre, energies taken at the loss point, against the dashed one watt per metre hands on criterion. This run peaks near fifty eight thousand, four orders of magnitude above it. Below, the surviving beam's power density on the terminal plane. Over a hundred kilowatts per square centimetre at the peak.
Two tail diagnostics. The halo parameter H, fourth moment over second moment squared, minus one. Zero for a uniform core, two for a Gaussian, the dashed lines. H falls here, from about one point five toward zero point nine, because the aperture is eating the tails. H says the shape changed, the loss map says why. Beside it, peak excursion, the outermost survivor against the chamber. Its Display dropdown only affects the envelope fallback.
Phase space, the microscope. Snapshots were recorded every four elements, so the location selector scrubs the actual particles along the machine. Watch the bunch shear and tear. Colour by energy, particle index, or transverse radius. The basis selector flips to the TraceWin z delta convention. Fold phi wraps neighbouring R F buckets back onto the bunch. And Beam parameters swaps the panels for a full table of the selected distribution.
The density map. Every live particle histogrammed along the machine. The beam broadens and thins as it is scraped. The axis dropdown walks positions, angles, phase, and energy. The sigma overlay draws the R M S envelope, the aperture overlay the chamber. And log scale keeps the faint halo visible. Switch it off and the tails vanish.
Lattice parameters plot the machine itself, before any run. Quadrupole gradients and their integrated strength. R F voltage per gap. Synchronous phase, minus thirty degrees everywhere here. Peak solenoid field and the focusing integral B squared d z, from the two solenoids up front. The dipole tiles and floor plan wait for the bend line.
Now the space charge diagnostics, on a forty six period linac, envelope at five milliamps, phase probe on. Sigma zero is the bare focusing. Sigma is what the beam gets under space charge. The period picker locked onto the first section's bracket, sixteen seven element cells, and the caption reads its bare cell. Forty point two degrees transverse, twenty four point nine longitudinal. Tune depression compresses that to eta per cell, sigma over sigma zero. The green channel model markers put eta near 0.76 transverse and 0.69 longitudinal, and the caption flags that the beam markers assume a matched beam.
The Hofmann stability chart. Depressed tune ratio k z over k x against depression k x over k zero x, one dot per cell. Compute chart solves the corrected anisotropic K V dispersion relations for modes two, three and four. Green cells, valid and stable. Red, flagged above one percent growth. Grey hollow, outside the perturbative gate. An amber ring, fold risk. Here exactly one of thirteen valid cells is flagged. The pink bands are the legacy heuristic overlay.
The tune footprint. The cell is re tracked with the space charge field frozen from the first pass, each test particle's tune from an F F T. Turns sets resolution, one twenty eight gives about 2.8 degrees. Particles sets the amplitude ladder. Small amplitudes feel the full force and sit deepest below the bare tune. The caption reads core tunes near 11.3 degrees per cell.
A D C H minus beam traps an ion cloud that partially neutralises its own space charge. This popup computes the compensation degree from gas physics. Pick the gas and the pressure on the log slider. Computed mode solves the Poisson Boltzmann balance. Assumed mode takes your eta. Compute fills the compensation profile, plasma potential, and build up time. Export cards copies suggested space charge comp factors to the clipboard. Apply to lattice is confirm gated.
The species gate flips. H minus's second electron strips in collisions inside the bunch and in strong magnetic fields. Run an H minus beam, five milliamps through the quadrupole line, and the intra beam stripping card comes alive. The popup implements Lebedev's model. The measured total, under two parts per million, rounds to zero watts. Magnetic stripping evaluates the field particles actually sample, at two sigma, one sigma, or pole tip in the quadrupoles. Here, peak field 0.043 tesla, loss rate exactly zero, which is what you run it to confirm.
The ensemble tile says what many imperfect copies of this machine would do. Behind it is a real ten seed Monte Carlo on the F O D O. Three percent gradient errors, 0.15 millimetres of misalignment. Solid line, the seed mean. Dashed, the one sigma band. Below, final transmission across seeds. All ten transmit fully. The errors moved the optics, not the beam into the wall.
The bend line. Ninety degrees in two arcs, and bends make dispersion. The solid curves are statistical dispersion, from the tracked beam's sigma matrix. Tick Transfer matrix model and a background worker propagates the design dispersion element by element. The dashed overlay lands on the measured curve, peaking near two and a half metres. Sigma delta p over p stays flat. Bends re arrange trajectories, not momenta, and that flat spread is exactly what the dispersion multiplies. And the Display dropdown earns its keep. Raw sigma x includes the dispersive term. Corrected strips it, and the exit size drops from 8.6 to 4.1 millimetres.
The same machine as hardware. The dipole field tile turns each bend's geometry into tesla through the beam rigidity. Integral B d l is the bending strength a magnet engineer quotes. And the floor plan is a genuine survey, aspect locked, both arcs highlighted, entrance and exit marked. Four point five four metres of path, ninety degrees of bend.
The orbit correction demo. Four monitors, four steerers. We kicked the first steerer on purpose and set every monitor's target to zero. The centroid popup shows the orbit walking off, the goal orbit as hollow points, and the banner quotes the achieved versus goal R M S gap. About 0.9 millimetres in the kicked plane. The B P M table reads the same run through the lattice's monitor flags, and longitudinal offset repeats it in phase and energy.
Cross checks. The compare popup overlays any TraceWin partran dot out file on the current run. Solid HELIX, dashed file, and the lower panel is the per step relative difference. Seven axes. Three sizes, three emittances, energy. This overlay is a second HELIX run at lower particle count exported in the partran format, so the residuals are statistics and sampling, not physics. Clear overlay drops it.
Field maps, on a synthetic six cell cavity map generated for the tutorial. Real cavity maps plug in the same way. Pick the element, the channel, here R F electric, two dimensional cylindrical, the component, and the cut plane. Sliders slice the map, and the crosshair ties the line cuts to the heatmap. The transit time factor popup computes the phase optimised T of beta. The dashed line marks the map's optimum beta, and the dotted line, the beam's actual beta, sits essentially on top of it.
The advanced cards are routers, not popups. The sigma matrix viewer shows the full six by six second moment matrix at any recorded step, in our basis or TraceWin's. Every plot in this tab is a slice of it. The transfer matrix dialog multiplies element matrices between any two indices. And the S C convergence card jumps straight to the Numerics tab.
Popups are windows, not modes. Open as many as you like, and every visible one refreshes the moment a run completes. Watch. We re run the F O D O. Both windows clear while the tracker works, then repopulate together. That sync is always on. And the Show lattice checkbox toggles the orientation strip, off and back on.
One channel is opt in. Every popup carries a live match preview checkbox. Tick it, start a real Matching tab optimisation, and the plot re draws with the matcher's current iterate as it works. Watch the envelope change while the quadrupole is tuned. The preview never overwrites committed results. When the match ends, the popup snaps back.
Every popup exports through one dialog, on Control S. C S V, numpy, JSON, or H D F five for data. P N G, J P E G, S V G, or P D F for the figure. Here the beam size data lands as C S V, the figure as P N G. The toolbar exports the whole run as open P M D, the portable particle standard, and Import Results reads it straight back. The header and the sparklines repopulate from disk, and anything the file does not carry stays honestly blank.
That is the Results tab at full depth. Nine sections, forty seven tiles, a window for every question a run can raise. Sizes, tunes, losses in watts, stripping physics, dispersion, cross checks, and the sigma matrix under it all. Run, read the wall, open what matters, export what you need. Other episodes give the campaign tabs and the assistant the same depth. See you there.