Skip to content

Commit 4c05888

Browse files
author
John Halloran
committed
docs: updated default documentation for init_weights
1 parent 98db94c commit 4c05888

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/diffpy/snmf/snmf_class.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def __init__(
8383
----------
8484
source_matrix : ndarray
8585
The data to be decomposed. Shape is (length_of_signal, number_of_conditions).
86-
init_weights : ndarray Optional Default = rng.beta(a=2.5, b=1.5, size=(n_components, n_signals))
86+
init_weights : ndarray Optional Default = rng.beta(a=2.0, b=2.0, size=(n_components, n_signals))
8787
The initial guesses for the component weights at each stretching condition.
8888
Shape is (number_of_components, number_of_signals) Must provide exactly one
8989
of this or n_components.

0 commit comments

Comments
 (0)