These are experimental Python bindings to the DNest4 sampler allowing the user
to implement their models in Python. See the example(s) in ``examples`` for
some demos for how you might do this.
Building
--------
DNest4 relies on recent C++11 features so building with python can be fun. On
a Mac, you might need to do something like:
.. code-block:: bash
MACOSX_DEPLOYMENT_TARGET=10.9 python setup.py install
If you only want the postprocessing scripts and don't want to worry about
building the bindings, you can run:
.. code-block:: bash
python setup.py install --without-cext
and then use it as follows:
.. code-block::
import dnest
# NOTE: the path will default to the current working directory if you
# don't give another path.
dnest.postprocess("/path/to/where/you/ran/your/model")
Author
------
These bindings were written by `Dan Foreman-Mackey <https://github.com/dfm>`_
and they are licensed as part of DNest4 with the MIT license.
Raw data
{
"_id": null,
"home_page": "https://github.com/eggplantbren/DNest4",
"name": "dnest4",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": null,
"author": "Daniel Foreman-Mackey",
"author_email": "foreman.mackey@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/6b/51/da05090fef454f6e7410bef8a025187357da75391098a07be10260793330/dnest4-0.3.2.tar.gz",
"platform": null,
"description": "These are experimental Python bindings to the DNest4 sampler allowing the user\nto implement their models in Python. See the example(s) in ``examples`` for\nsome demos for how you might do this.\n\nBuilding\n--------\n\nDNest4 relies on recent C++11 features so building with python can be fun. On\na Mac, you might need to do something like:\n\n.. code-block:: bash\n\n MACOSX_DEPLOYMENT_TARGET=10.9 python setup.py install\n\nIf you only want the postprocessing scripts and don't want to worry about\nbuilding the bindings, you can run:\n\n.. code-block:: bash\n\n python setup.py install --without-cext\n\nand then use it as follows:\n\n.. code-block::\n\n import dnest\n\n # NOTE: the path will default to the current working directory if you\n # don't give another path.\n dnest.postprocess(\"/path/to/where/you/ran/your/model\")\n\n\nAuthor\n------\n\nThese bindings were written by `Dan Foreman-Mackey <https://github.com/dfm>`_\nand they are licensed as part of DNest4 with the MIT license.\n\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Diffusive nested sampling in Python",
"version": "0.3.2",
"project_urls": {
"Homepage": "https://github.com/eggplantbren/DNest4"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "6b51da05090fef454f6e7410bef8a025187357da75391098a07be10260793330",
"md5": "c470e00ee6f9a14796e459d3c45db3e8",
"sha256": "00a2bd651c931f2b007c948ac4c940ed0946926910384c7954d45d106a8afca5"
},
"downloads": -1,
"filename": "dnest4-0.3.2.tar.gz",
"has_sig": false,
"md5_digest": "c470e00ee6f9a14796e459d3c45db3e8",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 29774,
"upload_time": "2024-10-11T18:39:33",
"upload_time_iso_8601": "2024-10-11T18:39:33.060248Z",
"url": "https://files.pythonhosted.org/packages/6b/51/da05090fef454f6e7410bef8a025187357da75391098a07be10260793330/dnest4-0.3.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-10-11 18:39:33",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "eggplantbren",
"github_project": "DNest4",
"travis_ci": true,
"coveralls": false,
"github_actions": false,
"lcname": "dnest4"
}