find_limits
Returns the indices corresponding to the vmax
and vmin
key-word arguments parsed found in the ordered
array wv
.
- param wv:
Ordered range.
- type wv:
np.ndarray
- keyword vmin:
Lower bound value to find index in
wv
.- kwtype vmin:
float
- keyword vmax:
Upper bound value to find index in
wv
.- kwtype vmax:
float
- returns:
Index of
vmin
and index ofvmax
.- rtype:
tuple