Module gonioanalysis.binary_search
binary_search.py Determining binocular overlap by half-interval search.
DESCRIPTION
TODO - examination mode, fine tune changes - combine binarySearchs to a single function for easier mainantance - remove reverse option from binarySearch
Functions
def binary_search_left(N_images, shower, midpoint, reverse=False)
-
Search for the border where pseudopupils are visible simultaneously. Left side search.
shower UI class
def binary_search_middle(N_images, shower, reverse=False)
-
Search for the border where pseudopupils are visible simultaneously. Midpoint search.
shower UI class
def binary_search_right(N_images, shower, midpoint, reverse=False)
-
Search for the border where pseudopupils are visible simultaneously. Right side search.
shower UI class
def calcM(L, R)
-
Calculate m used in the binary search.
def inputRead()
def main()