bsavi


Namebsavi JSON
Version 0.4.0 PyPI version JSON
download
home_pagehttp://packages.python.org/bsavi
SummaryAn interactive visualizer to help explore high-dimensional likelihoods and their observables.
upload_time2023-12-30 00:06:19
maintainer
docs_urlNone
authorJames Wen
requires_python>=3.8, <3.12
licenseMIT
keywords interactive visualizer cosmology
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # BSAVI

BSAVI (Bayesian Sample Visualizer) is a tool to aid likelihood analysis of model parameters where samples from a distribution in the parameter space are used as inputs to calculate a given observable. For example, selecting a range of samples will allow you to easily see how the observables change as you traverse the sample distribution. At the core of BSAVI is the `Observable` object, which contains the data for a given observable and instructions for plotting it. It is modular, so you can write your own function that takes the parameter values as inputs, and BSAVI will use it to compute observables on the fly. It also accepts tabular data, so if you have pre-computed observables, simply import them alongside the dataset containing the sample distribution to start visualizing!

## Installation

### Dependencies

- Python versions $\geq$ 3.8 and $<$ 3.11 are supported.
- Holoviews $\geq$ 1.15.4 (this package and its dependencies will be installed automatically)
- Bokeh 2.4.3

BSAVI can be installed with pip:

    python -m pip install bsavi

Or, if you want to test the latest changes, you can clone the repository with

    git clone https://github.com/wen-jams/bsavi
    cd bsavi
    python setup.py install

## Getting Started

### Test Installation

To verify that bsavi and all the dependencies have been installed correctly, try running:

    import bsavi as bsv

If no errors appear, all the dependencies were installed correctly and we're ready to start visualizing!

### Example

Download and run the `live_data_example` notebook in the [tutorials](tutorials) folder to see an example of how bsavi can be used.

Here's BSAVI being used in an astrophysics context! The parameters come from a cosmological model of dark matter, and the observables are the matter and CMB power spectra.

![example output](images/example3.png)

## Contributing

Make feature requests and bug reports using the issue tracker: <https://github.com/wen-jams/bsavi/issues>

## License

MIT License

## Contact

<jimmywen74@gmail.com>

            

Raw data

            {
    "_id": null,
    "home_page": "http://packages.python.org/bsavi",
    "name": "bsavi",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8, <3.12",
    "maintainer_email": "",
    "keywords": "interactive visualizer cosmology",
    "author": "James Wen",
    "author_email": "jswen@usc.edu",
    "download_url": "https://files.pythonhosted.org/packages/6e/2f/701d4c986b95000fc7e08bc2bbbefd0cecf10c5fa5fac0487df321f0e35d/bsavi-0.4.0.tar.gz",
    "platform": null,
    "description": "# BSAVI\n\nBSAVI (Bayesian Sample Visualizer) is a tool to aid likelihood analysis of model parameters where samples from a distribution in the parameter space are used as inputs to calculate a given observable. For example, selecting a range of samples will allow you to easily see how the observables change as you traverse the sample distribution. At the core of BSAVI is the `Observable` object, which contains the data for a given observable and instructions for plotting it. It is modular, so you can write your own function that takes the parameter values as inputs, and BSAVI will use it to compute observables on the fly. It also accepts tabular data, so if you have pre-computed observables, simply import them alongside the dataset containing the sample distribution to start visualizing!\n\n## Installation\n\n### Dependencies\n\n- Python versions $\\geq$ 3.8 and $<$ 3.11 are supported.\n- Holoviews $\\geq$ 1.15.4 (this package and its dependencies will be installed automatically)\n- Bokeh 2.4.3\n\nBSAVI can be installed with pip:\n\n    python -m pip install bsavi\n\nOr, if you want to test the latest changes, you can clone the repository with\n\n    git clone https://github.com/wen-jams/bsavi\n    cd bsavi\n    python setup.py install\n\n## Getting Started\n\n### Test Installation\n\nTo verify that bsavi and all the dependencies have been installed correctly, try running:\n\n    import bsavi as bsv\n\nIf no errors appear, all the dependencies were installed correctly and we're ready to start visualizing!\n\n### Example\n\nDownload and run the `live_data_example` notebook in the [tutorials](tutorials) folder to see an example of how bsavi can be used.\n\nHere's BSAVI being used in an astrophysics context! The parameters come from a cosmological model of dark matter, and the observables are the matter and CMB power spectra.\n\n![example output](images/example3.png)\n\n## Contributing\n\nMake feature requests and bug reports using the issue tracker: <https://github.com/wen-jams/bsavi/issues>\n\n## License\n\nMIT License\n\n## Contact\n\n<jimmywen74@gmail.com>\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "An interactive visualizer to help explore high-dimensional likelihoods and their observables.",
    "version": "0.4.0",
    "project_urls": {
        "Homepage": "http://packages.python.org/bsavi"
    },
    "split_keywords": [
        "interactive",
        "visualizer",
        "cosmology"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e9777818404c2b3d7d7e54c5d9547c0815082fd1dab63808c37c4c5717d623d3",
                "md5": "159de5bd942f80e132a1f117011edf89",
                "sha256": "197cd5cf197960cc92f9c7da44863d18781b22117d388e2aa9b6d7ae9108cbfe"
            },
            "downloads": -1,
            "filename": "bsavi-0.4.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "159de5bd942f80e132a1f117011edf89",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8, <3.12",
            "size": 9573,
            "upload_time": "2023-12-30T00:06:17",
            "upload_time_iso_8601": "2023-12-30T00:06:17.792084Z",
            "url": "https://files.pythonhosted.org/packages/e9/77/7818404c2b3d7d7e54c5d9547c0815082fd1dab63808c37c4c5717d623d3/bsavi-0.4.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6e2f701d4c986b95000fc7e08bc2bbbefd0cecf10c5fa5fac0487df321f0e35d",
                "md5": "081de5087b995caa2ff045d4724bff6a",
                "sha256": "b7313517fd068e45e577583fcb4296a4492be96b53d47a42e0b3810f21d57306"
            },
            "downloads": -1,
            "filename": "bsavi-0.4.0.tar.gz",
            "has_sig": false,
            "md5_digest": "081de5087b995caa2ff045d4724bff6a",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8, <3.12",
            "size": 10265,
            "upload_time": "2023-12-30T00:06:19",
            "upload_time_iso_8601": "2023-12-30T00:06:19.456434Z",
            "url": "https://files.pythonhosted.org/packages/6e/2f/701d4c986b95000fc7e08bc2bbbefd0cecf10c5fa5fac0487df321f0e35d/bsavi-0.4.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-12-30 00:06:19",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "bsavi"
}
        
Elapsed time: 0.17364s