Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pygem/rbf.py
Original file line number Diff line number Diff line change
Expand Up @@ -392,8 +392,8 @@ def __call__(self, src_pts):
H = np.zeros((src_pts.shape[0], self.n_control_points + 3 + 1))
H[:, :self.n_control_points] = self.basis(
cdist(src_pts, self.original_control_points),
self.radius)
#**self.extra)
self.radius,
**self.extra)
H[:, self.n_control_points] = 1.0
H[:, -3:] = src_pts
return np.asarray(np.dot(H, self.weights))
1 change: 0 additions & 1 deletion tests/test_datasets/parameters_rbf_bugged_01.prm
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ basis function: gaussian_spline
# of the class RBF for details.
radius: 0.5

power = 2

[Control points]
# This section describes the RBF control points.
Expand Down
1 change: 0 additions & 1 deletion tests/test_datasets/parameters_rbf_bugged_02.prm
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ basis function: gaussian_splines
# of the class RBF for details.
radius: 0.5

power = 2

[Control points]
# This section describes the RBF control points.
Expand Down
3 changes: 0 additions & 3 deletions tests/test_datasets/parameters_rbf_cube.prm
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ basis function: gaussian_spline
# of the class RBF for details.
radius: 0.5

# The power parameter k for polyharmonic spline
# See the documentation for details
power: 2


[Control points]
Expand Down
3 changes: 0 additions & 3 deletions tests/test_datasets/parameters_rbf_cube_out_true.prm
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ basis function: gaussian_spline
# of the class RBF for details.
radius: 0.5

# The power parameter k for polyharmonic spline
# See the documentation for details
power: 2


[Control points]
Expand Down
3 changes: 0 additions & 3 deletions tests/test_datasets/parameters_rbf_default.prm
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ basis function: gaussian_spline
# of the class RBF for details.
radius: 0.5

# The power parameter k for polyharmonic spline
# See the documentation for details
power: 2


[Control points]
Expand Down