Muon g-2 & PSXM modelling
Two research studies connected to the muon g-2 experiment: a toy analysis of decay-positron time spectra, followed by a numerical study of a six-coil steering magnet for spiral injection.
Two research studies connected to the muon g-2 experiment: a toy analysis of decay-positron time spectra, followed by a numerical study of a six-coil steering magnet for spiral injection.
The toy study extracts the anomalous precession frequency ωa from simulated decay-positron times and compares the fitted value with the known input. One saved fit differs from that input by 0.64 reported standard errors; this is a single-fit comparison.
The toy pipeline uses N(t) = N₀ e−t/τ[1 + A cos(ωat + φ)] for the five-parameter time-spectrum fit. I worked on its Python generation and analysis code, debugging, fitting and visualisation, with AI-assisted implementation in the first version. Saved outputs contain 10.99 million selected positron counts. I compared toy and ROOT-data residuals using FFT analysis and documented assumptions and mismatches in a 12-page technical report.
Each press of "New toy data" draws a fresh decay spectrum from the five-parameter model with hidden values of A, ωa and φ, plus Poisson-like noise. Move the sliders until the curve follows the data; χ²/ndf near 1 means a statistically good fit. The script fits the same model with SciPy.
I formulated a six-coil magnet model in Python/NumPy and used least-squares current solves to investigate dipole and quadrupole field patterns. I compared numerical results with an analytic ideal-shell reference and examined the trade-off between shielding radius and field capability within the 2D approximation.
I co-authored a 19-page design report with Zejia Lu under Professor Liang Li and presented the study to SJTU–KEK collaborators. The results describe a numerical magnetostatic model, not measured hardware performance.

Python · NumPy for event generation · SciPy / least-squares fitting · Matplotlib for the wiggle plots and residuals.