Skip to content

Commit

Permalink
Fixed some typos
Browse files Browse the repository at this point in the history
  • Loading branch information
Filippo Ballerini committed Oct 29, 2024
1 parent 6750f26 commit 587c5d6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/diffpy/snmf/subroutines.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,9 @@ def construct_component_matrix(components):
def construct_weight_matrix(components):
"""Constructs the weights matrix.
Constructs a Ķ x M matrix where K is the number of components and M is the
Constructs a K x M matrix where K is the number of components and M is the
number of signals. Each element is the stretching factor for a specific
weights for a specific signal from the data input.
weight factor for a specific signal from the data input.
Parameters
----------
Expand Down Expand Up @@ -359,10 +359,10 @@ def update_weights_matrix(
The length of the experimental signal patterns
stretching_factor_matrix: 2d array like
The matrx containing the stretching factors of the calculated component signals. Has dimensions K x M
The matrix containing the stretching factors of the calculated component signals. Has dimensions K x M
where K is the number of component signals and M is the number of XRD/PDF patterns.
component_matrix: 2d array lik
component_matrix: 2d array like
The matrix containing the unstretched calculated component signals. Has dimensions N x K where N is the
length of the signals and K is the number of component signals.
Expand Down

0 comments on commit 587c5d6

Please sign in to comment.