{"id":15555251,"url":"https://github.com/brews/baysparpy","last_synced_at":"2025-04-23T20:41:59.805Z","repository":{"id":49535040,"uuid":"116045503","full_name":"brews/baysparpy","owner":"brews","description":"The BAYSPAR TEX86 calibration, in Python.","archived":false,"fork":false,"pushed_at":"2022-06-23T00:28:39.000Z","size":244684,"stargazers_count":8,"open_issues_count":6,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-14T10:53:22.292Z","etag":null,"topics":["bayesian-inference","calibration","marine","paleoceanography","paleoclimate","python","tex86"],"latest_commit_sha":null,"homepage":"https://baysparpy.readthedocs.io","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/brews.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-01-02T18:37:48.000Z","updated_at":"2024-10-17T08:41:43.000Z","dependencies_parsed_at":"2022-08-01T00:08:29.205Z","dependency_job_id":null,"html_url":"https://github.com/brews/baysparpy","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brews%2Fbaysparpy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brews%2Fbaysparpy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brews%2Fbaysparpy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brews%2Fbaysparpy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brews","download_url":"https://codeload.github.com/brews/baysparpy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250513317,"owners_count":21443199,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bayesian-inference","calibration","marine","paleoceanography","paleoclimate","python","tex86"],"created_at":"2024-10-02T15:07:34.492Z","updated_at":"2025-04-23T20:41:59.787Z","avatar_url":"https://github.com/brews.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"baysparpy\n=========\n\n.. image:: https://travis-ci.org/brews/baysparpy.svg?branch=master\n    :target: https://travis-ci.org/brews/baysparpy\n\n\nAn Open Source Python package for TEX86 calibration.\n\nThis package is based on the original BAYSPAR (BAYesian SPAtially-varying Regression) for MATLAB (https://github.com/jesstierney/BAYSPAR).\n\nNOTE This repository and package is no longer actively maintained.\n\n\nQuick example\n-------------\n\nFirst, load key packages and an example dataset:\n\n.. code-block:: python\n\n    import numpy as np\n    import bayspar as bsr\n\n    example_file = bsr.get_example_data('castaneda2010.csv')\n    d = np.genfromtxt(example_file, delimiter=',', names=True)\n\nThis dataset (from `Castañeda et al. 2010 \u003chttps://doi.org/10.1029/2009PA001740\u003e`_)\nhas two columns giving sediment age (calendar years BP) and TEX86.\n\nWe can make a \"standard\" prediction of sea-surface temperature (SST) with ``predict_seatemp()``:\n\n.. code-block:: python\n\n    prediction = bsr.predict_seatemp(d['tex86'], lon=34.0733, lat=31.6517,\n                                     prior_std=6, temptype='sst')\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 ``bsr.predictplot()`` or ``bsr.densityplot()``.\n\nFor further details, examples, and additional prediction functions, see the online documentation (https://baysparpy.readthedocs.io).\n\n\nInstallation\n------------\n\nTo install **baysparpy** with pip, run:\n\n.. code-block:: bash\n\n    $ pip install baysparpy\n\nTo install with conda, run:\n\n.. code-block:: bash\n\n    $ conda install baysparpy -c sbmalev\n\nUnfortunately, **baysparpy** is not compatible with Python 2.\n\nSupport and development\n-----------------------\n\n- Documentation is available online (https://baysparpy.readthedocs.io).\n\n- Please feel free to report bugs and issues or view the source code on GitHub (https://github.com/brews/baysparpy).\n\n\nLicense\n-------\n\n**baysparpy** is available under the Open Source GPLv3 (https://www.gnu.org/licenses).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrews%2Fbaysparpy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrews%2Fbaysparpy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrews%2Fbaysparpy/lists"}