Commit 42067ef2 authored by Andrea Paris's avatar Andrea Paris Committed by Boris Bonev
Browse files

updated docstring

parent 8f80d1b2
......@@ -117,12 +117,12 @@ class PiecewiseLinearFilterBasis(FilterBasis):
@property
def kernel_size(self):
"""
Compute the kernel size for piecewise linear basis.
Compute the number of basis functions in the kernel.
Returns
-------
kernel_size: int
The size of the kernel
The number of basis functions in the kernel
"""
return (self.kernel_shape[0] // 2) * self.kernel_shape[1] + self.kernel_shape[0] % 2
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment