Skip to content

receptors

receptors

PyAERMOD Receptor dataclasses.

Contains CartesianGrid, PolarGrid, DiscreteReceptor, and the ReceptorPathway collection.

This module is an internal implementation detail. Public imports should go through :mod:pyaermod.input_generator (the backwards-compatible facade) or :mod:pyaermod.api.

CartesianGrid dataclass

AERMOD Cartesian receptor grid (GRIDCART)

Creates a regular rectangular grid of receptors.

from_bounds classmethod

from_bounds(x_min: float, x_max: float, y_min: float, y_max: float, spacing: float = 100.0, grid_name: str = 'GRID1') -> CartesianGrid

Create grid from bounding box and spacing

to_aermod_input

to_aermod_input() -> str

Generate AERMOD RE pathway text.

AERMOD requires GRIDCART blocks wrapped in STA/END: GRIDCART name STA XYINC ... GRIDCART name END

PolarGrid dataclass

AERMOD polar receptor grid (GRIDPOLR)

Creates receptors in polar coordinates (distance and direction from origin).

to_aermod_input

to_aermod_input() -> str

Generate AERMOD RE pathway text.

AERMOD requires GRIDPOLR blocks wrapped in STA/END.

DiscreteReceptor dataclass

Individual receptor at specific location

to_aermod_input

to_aermod_input() -> str

Generate AERMOD DISCCART line

ReceptorPathway dataclass

Collection of receptor grids and discrete receptors

add_cartesian_grid

add_cartesian_grid(grid: CartesianGrid)

Add Cartesian grid

add_polar_grid

add_polar_grid(grid: PolarGrid)

Add polar grid

add_discrete_receptor

add_discrete_receptor(receptor: DiscreteReceptor)

Add discrete receptor

to_aermod_input

to_aermod_input() -> str

Generate AERMOD RE pathway text