momepy.limit_range

momepy.limit_range(vals, rng)[source]

Extract values within selected range

Parameters:
vals : array
rng : Two-element sequence containing floats in range of [0,100], optional

Percentiles over which to compute the range. Each must be between 0 and 100, inclusive. The order of the elements is not important.

Returns
——-
array

limited array