Skip to content

Fixtures: exSpy pins for task 16 sections 1, 2, 4 - #4

Merged
Paullo9 merged 1 commit into
mainfrom
claude/project-thread-o29oax
Oct 22, 2026
Merged

Paullo9 merged 1 commit into
mainfrom
claude/project-thread-o29oax

Conversation

@Paullo9

@Paullo9 Paullo9 commented Oct 21, 2026

Copy link
Copy Markdown
Contributor

Requested by Paul · project thread

What

Reference pins for docs/design/eels-task-16.md (zero-loss alignment and mask, power-law extrapolation, Hanning taper, Fourier-log, Fourier-ratio, optimal_fft_size), produced from exSpy 0.3.2 / HyperSpy 2.4.0 (the design's pins; NumPy 2.5.4, SciPy 1.18.1) on deterministic synthetic spectrum images with planted shifts. No Swift, no tests; GOS tables, the edge model fit and Richardson-Lucy are not covered.

  • tools/eels-task16/pins.py + README.md: generator and findings. Second run is byte-identical (sha256 over all files).
  • Tests/SpectroEELSTests/Fixtures/eels16-pins.json + 58 eels16-*.f64 (2.8 MB).
  • tools/eels-task16/parity-rows-draft.md: parity.md row drafts with tolerances (upstream and kit).

Things the port must know (details in the README)

  • exSpy's Fourier-ratio result carries a factor 1/scale (its Gaussian is a density per eV).
  • Fourier-log returns S convolved with Z/I0, not S; planted-truth test compares with that.
  • An ndarray navigation mask must be (nx, ny) in exSpy; the pins pass a signal instead.
  • Without signal_range, a spike above the ZLP drags the alignment (pinned as exSpy behaves).

Not run

Nothing Swift here (cloud). The Mac session writes AlignPinsTests / DeconvPinsTests against these.


Generated by Claude Code

Zero-loss alignment and mask, Hanning taper, power-law extrapolation, optimal_fft_size,
Fourier-log and Fourier-ratio pinned from exSpy 0.3.2 / HyperSpy 2.4.0 on deterministic
synthetic spectrum images with planted shifts; generator tools/eels-task16/pins.py,
parity row drafts beside it. No Swift.

Done: fixtures, generator and parity drafts. Next: a Mac session implements task 16 step 1 against them.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cx4WVLAXjQygBWkDJvoHWD
@Paullo9 Paullo9 self-assigned this Oct 21, 2026
@Paullo9
Paullo9 marked this pull request as ready for review October 22, 2026 06:42
@Paullo9
Paullo9 merged commit 6302b0b into main Oct 22, 2026
3 checks passed
@Paullo9
Paullo9 deleted the claude/project-thread-o29oax branch October 22, 2026 06:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants