Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.8/site-packages/scipy/stats/distributions.py: 100%

11 statements  

« prev     ^ index     » next       coverage.py v7.3.2, created at 2023-12-12 06:31 +0000

1# 

2# Author: Travis Oliphant 2002-2011 with contributions from 

3# SciPy Developers 2004-2011 

4# 

5# NOTE: To look at history using `git blame`, use `git blame -M -C -C` 

6# instead of `git blame -Lxxx,+x`. 

7# 

8from ._distn_infrastructure import (rv_discrete, rv_continuous, rv_frozen) 

9 

10from . import _continuous_distns 

11from . import _discrete_distns 

12 

13from ._continuous_distns import * 

14from ._levy_stable import levy_stable 

15from ._discrete_distns import * 

16from ._entropy import entropy 

17 

18# For backwards compatibility e.g. pymc expects distributions.__all__. 

19__all__ = ['rv_discrete', 'rv_continuous', 'rv_histogram', 'entropy'] 

20 

21# Add only the distribution names, not the *_gen names. 

22__all__ += _continuous_distns._distn_names 

23__all__ += ['levy_stable'] 

24__all__ += _discrete_distns._distn_names