def __init__(self, data): LevmarFitter.__init__(self, ["A_t", "x_0", "r_x", "y_0", "r_y", "off"], data) cache_x = np.empty(data.shape[1], dtype=float) cache_y = np.empty(data.shape[0], dtype=float) self.cache = (cache_x, cache_y)
def __init__(self, data): LevmarFitter.__init__(self, ["A", "x_0", "s", "off"], data) cache_z = np.empty_like(self._f) cache_e = np.empty_like(self._f) self.cache = (cache_z, cache_e)
def __init__(self, data): LevmarFitter.__init__(self, ["A", "x_0", "s_x", "y_0", "s_y", "alpha", "off"], data)
def __init__(self, data): LevmarFitter.__init__(self, ["A", "x_0", "s_x", "y_0", "s_y", "off"], data) cache_ex = np.empty(data.shape[1], dtype = DEFAULT_TYPE_NPY) cache_ey = np.empty(data.shape[0], dtype = DEFAULT_TYPE_NPY) self.cache = (cache_ex, cache_ey)