Skip to content

Commit be81e67

Browse files
committed
added extended docstring description
1 parent 3a8a617 commit be81e67

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

diffpy/snmf/subroutines.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,10 @@ def update_weights(components, data_input, method=None):
180180

181181

182182
def reconstruct_signal(components, signal_idx):
183-
"""Reconstructs a specific signal from its weighted and stretched components
183+
"""Reconstructs a specific signal from its weighted and stretched components.
184+
185+
Calculates the linear combination of stretched components where each term is the stretched component multiplied
186+
by its weight factor.
184187
185188
Parameters
186189
----------

0 commit comments

Comments
 (0)