find_best_a_naive2

tolteca.recipes.autodrive.find_best_a_naive2(a, y, n_init, n_sigma)[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 point hat has y higher by some factor of the standard deviation.