def __init__(self, g_pool,params,params_eye0,params_eye1): super(Binocular_Gaze_Mapper, self).__init__(g_pool) self.params = params self.params_eye0 = params_eye0 self.params_eye1 = params_eye1 self.multivariate = True self.map_fn = make_map_function(*self.params) self.map_fn_fallback = [] self.map_fn_fallback.append(make_map_function(*self.params_eye0)) self.map_fn_fallback.append(make_map_function(*self.params_eye1))
def __init__(self, g_pool,params, interpolParams): super(Binocular_Glint_Gaze_Mapper, self).__init__(g_pool) self.params = params self.paramsInterpol = interpolParams self.map_fns = (make_map_function_two_glints(*self.params[0:3]),make_map_function_two_glints(*self.params[3:6])) self.map_fns_interpol = (make_map_function(*self.paramsInterpol[0:3]),make_map_function(*self.paramsInterpol[3:6]))
def __init__(self, g_pool,params): super(Binocular_Gaze_Mapper, self).__init__(g_pool) self.params = params self.map_fns = (make_map_function(*self.params[0:3]),make_map_function(*self.params[3:6]))
def __init__(self, g_pool, params, interpolParams): super(Glint_Gaze_Mapper, self).__init__(g_pool) self.params = params self.map_fn = make_map_function_two_glints(*params) self.interpol_params = interpolParams self.interpol_map = make_map_function(*interpolParams)
def __init__(self, g_pool,params0,params1): super(Dual_Monocular_Gaze_Mapper, self).__init__(g_pool) self.params0 = params0 self.params1 = params1 self.map_fns = (make_map_function(*self.params0),make_map_function(*self.params1))
def __init__(self, g_pool,params): super(Monocular_Gaze_Mapper, self).__init__(g_pool) self.params = params self.map_fn = make_map_function(*self.params)