Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 17ab94d

Browse files
authored
Fix doc string of synthesize() (sfstoolbox#165)
1 parent 2391e1e commit 17ab94d

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

sfs/fd/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,7 @@ def synthesize(d, weights, ssd, secondary_source_function, **kwargs):
5353
This signature is expected::
5454
5555
secondary_source_function(
56-
position, normal_vector, weight, driving_function_weight,
57-
**kwargs) -> numpy.ndarray
56+
position, normal_vector, **kwargs) -> numpy.ndarray
5857
5958
**kwargs
6059
All keyword arguments are forwarded to *secondary_source_function*.

sfs/td/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,7 @@ def synthesize(signals, weights, ssd, secondary_source_function, **kwargs):
3737
This signature is expected::
3838
3939
secondary_source_function(
40-
position, normal_vector, weight, driving_signal,
41-
**kwargs) -> numpy.ndarray
40+
position, normal_vector, **kwargs) -> numpy.ndarray
4241
4342
**kwargs
4443
All keyword arguments are forwarded to *secondary_source_function*.

0 commit comments

Comments
 (0)