Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
torch-harmonics
Commits
42067ef2
Commit
42067ef2
authored
Jul 17, 2025
by
Andrea Paris
Committed by
Boris Bonev
Jul 21, 2025
Browse files
updated docstring
parent
8f80d1b2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
torch_harmonics/filter_basis.py
torch_harmonics/filter_basis.py
+2
-2
No files found.
torch_harmonics/filter_basis.py
View file @
42067ef2
...
@@ -117,12 +117,12 @@ class PiecewiseLinearFilterBasis(FilterBasis):
...
@@ -117,12 +117,12 @@ class PiecewiseLinearFilterBasis(FilterBasis):
@
property
@
property
def
kernel_size
(
self
):
def
kernel_size
(
self
):
"""
"""
Compute the
kernel size for piecewise linear basis
.
Compute the
number of basis functions in the kernel
.
Returns
Returns
-------
-------
kernel_size: int
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
return
(
self
.
kernel_shape
[
0
]
//
2
)
*
self
.
kernel_shape
[
1
]
+
self
.
kernel_shape
[
0
]
%
2
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment