Skip to content

Commit

Permalink
Update README with minor bug fix and format changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
brews committed Feb 8, 2018
1 parent da4605d commit 008677e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,24 +28,24 @@ has three columns giving core depth (cm), sediment age (calendar years BP), and

We can predict sea-surface temperatures (SST) from UK'37 with ``bsl.predict_sst()``::

prediction = bsl.predict_sst(d['uk37'], prior_std=10)
prediction = bsl.predict_sst(d['uk37'], pstd=10)

To see actual numbers from the prediction, directly parse ``prediction.ensemble`` or use ``prediction.percentile()`` to get the 5%, 50% and 95% percentiles.

You can also plot your predicition with ``bsl.predictplot()`` or ``bsl.densityplot()``.
You can also plot your prediction with ``bsl.predictplot()`` or ``bsl.densityplot()``.

Alternatively, we can make inferences about UK'37 from SST with ``bsl.predict_uk()``::

sst = np.arange(1, 35, 5)
prediction = bsl.predict_uk(sst)
sst = np.arange(1, 25)
prediction = bsl.predict_uk(sst)


Installation
------------

Install **baysplinepy** in ``conda`` with::

$ conda install baysplinepy -c sbmalev
$ conda install baysplinepy -c sbmalev

To install with ``pip``, run::

Expand Down

0 comments on commit 008677e

Please sign in to comment.