baysparpy
An Open Source Python package for TEX86 calibration.
This package is based on the original BAYSPAR (BAYesian SPAtially-varying Regression) for MATLAB (https://github.com/jesstierney/BAYSPAR).
Quick example
First, load key packages and an example dataset:
import numpy as np
import bayspar as bsr
example_file = bsr.get_example_data('castaneda2010.csv')
d = np.genfromtxt(example_file, delimiter=',', names=True)
This dataset (from Castañeda et al. 2010) has two columns giving sediment age (calendar years BP) and TEX86.
We can make a “standard” prediction of sea-surface temperature (SST) with predict_seatemp():
prediction = bsr.predict_seatemp(d['tex86'], lon=34.0733, lat=31.6517,
prior_std=6, temptype='sst')
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 prediction with bsr.predictplot() or bsr.densityplot().
For further details, examples, and additional prediction functions, see the online documentation (https://baysparpy.readthedocs.io).
Installation
To install baysparpy with pip, run:
$ pip install git+git://github.com/brews/baysparpy.git@stable
Unfortunately, baysparpy is not compatible with Python 2.
Support and development
Documentation is available online (https://baysparpy.readthedocs.io).
Please feel free to report bugs and issues or view the source code on GitHub (https://github.com/brews/baysparpy).
License
baysparpy is available under the Open Source GPLv3 (https://www.gnu.org/licenses).
Metadata
Release files for baysparpy 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| baysparpy-0.0.3.tar.gz | 49.4 MB | Without provenance | Details for baysparpy-0.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| baysparpy-0.0.3-py3-none-any.whl | Python 3 | none | any | Details for baysparpy-0.0.3-py3-none-any.whl |
Total release size: 98.7 MB
Release files / baysparpy-0.0.3.tar.gz
| Download URL | baysparpy-0.0.3.tar.gz |
|---|---|
| Size | 49.4 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f68b9f34c7a3e8c08dfe02611b752a0cf0679e1a95da8b7dec2bb32309600738
|
|
BLAKE2b-256 checksum How to use checksums |
691251761af20b2ea36c809160f32f8ef786879da62e628967b33d3b00b93d23
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.9.1 pkginfo/1.4.1 requests/2.18.4 setuptools/38.5.2 requests-toolbelt/0.8.0 tqdm/4.19.6 CPython/3.6.4
|
Release files / baysparpy-0.0.3-py3-none-any.whl
| Download URL | baysparpy-0.0.3-py3-none-any.whl |
|---|---|
| Size | 49.4 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d6869869e679262ddcbce9291ace95353be07dabae501e0cd5ff8224837f7ca7
|
|
BLAKE2b-256 checksum How to use checksums |
8e389ebd2f66f266c174c847c9202278126ed7ca177bc9a3e51cd73d7611ce6a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.9.1 pkginfo/1.4.1 requests/2.18.4 setuptools/38.5.2 requests-toolbelt/0.8.0 tqdm/4.19.6 CPython/3.6.4
|
Security for baysparpy 0.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.