pybdsim


Namepybdsim JSON
Version 3.6.1 PyPI version JSON
download
home_page
SummaryPython utilities for the Monte Carlo Particle accelerator code BDSIM.
upload_time2024-01-30 21:23:26
maintainer
docs_urlNone
author
requires_python>=3.6
license
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # pybdsim #

A python package containing both utilities for preparing and analysing BDSIM input and output as well as controlling BDSIM.

## Authors ##

L. Nevay
A. Abramov
S. Alden
S. Boogert
M. Deniaud
C. Hernalsteens
F. Metzger
W. Parker
E. Ramoisiaux
W. Shields
J. Snuverink
R. Tesse
S. Walker


## Setup ##

pip install pybdsim

Or from source, from the main directory:

$ make install

or for development where the local copy of the repository is used and can
be reloaded with local changes:

$ make develop

Look in the Makefile for the various pip commands (e.g. for with a venv)


```
python
>>> import pybdsim
>>> d = pybdsim.Data.Load("output.root")
>>> eventTree = a.GetEventTree()
>>> for event in eventTree:
        print(event.Summary.nTracks)
>>> dh = pybdsim.Data.Load("analysis_histograms.root")
>>> pybdsim.Plot.Histogram1D(dh.histogramspy["Event/MergedHistograms/PlossHisto"])
```

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "pybdsim",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": "Laurie Nevay <laurie.nevay@cern.ch>",
    "keywords": "",
    "author": "",
    "author_email": "\"JAI@RHUL\" <laurie.nevay@cern.ch>",
    "download_url": "https://files.pythonhosted.org/packages/4c/b3/ea145741bc718cad6861d97e63c6ea66f2bc6263eef23cc81e3b220b8ea1/pybdsim-3.6.1.tar.gz",
    "platform": null,
    "description": "# pybdsim #\n\nA python package containing both utilities for preparing and analysing BDSIM input and output as well as controlling BDSIM.\n\n## Authors ##\n\nL. Nevay\nA. Abramov\nS. Alden\nS. Boogert\nM. Deniaud\nC. Hernalsteens\nF. Metzger\nW. Parker\nE. Ramoisiaux\nW. Shields\nJ. Snuverink\nR. Tesse\nS. Walker\n\n\n## Setup ##\n\npip install pybdsim\n\nOr from source, from the main directory:\n\n$ make install\n\nor for development where the local copy of the repository is used and can\nbe reloaded with local changes:\n\n$ make develop\n\nLook in the Makefile for the various pip commands (e.g. for with a venv)\n\n\n```\npython\n>>> import pybdsim\n>>> d = pybdsim.Data.Load(\"output.root\")\n>>> eventTree = a.GetEventTree()\n>>> for event in eventTree:\n        print(event.Summary.nTracks)\n>>> dh = pybdsim.Data.Load(\"analysis_histograms.root\")\n>>> pybdsim.Plot.Histogram1D(dh.histogramspy[\"Event/MergedHistograms/PlossHisto\"])\n```\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "Python utilities for the Monte Carlo Particle accelerator code BDSIM.",
    "version": "3.6.1",
    "project_urls": {
        "documentation": "http://www.pp.rhul.ac.uk/bdsim/pybdsim",
        "homepage": "http://www.pp.rhul.ac.uk/bdsim/pybdsim",
        "repository": "https://bitbucket.org/jairhul/pybdsim"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6fc2144c19a40b48f0a50d7e5249188f0ad39ce73b9a88a3b70f644ce87bc83f",
                "md5": "2e817ffb0cd9e6496cac250e02da1aaf",
                "sha256": "c14c61823b3a7750e4c87b9e5f7db6472ab3a50205bd898bd8b8323e5194491f"
            },
            "downloads": -1,
            "filename": "pybdsim-3.6.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "2e817ffb0cd9e6496cac250e02da1aaf",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 219912,
            "upload_time": "2024-01-30T21:23:19",
            "upload_time_iso_8601": "2024-01-30T21:23:19.045934Z",
            "url": "https://files.pythonhosted.org/packages/6f/c2/144c19a40b48f0a50d7e5249188f0ad39ce73b9a88a3b70f644ce87bc83f/pybdsim-3.6.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "4cb3ea145741bc718cad6861d97e63c6ea66f2bc6263eef23cc81e3b220b8ea1",
                "md5": "6cc45826f4f9c25e5bdb14f3df7de3be",
                "sha256": "0a1907f9330baa7731458e3b7e399393e401a460d5eb8ce4c6e7e873b010d2a3"
            },
            "downloads": -1,
            "filename": "pybdsim-3.6.1.tar.gz",
            "has_sig": false,
            "md5_digest": "6cc45826f4f9c25e5bdb14f3df7de3be",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 3502855,
            "upload_time": "2024-01-30T21:23:26",
            "upload_time_iso_8601": "2024-01-30T21:23:26.449432Z",
            "url": "https://files.pythonhosted.org/packages/4c/b3/ea145741bc718cad6861d97e63c6ea66f2bc6263eef23cc81e3b220b8ea1/pybdsim-3.6.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-01-30 21:23:26",
    "github": false,
    "gitlab": false,
    "bitbucket": true,
    "codeberg": false,
    "bitbucket_user": "jairhul",
    "bitbucket_project": "pybdsim",
    "lcname": "pybdsim"
}
        
Elapsed time: 0.17464s