docs: "Spectral pipelines with pipekit" + barotropic-vorticity reference example

Abierto
#155 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
35/100
Tipo de issue
Documentación
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
python

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

documentation

Part of epic #148. Depends on: #152 (E4.2), pipekit E1.3 (ScanCycle)

Content

  1. 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.
  2. Barotropic vorticity ∂ₜq = −J(ψ, q) − ν(−∇²)²q as a Graph on Spectral(q̂) → RK4 → ScanCycle, with an enstrophy time series from Enstrophy. The model itself lives in somax (#13 moves there); this is the one from-scratch example kept in spectraldiffx.
  3. 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.
  4. 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

Lenguaje dominante
Python
Estrellas
2
Forks
0
Merge medio
8 h 13 min
PR fusionados (30 d)
8

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de jejjohnson/spectraldiffx

Todos los issues de jejjohnson/spectraldiffx

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.