Skip to content

Commit 587c5d6

Browse files
author
Filippo Ballerini
committed
Fixed some typos
1 parent 6750f26 commit 587c5d6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/diffpy/snmf/subroutines.py

Lines changed: 4 additions & 4 deletions
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,10 +359,10 @@ 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
365-
component_matrix: 2d array lik
365+
component_matrix: 2d array like
366366
The matrix containing the unstretched calculated component signals. Has dimensions N x K where N is the
367367
length of the signals and K is the number of component signals.
368368

0 commit comments

Comments
 (0)