search in docstrings

Search bar offers the following options:

- Term presence. The below example searches for documents that must contain “foo”, might contain “bar” and must not contain “baz”: `+foo bar -baz`
- Wildcards. The below example searches for documents with words beginning with “foo”: `foo*`
- Search in specific fields. The following search matches all objects in "twisted.mail" that matches “search”: `+qname:twisted.mail.* +search`

  Possible fields: 'name', 'qname' (fully qualified name), 'docstring', and 'kind'. Last two fields are only applicable if "search in docstrings" is enabled.

- Fuzzy matches. The following search matches all documents that have a word within 1 edit distance of “foo”: `foo~1`

Results provided by Lunr.js

# ``igraph`.`statistics`.`FittedPowerLaw``

class documentation

`class FittedPowerLaw: (source)`

Constructor: `FittedPowerLaw(continuous, alpha, xmin, L, ...)`

View In Hierarchy

Result of fitting a power-law to a vector of samples

Example:

    >>> result = power_law_fit([1, 2, 3, 4, 5, 6])
    >>> result                   # doctest:+ELLIPSIS
    FittedPowerLaw(continuous=False, alpha=2.42..., xmin=3.0, L=-7.54..., D=0.21..., p=0.993...)
    >>> print(result)            # doctest:+ELLIPSIS
    Fitted power-law distribution on discrete data
    <BLANKLINE>
    Exponent (alpha)  = 2.42...
    Cutoff (xmin)     = 3.000000
    <BLANKLINE>
    Log-likelihood    = -7.54...
    <BLANKLINE>
    H0: data was drawn from the fitted distribution
    <BLANKLINE>
    KS test statistic = 0.21...
    p-value           = 0.993...
    <BLANKLINE>
    H0 could not be rejected at significance level 0.05
    >>> result.alpha             # doctest:+ELLIPSIS
    2.42...
    >>> result.xmin
    3.0
    >>> result.continuous
    False

Method | `__init__` | Undocumented
Method | `__repr__` | Undocumented
Method | `__str__` | Undocumented
Method | `summary` | Returns the summary of the power law fit.
Instance Variable | `alpha` | Undocumented
Instance Variable | `continuous` | Undocumented
Instance Variable | `D` | Undocumented
Instance Variable | `L` | Undocumented
Instance Variable | `p` | Undocumented
Instance Variable | `xmin` | Undocumented

def __init__(self, continuous, alpha, xmin, L, D, p): (source)

Undocumented

def __repr__(self): (source)

Undocumented

def __str__(self): (source)

Undocumented

def summary(self, significance=0.05): (source)

Returns the summary of the power law fit.

Parameters
significance | the significance level of the Kolmogorov-Smirnov test used to decide whether the input data could have come from the fitted distribution
Returns
the summary as a string

alpha = (source)

Undocumented

continuous = (source)

Undocumented

D = (source)

Undocumented

L = (source)

Undocumented

p = (source)

Undocumented

xmin = (source)

Undocumented