powerbox


Namepowerbox JSON
Version 0.7.3 PyPI version JSON
download
home_page
SummaryCreate arbitrary boxes with isotropic power spectra
upload_time2023-11-21 11:19:57
maintainer
docs_urlNone
author
requires_python>=3.8
licenseMIT
keywords power-spectrum signal processing
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage
            ========
powerbox
========
.. image:: https://img.shields.io/pypi/v/powerbox.svg
    :target: https://pypi.python.org/pypi/powerbox
.. image:: https://travis-ci.org/steven-murray/powerbox.svg?branch=master
    :target: https://travis-ci.org/steven-murray/powerbox
.. image:: https://coveralls.io/repos/github/steven-murray/powerbox/badge.svg?branch=master
    :target: https://coveralls.io/github/steven-murray/powerbox?branch=master
.. image:: https://api.codacy.com/project/badge/Grade/5853411c78444a5a9c6ec4058c6dbda9
    :target: https://www.codacy.com/app/steven-murray/powerbox?utm_source=github.com&utm_medium=referral&utm_content=steven-murray/powerbox&utm_campaign=Badge_Grade
.. image:: https://zenodo.org/badge/72076717.svg
   :target: https://zenodo.org/badge/latestdoi/72076717
.. image:: http://joss.theoj.org/papers/10.21105/joss.00850/status.svg
   :target: https://doi.org/10.21105/joss.00850

**Make arbitrarily structured, arbitrary-dimension boxes and log-normal mocks.**

``powerbox`` is a pure-python code for creating density grids (or boxes) that have an
arbitrary two-point distribution (i.e. power spectrum). Primary motivations for creating
the code were the simple creation of log-normal mock galaxy distributions, but the
methodology can be used for other applications.

Features
--------
* Works in any number of dimensions.
* Really simple.
* Arbitrary isotropic power-spectra.
* Create Gaussian or Log-Normal fields
* Create discrete samples following the field, assuming it describes an over-density.
* Measure power spectra of output fields to ensure consistency.
* Seamlessly uses pyFFTW if available for ~double the speed.

Installation
------------
Simply ``pip install powerbox``. If you want ~2x speedup for large boxes, you can also
install ``pyfftw`` by doing ``pip install powerbox[all]``. If you are a conda user, you
may want to install ``numpy`` with conda first. If you want to develop ``powerbox``,
clone the repo and install with ``python -m pip install -e ".[dev]"``.

Acknowledgment
--------------
If you find ``powerbox`` useful in your research, please cite the Journal of Open Source Software paper at
https://doi.org/10.21105/joss.00850.

