Skip to content

Commit

Permalink
include all other modules
Browse files Browse the repository at this point in the history
  • Loading branch information
Erik Bernhardsson committed May 30, 2018
1 parent e1d7401 commit a142291
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 0 deletions.
2 changes: 2 additions & 0 deletions convoys/multi.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
from convoys import regression
from convoys import single

__all__ = ['KaplanMeier', 'Exponential', 'Weibull', 'Gamma', 'GeneralizedGamma']


class MultiModel:
pass # TODO
Expand Down
2 changes: 2 additions & 0 deletions convoys/plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
from matplotlib import pyplot
import convoys.multi

__all__ = ['plot_cohorts']


_models = {
'kaplan-meier': lambda ci: convoys.multi.KaplanMeier(),
Expand Down
2 changes: 2 additions & 0 deletions convoys/single.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
from scipy.special import expit, logit
import scipy.stats

__all__ = ['KaplanMeier']


class SingleModel:
pass # TODO
Expand Down
2 changes: 2 additions & 0 deletions convoys/utils.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import datetime
import pandas

__all__ = ['get_arrays']


def get_timescale(t):
''' Take a datetime or a numerical type, return two things:
Expand Down
12 changes: 12 additions & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
@@ -1,8 +1,20 @@
Full API documentation
======================

.. automodule:: convoys.plotting
:members:

.. automodule:: convoys.regression
:members:

.. automodule:: convoys.single
:members:

.. automodule:: convoys.multi
:members:

.. automodule:: convoys.utils
:members:

.. automodule:: convoys.gamma
:members:

0 comments on commit a142291

Please sign in to comment.