def interpolate_pixtab(self, pixtab_df, update_params=False, *args, **kwargs): print("Iniciando interpolador Amoeba-Borovicka...") if update_params: self.PARAMS = self.update_params(self.PARAMS, pixtab_df, *args, **kwargs) self.altura = construct_altura_deg(*self.PARAMS) self.azimut = construct_azimuth_deg(*self.PARAMS) X0, Y0 = self.PARAMS[10:12] print("Interpolando con cenith x: {}, y: {}...".format(X0, Y0)) df = self._interpolate_df() print("Interpolacion finalizada.") return df
def __init__(self, params = None, *args, **kwargs): if params: self.PARAMS = params self.altura = construct_altura_deg(*self.PARAMS) self.azimut = construct_azimuth_deg(*self.PARAMS)
def xi(C, A, F, V, S, D, P, Q, E, ep, X0, Y0, a0): az_teorico = construct_azimuth_deg(C, A, F, V, S, D, P, Q, E, ep, X0, Y0, a0) return (z - az_teorico(x, y))**2