Skip to content

Commit 0fef027

Browse files
authored
Merge pull request #192 from aragilar/update-docs
Update docs before new release
2 parents 34641c8 + beb5e41 commit 0fef027

File tree

4 files changed

+20
-18
lines changed

4 files changed

+20
-18
lines changed

docs/guide.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ Structure of ``odes`` and User's Guide
66
There are a number of different ways of using ``odes`` to solve a system of
77
ODEs/DAEs:
88

9-
* :py:class:`scikits.odes.ode.ode` and :py:class:`scikits.odes.dae.dae` classes, which provides an object oriented interface and significant amount of control of the solver.
10-
* :py:func:`scikits.odes.odeint.odeint`, a single function alternative to the object
9+
* :py:class:`scikits_odes.ode.ode` and :py:class:`scikits_odes.dae.dae` classes, which provides an object oriented interface and significant amount of control of the solver.
10+
* :py:func:`scikits_odes.odeint.odeint`, a single function alternative to the object
1111
oriented interface.
12-
* Accessing the lower-level solver-specific wrappers, such as the modules in :py:mod:`scikits.odes.sundials`.
12+
* Accessing the lower-level solver-specific wrappers, such as the modules in :py:mod:`scikits_odes_sundials`.
1313

1414
In general, a user supplies a function with the signature::
1515

@@ -30,7 +30,7 @@ The simplest user program using the ``odeint`` interface, assuming you have
3030
implemented the ODE ``right_hand_side`` mentioned above, is::
3131

3232
import numpy as np
33-
from scikits.odes.odeint import odeint
33+
from scikits_odes.odeint import odeint
3434

3535
tout = np.linspace(0, 1)
3636
initial_values = np.array([0])
@@ -93,7 +93,7 @@ The simplest user program using the ``ode`` interface, assuming you have
9393
implemented the ODE ``right_hand_side`` mentioned above, is::
9494

9595
import numpy as np
96-
from scikits.odes.ode import ode
96+
from scikits_odes.ode import ode
9797

9898
SOLVER = 'cvode'
9999
tout = np.linspace(0, 1)
@@ -132,7 +132,7 @@ The simplest user program using the ``dae`` interface, assuming you have
132132
implemented the DAE ``right_hand_side`` mentioned above, is::
133133

134134
import numpy as np
135-
from scikits.odes.dae import dae
135+
from scikits_odes.dae import dae
136136

137137
SOLVER = 'ida'
138138
tout = np.linspace(0, 1)

docs/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ Welcome to the ODES scikit documentation!
88

99
The ODES scikit provides access to Ordinary Differential Equation (ODE) solvers
1010
and Differential Algebraic Equation (DAE) solvers not included in `scipy`_. A
11-
convenience function :py:func:`scikits.odes.odeint.odeint` is available for fast
11+
convenience function :py:func:`scikits_odes.odeint.odeint` is available for fast
1212
and fire and forget integration. Object oriented class solvers
13-
:py:class:`scikits.odes.ode.ode` and :py:class:`scikits.odes.dae.dae` are
13+
:py:class:`scikits_odes.ode.ode` and :py:class:`scikits_odes.dae.dae` are
1414
available for fine control. Finally, the low levels solvers are also directly
1515
exposed for specialised needs.
1616

docs/installation.rst

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,10 @@ with ``odes``:
4747

4848
* - SUNDIALS version
4949
- ``odes`` version
50+
* - 7.x
51+
- 3.1.x
5052
* - 6.x
51-
- 2.7.x
53+
- 2.7.x and 3.0.x
5254
* - 5.x
5355
- 2.6.x
5456
* - 4.x
@@ -67,7 +69,7 @@ Installation
6769
------------
6870
To install ``odes``, use::
6971

70-
pip install scikits.odes
72+
pip install scikits-odes
7173

7274
which will download the latest version from PyPI. This will handle the installation of the additional runtime dependencies of ``odes``. You should then run the tests to make sure everything is set up correctly.
7375

@@ -79,7 +81,7 @@ Testing your version of ``odes``
7981
To test the version in python, use in the python shell::
8082

8183
>>> import pkg_resources
82-
>>> pkg_resources.get_distribution("scikits.odes").version
84+
>>> pkg_resources.get_distribution("scikits-odes").version
8385

