{ "info": { "author": "S. Brewster Malevich", "author_email": "malevich@email.arizona.edu", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "Intended Audience :: Science/Research", "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", "Programming Language :: Python :: 3", "Topic :: Scientific/Engineering" ], "description": "baysplinepy\n===========\n\n.. image:: https://travis-ci.org/brews/baysplinepy.svg?branch=master\n :target: https://travis-ci.org/brews/baysplinepy\n\n\nAn open source Python package for `alkenone UK'37 `_ calibration.\n\n**baysplinepy** is based on the original BAYSPLINE software for MATLAB (https://github.com/jesstierney/BAYSPLINE). BAYSPLINE is a Bayesian calibration for the alkenone paleothermometer, as published in `Tierney & Tingley (2018) `_. \n\nNOTE that this package is under active development. Code and documentation may not be complete and may change in the near future.\n\n\nExample\n-------\n\nFirst, load packages and an example dataset::\n\n import numpy as np\n import bayspline as bsl\n\n example_file = bsl.get_example_data('tierney2016-p178-15p.csv')\n d = np.genfromtxt(example_file, delimiter=',', names=True)\n\nThis dataset (from `Tierney et al. 2015 `_)\nhas three columns giving core depth (cm), sediment age (calendar years BP), and UK'37.\n\nWe can predict sea-surface temperatures (SST) from UK'37 with ``bsl.predict_sst()``::\n\n prediction = bsl.predict_sst(d['uk37'], prior_std=10)\n\nTo see actual numbers from the prediction, directly parse ``prediction.ensemble`` or use ``prediction.percentile()`` to get the 5%, 50% and 95% percentiles.\n\nYou can also plot your prediction with ``bsl.predictplot()`` or ``bsl.densityplot()``.\n\nAlternatively, we can make inferences about UK'37 from SST with ``bsl.predict_uk()``::\n\n sst = np.arange(1, 25)\n prediction = bsl.predict_uk(sst)\n\n\nInstallation\n------------\n\nInstall **baysplinepy** in ``conda`` with::\n\n $ conda install baysplinepy -c sbmalev\n\nTo install with ``pip``, run::\n\n $ pip install baysplinepy\n\nUnfortunately, **baysplinepy** is not compatible with Python 2.\n\n\nSupport and development\n-----------------------\n\n- Please feel free to report bugs and issues or view the source code on GitHub (https://github.com/brews/baysplinepy).\n\n\nLicense\n-------\n\n**baysplinepy** is available under the Open Source GPLv3 (https://www.gnu.org/licenses).\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/brews/baysplinepy", "keywords": "marine paleoclimate uk37 calibration", "license": "GPLv3", "maintainer": "", "maintainer_email": "", "name": "baysplinepy", "package_url": "https://pypi.org/project/baysplinepy/", "platform": "", "project_url": "https://pypi.org/project/baysplinepy/", "project_urls": { "Homepage": "https://github.com/brews/baysplinepy" }, "release_url": "https://pypi.org/project/baysplinepy/0.0.2/", "requires_dist": [ "numpy", "scipy", "matplotlib", "tqdm", "attrs" ], "requires_python": "", "summary": "A Python implementation of BAYSPLINE", "version": "0.0.2" }, "last_serial": 5195195, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "eaa965f31de8818cfb0ae644cd46b612", "sha256": "f9559e9652131461f76cb2fb5bebf7c35b03ad5f3acb03b09ea009dfcf7516e5" }, "downloads": -1, "filename": "baysplinepy-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "eaa965f31de8818cfb0ae644cd46b612", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 164574, "upload_time": "2018-02-08T21:19:25", "url": "https://files.pythonhosted.org/packages/f4/f6/277c456cdd1a9f6b0bd460281c00d331946533d6ac6cce7a749d775714b8/baysplinepy-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5993e75735f338d0ee7583a7f127cd79", "sha256": "917e22010bb5050df07c77037dcc6bbc36db26f99e26af9c26751382b503bd33" }, "downloads": -1, "filename": "baysplinepy-0.0.1.tar.gz", "has_sig": false, "md5_digest": "5993e75735f338d0ee7583a7f127cd79", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 88175, "upload_time": "2018-02-08T21:19:28", "url": "https://files.pythonhosted.org/packages/87/a6/efd5bcc84956eb67c0d55253fb599f3d54ec580bae3ac7dbbfcc8141955b/baysplinepy-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "f63317ec7076ebc547a750372c1694f6", "sha256": "eb9a38a674c45a90c2559f926a46fb97bd85e5d44d4b985d197eaaa8df5070f5" }, "downloads": -1, "filename": "baysplinepy-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "f63317ec7076ebc547a750372c1694f6", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 100598, "upload_time": "2019-04-26T23:03:01", "url": "https://files.pythonhosted.org/packages/d9/16/0e9c783ab7329464f68a374f9ef5fa25f66067f64981bb116343c1350a2c/baysplinepy-0.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9068919dea2ddfcb7412cf18d944d590", "sha256": "1a56f30060ab0c2a303778ec92b2d4ba5caffa81c9d7fa8b2e7b27cd7b21d022" }, "downloads": -1, "filename": "baysplinepy-0.0.2.tar.gz", "has_sig": false, "md5_digest": "9068919dea2ddfcb7412cf18d944d590", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 88656, "upload_time": "2019-04-26T23:03:06", "url": "https://files.pythonhosted.org/packages/31/cb/4eed365d7988b96e16860fd66e6e63c06176dc6228f758f8a2648031aa3f/baysplinepy-0.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f63317ec7076ebc547a750372c1694f6", "sha256": "eb9a38a674c45a90c2559f926a46fb97bd85e5d44d4b985d197eaaa8df5070f5" }, "downloads": -1, "filename": "baysplinepy-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "f63317ec7076ebc547a750372c1694f6", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 100598, "upload_time": "2019-04-26T23:03:01", "url": "https://files.pythonhosted.org/packages/d9/16/0e9c783ab7329464f68a374f9ef5fa25f66067f64981bb116343c1350a2c/baysplinepy-0.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9068919dea2ddfcb7412cf18d944d590", "sha256": "1a56f30060ab0c2a303778ec92b2d4ba5caffa81c9d7fa8b2e7b27cd7b21d022" }, "downloads": -1, "filename": "baysplinepy-0.0.2.tar.gz", "has_sig": false, "md5_digest": "9068919dea2ddfcb7412cf18d944d590", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 88656, "upload_time": "2019-04-26T23:03:06", "url": "https://files.pythonhosted.org/packages/31/cb/4eed365d7988b96e16860fd66e6e63c06176dc6228f758f8a2648031aa3f/baysplinepy-0.0.2.tar.gz" } ] }