pNeuma_simulator.shadowcasting.shadowcasting module
- pNeuma_simulator.shadowcasting.shadowcasting.shadowcasting(matrix: ndarray, origin: tuple, grid: float, L: float, d_max: float) list[source]
https://www.albertford.com/shadowcasting/
- Parameters:
matrix (np.ndarray) – background grid
origin (tuple) – position on the grid
grid (float) – grid size in meters
L (float) – road length in meters
d_max (float) – horizon distance
- Returns:
list of interactions
- Return type:
list