Skip to main content

Fieldtracing

Numerische Referenzimplementierung und Testprogramme zum Paper „Theoretische Grundlagen des Field Tracing“: hybride Felddarstellung U·exp(iψ), geometrische Feldpropagation mit Jacobi-Faktor und Maslov-Index, punktweise und semi-analytische Fourier-Transformation (PFT, SFT), lokale Ebene-Grenzflächen-Näherung (LPIA), Kantenbeugung und Fokussierung.

Ziel: Die hier geprüften Bausteine sollen später Raytatouille um Field Tracing erweitern. Deshalb gelten hier dieselben Konventionen (mm, µm, rad, exp(i(k·r − ωt)), Fresnel-Convention A), und jede Formel wird gegen eine unabhängige Referenz getestet, bevor sie portiert wird.

Stand: Die Meilensteine F0–F5 sind abgeschlossen: alle Bausteine in 1D und 2D, hybride Darstellung mit Operatorkette und Planer, Integrationstest des Beispiels aus Abschnitt 7.5, lesende Brücke zu Raytatouille und der vom Maintainer freigegebene Integrationsvorschlag (ADR-Entwurf, API-Skizze, Sollwertdateien unter reference/field/). Der Port (F6) geschieht in Raytatouille nach dessen Release v1.0 (M8). Plan und Nacharbeiten: docs/roadmap.md.

Installieren und testen

Als Paket (PyPI-Name photonpower-fieldtracing, der Name fieldtracing ist dort vergeben; im Code weiter import fieldtracing):

pip install photonpower-fieldtracing

Zum Entwickeln:

python -m venv .venv && source .venv/bin/activate      # Windows: .venv\Scripts\activate
pip install -r requirements-dev.txt
pip install -e .
pytest                       # alle Referenztests
ruff check . && ruff format --check . && mypy

Python ≥ 3.10; Laufzeitabhängigkeiten nur NumPy und SciPy.

Aufbau

src/fieldtracing/        Python-Paket (Code und Kommentare englisch)
  fourier.py             Fourier-Konvention des Papers auf zentrierten Gittern
  propagation.py         Winkelspektrum, Rayleigh-Sommerfeld- und Van-Vleck-Kern
  semiclassical.py       geometrische Propagation: Jacobi-Gesetz, Maslov-Index
  pft.py, sft.py         punktweise und semi-analytische Fourier-Transformation
  edge.py                Kantenwelle und gleichmäßige erfc-Lösung
  focus.py               Fokuskette mit exakt sphärischer Phase, Airy-Integral
  lpia.py                vektorielles Snellius-Gesetz, Fresnel-Operator (3×3)
  selection.py           Kennzahlen und Auswahlregeln (Kapitel 7)
  field.py               hybride Darstellung: GridlessField, GriddedField
  mesh.py                Jacobi-Faktor und Kaustiken aus unstrukturierten Strahlwolken
  chain.py               Operatoren mit Protokoll, Planer, Operatorkette
  rtt_bridge.py          Strahldaten aus Raytatouille → hybrides Feld (ADR 0004)
  results.py             Sollwertdateien im Format raytatouille-result
tests/                   pytest, ein Testmodul je Baustein, Sollwerte unabhängig berechnet
reference/field/         Sollwertdateien für den Port
tools/                   Erzeugen der Sollwertdateien
experiments/             explorative Skripte (nicht Teil der Tests)
docs/                    Plan, Konventionen, Architektur, Testfälle, Quellen, ADRs, Paper

Dokumentation

Lizenz

MIT, siehe LICENSE.

Metadata

Release files for photonpower-fieldtracing 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for photonpower-fieldtracing 0.1.0
File Size Uploaded Provenance Actions
photonpower_fieldtracing-0.1.0.tar.gz 111.5 kB With provenance Details for photonpower_fieldtracing-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for photonpower-fieldtracing 0.1.0
File Interpreter ABI Platform Actions
photonpower_fieldtracing-0.1.0-py3-none-any.whl Python 3 none any Details for photonpower_fieldtracing-0.1.0-py3-none-any.whl

Total release size: 177.5 kB

Release files / photonpower_fieldtracing-0.1.0.tar.gz

Download URL photonpower_fieldtracing-0.1.0.tar.gz
Size 111.5 kB
Tags Source
SHA-256 checksum
How to use checksums
4b09ad09ab8ad5febbd56e679699be2b3c555bb6cf24e85e6577c3ff2741231b
BLAKE2b-256 checksum
How to use checksums
7646cf0c92211cabfe406712977d7637ca4253aee9dc0db61b8f3fbd1364f871
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 17, 2026.

Transparency log

Release files / photonpower_fieldtracing-0.1.0-py3-none-any.whl

Download URL photonpower_fieldtracing-0.1.0-py3-none-any.whl
Size 66.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
872ad5d7b4ea750d50ab81202720dd5a5d055cc389fbb2d9f207fbee899fe16b
BLAKE2b-256 checksum
How to use checksums
cc4064fecbfae2a4fc628fa7499573c009d4c2af36b13cdb39cbd8aa272514fa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 17, 2026.

Transparency log

Security for photonpower-fieldtracing 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for photonpower_fieldtracing-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 17, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page