Recipes: a waveguide example recipe (a gas-filled tutorial with a plain from_waveguide)

Aperta
#402 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
Mezza giornata
Idoneità per principianti
55/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
python
Ambito
tooling

Direzione di ricerca

Start with the recipe format and the waveguide route it feeds, then pick a gallery script that uses Simulation.from_waveguide with supplied modes and a literal energy, since that is the closest match. Add a waveguide example recipe under solprop.recipe.examples that mirrors that script, and check it against the route's existing tests. Done means the recipe builds through the route and an equivalence test shows it matches the script's result.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

area: interfaces area: waveguides enhancement priority: low

The waveguide route takes recipes (SEP 41), but none of the seven gallery scripts on it can be written as one: five build the guide from a provider, which has no table form, one passes an array to with_input, and one uses a metal cladding, which is not registered. The route is tested against the guide's calls instead.

A short gas-filled waveguide tutorial built with a plain Simulation.from_waveguide (supplied modes, a literal energy) would give the route an example recipe in solprop.recipe.examples, which a front end starts from, and an equivalence test against the script it mirrors.

Follow-up from SEP 41 (Part II, phase 4 reports).

Lingua principale
Python
Stelle
3
Fork
3
Merge medio
4h 42m
PR unite (30g)
91

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di LupoLab/solprop

Tutte le issue di LupoLab/solprop

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.