find_best_a_naive3

tolteca.recipes.autodrive.find_best_a_naive3(a, y, n_flat, thresh, n_accept)[source]

A simple brutal force finder of the best atten value.

The algorithm goes through the values in decreasing order and looks for the first group of points that have y higher by some factor.