QuickLinks
----------
* Docs: https://powerbox.readthedocs.io
* Quickstart: http://powerbox.readthedocs.io/en/latest/demos/getting_started.html

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "powerbox",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "",
    "keywords": "power-spectrum,signal processing",
    "author": "",
    "author_email": "Steven Murray <steven.g.murray@asu.edu>",
    "download_url": "https://files.pythonhosted.org/packages/57/04/a5314e578903d6e4bb00402fc10ccf374420ec75a050937597c09586926f/powerbox-0.7.3.tar.gz",
    "platform": null,
    "description": "========\npowerbox\n========\n.. image:: https://img.shields.io/pypi/v/powerbox.svg\n    :target: https://pypi.python.org/pypi/powerbox\n.. image:: https://travis-ci.org/steven-murray/powerbox.svg?branch=master\n    :target: https://travis-ci.org/steven-murray/powerbox\n.. image:: https://coveralls.io/repos/github/steven-murray/powerbox/badge.svg?branch=master\n    :target: https://coveralls.io/github/steven-murray/powerbox?branch=master\n.. image:: https://api.codacy.com/project/badge/Grade/5853411c78444a5a9c6ec4058c6dbda9\n    :target: https://www.codacy.com/app/steven-murray/powerbox?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=steven-murray/powerbox&amp;utm_campaign=Badge_Grade\n.. image:: https://zenodo.org/badge/72076717.svg\n   :target: https://zenodo.org/badge/latestdoi/72076717\n.. image:: http://joss.theoj.org/papers/10.21105/joss.00850/status.svg\n   :target: https://doi.org/10.21105/joss.00850\n\n**Make arbitrarily structured, arbitrary-dimension boxes and log-normal mocks.**\n\n``powerbox`` is a pure-python code for creating density grids (or boxes) that have an\narbitrary two-point distribution (i.e. power spectrum). Primary motivations for creating\nthe code were the simple creation of log-normal mock galaxy distributions, but the\nmethodology can be used for other applications.\n\nFeatures\n--------\n* Works in any number of dimensions.\n* Really simple.\n* Arbitrary isotropic power-spectra.\n* Create Gaussian or Log-Normal fields\n* Create discrete samples following the field, assuming it describes an over-density.\n* Measure power spectra of output fields to ensure consistency.\n* Seamlessly uses pyFFTW if available for ~double the speed.\n\nInstallation\n------------\nSimply ``pip install powerbox``. If you want ~2x speedup for large boxes, you can also\ninstall ``pyfftw`` by doing ``pip install powerbox[all]``. If you are a conda user, you\nmay want to install ``numpy`` with conda first. If you want to develop ``powerbox``,\nclone the repo and install with ``python -m pip install -e \".[dev]\"``.\n\nAcknowledgment\n--------------\nIf you find ``powerbox`` useful in your research, please cite the Journal of Open Source Software paper at\nhttps://doi.org/10.21105/joss.00850.\n\nQuickLinks\n----------\n* Docs: https://powerbox.readthedocs.io\n* Quickstart: http://powerbox.readthedocs.io/en/latest/demos/getting_started.html\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Create arbitrary boxes with isotropic power spectra",
    "version": "0.7.3",
    "project_urls": {
        "documentation": "https://powerbox.readthedocs.io",
        "repository": "https://github.com/steven-murray/powerbox"
    },
    "split_keywords": [
        "power-spectrum",
        "signal processing"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "cea6e27ec9d8f32f1dd5cc763722b8e355d1c0958621e3f27bbb7eba2da39617",
                "md5": "88aff27139bd8df39e26b0e496966583",
                "sha256": "00c4d8e9b5ac00dfba418d31fd0e90c4452ff1e76d5c4a06ca8bb7e0ab5562e9"
            },
            "downloads": -1,
            "filename": "powerbox-0.7.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "88aff27139bd8df39e26b0e496966583",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 18384,
            "upload_time": "2023-11-21T11:19:54",
            "upload_time_iso_8601": "2023-11-21T11:19:54.947960Z",
            "url": "https://files.pythonhosted.org/packages/ce/a6/e27ec9d8f32f1dd5cc763722b8e355d1c0958621e3f27bbb7eba2da39617/powerbox-0.7.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5704a5314e578903d6e4bb00402fc10ccf374420ec75a050937597c09586926f",
                "md5": "6155117280f2a8b81c84fc620d7863e8",
                "sha256": "dc0f63d5f5e2a2ecce688b65c4f3b37e43e7be7fd24569969d987578c2a9619d"
            },
            "downloads": -1,
            "filename": "powerbox-0.7.3.tar.gz",
            "has_sig": false,
            "md5_digest": "6155117280f2a8b81c84fc620d7863e8",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 3232809,
            "upload_time": "2023-11-21T11:19:57",
            "upload_time_iso_8601": "2023-11-21T11:19:57.299979Z",
            "url": "https://files.pythonhosted.org/packages/57/04/a5314e578903d6e4bb00402fc10ccf374420ec75a050937597c09586926f/powerbox-0.7.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-11-21 11:19:57",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "steven-murray",
    "github_project": "powerbox",
    "travis_ci": false,
    "coveralls": true,
    "github_actions": true,
    "lcname": "powerbox"
}
        
Elapsed time: 0.14199s