8486
8587
Running the Tests
@@ -90,7 +92,7 @@ You need nose to run the tests. To install nose, run::
9092

9193
To run the tests, in the python shell::
9294

93-
>>> import scikits.odes as od; od.test()
95+
>>> import scikits_odes as od; od.test()
9496
9597
Note that the sundials library must be in your ``LD_LIBRARY_PATH``. So, make sure the directory ``$SUNDIALS_INST/lib`` is included. You can do this for example as follows (assuming sundials was installed in ``/usr/local``::
9698

@@ -120,7 +122,7 @@ LAPACK Not Found
120122
................
121123
Most issues with using ``odes`` are due to incorrectly setting the LAPACK libraries, resulting in error, typically::
122124

123-
AttributeError: module 'scikits.odes.sundials.cvode' has no attribute 'CVODE'
125+
AttributeError: module 'scikits_odes_sundials.cvode' has no attribute 'CVODE'
124126

125127
or::
126128

@@ -189,7 +191,7 @@ You can verify that lapack is available (although the nix install will have
189191
run many tests to check this already), try the following python snippet in the interpreter::
190192

191193
import numpy as np
192-
from scikits.odes.odeint import odeint
194+
from scikits_odes.odeint import odeint
193195
194196
tout = np.linspace(0, 1)
195197
initial_values = np.array([1])

docs/solvers.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ Choosing a Solver
55
``odes`` interfaces with a number of different solvers:
66

77
`CVODE <https://computation.llnl.gov/projects/sundials/cvode>`_
8-
ODE solver with BDF linear multistep method for stiff problems and Adams-Moulton linear multistep method for nonstiff problems. Supports modern features such as: root (event) finding, error control, and (Krylov-)preconditioning. See :py:mod:`scikits.odes.sundials.cvode` for more details and solver specific arguments. Part of SUNDIALS, it is a replacement for the earlier ``vode``/``dvode``.
8+
ODE solver with BDF linear multistep method for stiff problems and Adams-Moulton linear multistep method for nonstiff problems. Supports modern features such as: root (event) finding, error control, and (Krylov-)preconditioning. See :py:mod:`scikits_odes_sundials.cvode` for more details and solver specific arguments. Part of SUNDIALS, it is a replacement for the earlier ``vode``/``dvode``.
99

1010
`IDA <https://computation.llnl.gov/projects/sundials/ida>`_
11-
DAE solver with BDF linear multistep method for stiff problems and Adams-Moulton linear multistep method for nonstiff problems. Supports modern features such as: root (event) finding, error control, and (Krylov-)preconditioning. See :py:mod:`scikits.odes.sundials.ida` for more details and solver specific arguments. Part of SUNDIALS.
11+
DAE solver with BDF linear multistep method for stiff problems and Adams-Moulton linear multistep method for nonstiff problems. Supports modern features such as: root (event) finding, error control, and (Krylov-)preconditioning. See :py:mod:`scikits_odes_sundials.ida` for more details and solver specific arguments. Part of SUNDIALS.
1212

1313
`dopri5 <https://docs.scipy.org/doc/scipy/reference/generated/scipy.integrate.ode.html>`_
1414
Part of :py:mod:`scipy.integrate`, explicit Runge-Kutta method of order (4)5 with stepsize control.
@@ -20,10 +20,10 @@ Choosing a Solver
2020

2121
`lsodi <http://www.netlib.org/odepack/opkd-sum>`_
2222
Part of `odepack <http://www.netlib.org/odepack/opkd-sum>`_, IDA should be
23-
used instead of this. See :py:mod:`scikits.odes.lsodiint` for more details.
23+
used instead of this. See :py:mod:`scikits_odes.lsodiint` for more details.
2424

2525
`ddaspk <http://www.netlib.org/ode/>`_
26-
Part of `daspk <http://www.netlib.org/ode/>`_, IDA should be used instead of this. See :py:mod:`scikits.odes.ddaspkint` for more details.
26+
Part of `daspk <http://www.netlib.org/ode/>`_, IDA should be used instead of this. See :py:mod:`scikits_odes.ddaspkint` for more details.
2727

2828
Support for other SUNDIALS solvers (e.g. ARKODE) is currently not implemented,
2929
nor is support for non-serial methods (e.g. MPI, OpenMP). Contributions adding

0 commit comments

Comments
 (0)