docs: "Spectral pipelines with pipekit" + barotropic-vorticity reference example
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 35/100
- Issue type
- Documentation
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- python
- Domain
- documentation, testing
Research direction
Read the dependencies #152 and pipekit E1.3 (ScanCycle), then inspect the Graph, Spectral, Enstrophy, and RK4 entry points; the issue gives no file paths. Build the barotropic-vorticity example and stability note, compare gradients against finite differences, and add a CPU CI run under 60 seconds at N=64 with assertions for the printed transform counts.
Written by the indexing model from the issue text.
Description
Part of epic #148. Depends on: #152 (E4.2), pipekit E1.3 (ScanCycle)
Content
- Why the carrier. Show the A / P / S transform-budget table: XLA merges identical transforms of the same array, but does not cancel an inverse→forward pair.
- Barotropic vorticity ∂ₜq = −J(ψ, q) − ν(−∇²)²q as a
GraphonSpectral(q̂)→ RK4 →ScanCycle, with an enstrophy time series fromEnstrophy. The model itself lives in somax (#13 moves there); this is the one from-scratch example kept in spectraldiffx. - Stability note (cost the prototype one run): the hyperviscous stiffness at the corner mode is ν(kₓ² + k_y²)²_max. At N = 128 on 2π that is ν·(2·64²)² ≈ 6.7e7·ν, so explicit RK4 needs ν·6.7e7·dt < 2.79. Document the bound and point to IMEX / integrating-factor steppers (#110's hyperviscous Helmholtz inverse) for stiffer settings.
- Gradients. ∇ w.r.t. q₀ (4DVar-style) and w.r.t. ν, both against finite differences.
Acceptance criteria
- Example runs in CI on CPU in under 60 s (N = 64, short window).
- The printed transform counts are asserted, not just displayed.
Generated by Claude Code
- Dominant language
- Python
- Stars
- 2
- Forks
- 0
- Avg merge
- 8h 13m
- Merged PRs (30d)
- 8
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from jejjohnson/spectraldiffx
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
jejjohnson/spectraldiffx#172 ·
-
epic
Difficulty 1/5 Under an hour Newbie friendliness 62/100
jejjohnson/spectraldiffx#167 · 1 comment ·
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
jejjohnson/spectraldiffx#113 ·
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
jejjohnson/spectraldiffx#105 ·
-
dependencies
Difficulty 4/5 3-5 days Newbie friendliness 45/100
jejjohnson/spectraldiffx#181 ·
All issues in jejjohnson/spectraldiffx
Similar issues
-
bug(operator): VolterraOperator built inside jax.jit with a concrete decay raises TracerBoolConversionErrorPossibly taken @jejjohnson claimed this today. Opentype:bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
jejjohnson/integrix#144 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
finos/ai-governance-framework#459 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
autowarefoundation/autoware_carla_scenario#2963 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
freelawproject/litigant-portal#1307 ·
Maintainers usually reply within 2 days
-
type/bug
Difficulty 1/5 Under an hour Newbie friendliness 86/100
h2oai/h2o-llmstudio#1163 ·
Maintainers usually reply within 1 day