differt.em.AbstractFieldSolver#
- class AbstractFieldSolver[source]#
Bases:
ModuleAbstract base class for all EM field solvers.
A field solver computes the received complex field(s) from a set of paths (however they were obtained) and the geometry/materials they interacted with.
This mirrors the path solver hierarchy (
AbstractPathSolver): subclasses are expected to target a specific kind of paths, e.g.,GeometricFieldSolverforTracedPaths, or, in the future, a solver forLaunchedPaths.Methods
compute_fields(paths, mesh, frequency)Compute the received complex fields for the given paths.
Detailed documentation
- abstractmethod compute_fields(paths, mesh, frequency)[source]#
Compute the received complex fields for the given paths.
Solver-specific configuration (e.g., antenna polarization, radio materials) belongs on the solver instance itself, as attributes, rather than as extra arguments here – see, e.g.,
GeometricFieldSolver’s attributes.- Parameters:
paths (
Any) – The paths.mesh (
Mesh) – The triangle mesh of the scene.frequency (
Float[ArrayLike, "*#batch"]) – The operating frequency (or frequencies) in Hz.
- Return type:
- Returns:
The received complex fields.