Calculate barrier from a 2D landscape
calculate_barrier_2d(
l,
start_location_value = 0,
start_r = 0.1,
end_location_value = 0.7,
end_r = 0.15,
base = exp(1)
)
A 2d_static_landscape
object (recommended) or a density
distribution.
The initial position (in value) for searching the start/end point.
The searching radius for searching the start/end point.
The base of the log function.
A barrier_2d
object that contains the barrier calculation result.