Skip to content

Commit

Permalink
try almost plain requirements.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
josemiotto committed Aug 20, 2018
1 parent a76efd9 commit 8fdeb4a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 45 deletions.
22 changes: 0 additions & 22 deletions docs/source/requirements.txt

This file was deleted.

7 changes: 4 additions & 3 deletions levy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -321,13 +321,14 @@ def change_par(alpha, beta, mu, sigma, par_input, par_output):

def levy(x, alpha, beta, mu=0.0, sigma=1.0, cdf=False, par=0):
"""
Levy with the tail replaced by the analytical approximation.
Levy distribution with the tail replaced by the analytical (power law) approximation.
*alpha* in (0, 2] is the index of stability, or characteristic exponent.
*beta* in [-1, 1] is the skewness. *mu* in real and *sigma* >= 0 are the
*beta* in [-1, 1] is the skewness. *mu* in real and *sigma* > 0 are the
center and scale of the distribution (corresponding to *delta* and *gamma*
in Nolan's notation; note that sigma in levy corresponds to sqrt(2) sigma
in the normal distribution).
*cdf* is a Boolean that specifies if it returns the cdf instead of the pdf.
Parametrization can be chosen according to Nolan, par={0,1}.
Expand Down Expand Up @@ -422,7 +423,7 @@ def neglog_levy(x, alpha, beta, mu, sigma, par=0):
def fit_levy(x, alpha=None, beta=None, mu=None, sigma=None, par=0):
"""
Estimate parameters of Levy stable distribution given data x, using
the Maximum Likelihood method.
Maximum Likelihood estimation.
By default, searches all possible Levy stable distributions. However
you may restrict the search by specifying the values of one or more
Expand Down
20 changes: 0 additions & 20 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,22 +1,2 @@
alabaster==0.7.11
Babel==2.6.0
certifi==2018.8.13
chardet==3.0.4
colorama==0.3.9
docutils==0.14
idna==2.7
imagesize==1.0.0
Jinja2==2.10
MarkupSafe==1.0
numpy==1.15.0
packaging==17.1
Pygments==2.2.0
pyparsing==2.2.0
pytz==2018.5
requests==2.19.1
scipy==1.1.0
six==1.11.0
snowballstemmer==1.2.1
Sphinx==1.7.6
sphinxcontrib-websupport==1.1.0
urllib3==1.23

0 comments on commit 8fdeb4a

Please sign in to comment.