pyrad.util.find_rng_index#
- pyrad.util.find_rng_index(rng_vec, rng, rng_tol=0.0)[source]#
Find the range index corresponding to a particular range
- Parameters:
rng_vec (float array) – The range data array where to look for
rng (float) – The range to search
rng_tol (float) – Tolerance [m]
- Returns:
ind_rng (int) – The range index