Skip to content

Commit 65a8618

Browse files
author
Filippo Ballerini
committed
Fixed typos in docstring of subroutines.py
1 parent 3352045 commit 65a8618

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/diffpy/snmf/subroutines.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,9 @@ def construct_component_matrix(components):
112112
def construct_weight_matrix(components):
113113
"""Constructs the weights matrix.
114114
115-
Constructs a Ķ x M matrix where K is the number of components and M is the
115+
Constructs a K x M matrix where K is the number of components and M is the
116116
number of signals. Each element is the stretching factor for a specific
117-
weights for a specific signal from the data input.
117+
weight factor for a specific signal from the data input.
118118
119119
Parameters
120120
----------
@@ -359,7 +359,7 @@ def update_weights_matrix(
359359
The length of the experimental signal patterns
360360
361361
stretching_factor_matrix: 2d array like
362-
The matrx containing the stretching factors of the calculated component signals. Has dimensions K x M
362+
The matrix containing the stretching factors of the calculated component signals. Has dimensions K x M
363363
where K is the number of component signals and M is the number of XRD/PDF patterns.
364364
365365
component_matrix: 2d array like

0 commit comments

Comments
 (0)