Skip to content

Commit c44580f

Browse files
committed
cleaned up docstrings
removed references to unused functions
1 parent f7b77fd commit c44580f

File tree

5 files changed

+2
-16
lines changed

5 files changed

+2
-16
lines changed

pyleoclim/core/corr.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,8 @@ class Corr:
6262
See also
6363
--------
6464
65-
pyleoclim.utils.correlation.corr_sig : Correlation function
66-
6765
pyleoclim.utils.correlation.fdr : FDR function
66+
pyleoclim.utils.correlation.association : workhorse function to compute various metrics of association
6867
'''
6968

7069
def __init__(self, r, p, r_crit, signif, alpha, p_fmt_td=0.01, p_fmt_style='exp'):

pyleoclim/core/correns.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,8 @@ class CorrEns:
8080
8181
See also
8282
--------
83-
84-
pyleoclim.utils.correlation.corr_sig : Correlation function
8583
84+
pyleoclim.utils.correlation.association : workhorse function to compute various metrics of association
8685
pyleoclim.utils.correlation.fdr : FDR (False Discovery Rate) function
8786
'''
8887

pyleoclim/utils/correlation.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,6 @@ def fdr(pvals, qlevel=0.05, method='original', adj_method=None, adj_args={}):
130130
See also
131131
--------
132132
133-
pyleoclim.utils.correlation.corr_sig : Estimates the Pearson's correlation and associated significance between two non IID time series
134133
135134
136135
References
@@ -206,9 +205,6 @@ def corr_ttest(y1, y2, alpha=0.05, df_min=10):
206205
See also
207206
--------
208207
209-
pyleoclim.utils.correlation.corr_sig : Estimates the Pearson's correlation and associated significance between two non IID time series
210-
pyleoclim.utils.correlation.corr_isopersist : Estimate Pearson's correlation and associated significance using AR(1)
211-
pyleoclim.utils.correlation.corr_isospec : Estimate Pearson's correlation and associated significance using phase randomization
212208
pyleoclim.utils.correlation.fdr : Determine significance based on the false discovery rate
213209
214210
"""
@@ -409,7 +405,6 @@ def fdr_basic(pvals,qlevel=0.05):
409405
See also
410406
--------
411407
412-
pyleoclim.utils.correlation.corr_sig : Estimates the Pearson's correlation and associated significance between two non IID time series
413408
pyleoclim.utils.correlation.fdf : Determine significance based on the false discovery rate
414409
415410
References
@@ -459,7 +454,6 @@ def fdr_master(pvals, qlevel=0.05, method='original'):
459454
See also
460455
--------
461456
462-
pyleoclim.utils.correlation.corr_sig : Estimates the Pearson's correlation and associated significance between two non IID time series
463457
pyleoclim.utils.correlation.fdf : Determine significance based on the false discovery rate
464458
465459
References
@@ -496,7 +490,6 @@ def storey(edf_quantile, pvals):
496490
See also
497491
--------
498492
499-
pyleoclim.utils.correlation.corr_sig : Estimates the Pearson's correlation and associated significance between two non IID time series
500493
pyleoclim.utils.correlation.fdf : Determine significance based on the false discovery rate
501494
502495
References
@@ -545,7 +538,6 @@ def prop_alt(pvals, adj_method='mean', adj_args={'edf_lower': 0.8, 'num_steps':
545538
See also
546539
--------
547540
548-
pyleoclim.utils.correlation.corr_sig : Estimates the Pearson's correlation and associated significance between two non IID time series
549541
pyleoclim.utils.correlation.fdf : Determine significance based on the false discovery rate
550542
551543
References

pyleoclim/utils/tsmodel.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,6 @@ def isopersistent_rn(y, p):
298298
See also
299299
--------
300300
301-
pyleoclim.utils.correlation.corr_sig : Estimates the Pearson's correlation and associated significance between two non IID time series
302301
pyleoclim.utils.correlation.fdr : Determine significance based on the false discovery rate
303302
304303
Notes
@@ -340,7 +339,6 @@ def sm_ar1_sim(n, p, g, sig):
340339
See also
341340
--------
342341
343-
pyleoclim.utils.correlation.corr_sig : Estimates the Pearson's correlation and associated significance between two non IID time series
344342
pyleoclim.utils.correlation.fdr : Determine significance based on the false discovery rate
345343
346344
'''

pyleoclim/utils/tsutils.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1934,7 +1934,6 @@ def make_even_axis(x=None,start=None,stop=None,step=None,step_style=None,no_nans
19341934
# See also
19351935
# --------
19361936
#
1937-
# pyleoclim.utils.correlation.corr_sig : Estimates the Pearson's correlation and associated significance between two non IID time series
19381937
# pyleoclim.utils.correlation.fdr : Determine significance based on the false discovery rate
19391938
#
19401939
# References
@@ -2001,7 +2000,6 @@ def phaseran(y, nsurr):
20012000
See also
20022001
--------
20032002
2004-
pyleoclim.utils.correlation.corr_sig : Estimates the Pearson's correlation and associated significance between two non IID time series
20052003
pyleoclim.utils.correlation.fdr : Determine significance based on the false discovery rate
20062004
20072005
References

0 commit comments

Comments
 (0)