Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion diffpy/pdfmorph/refine.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"""

from scipy.optimize import leastsq
from scipy.stats.stats import pearsonr
from scipy.stats import pearsonr
from numpy import exp, dot, ones_like, concatenate


Expand Down
2 changes: 1 addition & 1 deletion diffpy/pdfmorph/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def getRw(chain):


def getPearson(chain):
from scipy.stats.stats import pearsonr
from scipy.stats import pearsonr

xobj, yobj, xref, yref = chain.xyallout
pcc, pval = pearsonr(yobj, yref)
Expand Down