Name | calzone JSON |
Version |
1.1.0
JSON |
| download |
home_page | None |
Summary | A Geant4 Python wrapper. |
upload_time | 2024-12-09 15:34:52 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.7.0 |
license | LGPLv3 |
keywords |
python
monte carlo
geant4
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# Calzone
(**CAL**orimeter **ZONE**)
## Description
CalZone is a [Geant4][Geant4] Python wrapper for simulating the energy
deposition by high-energy particles in a calorimeter. The interface has been
designed with simplicity in mind. Primary particles are injected into the
simulation volume as a `numpy.ndarray`, and a `numpy.ndarray` of energy deposits
is returned. The Monte Carlo geometry is encoded in a Python `dict` which can be
loaded from configuration files, e.g. using [JSON][JSON], [TOML][TOML] or
[YAML][YAML] formats. This basic workflow is illustrated below,
```python
import calzone
simulation = calzone.Simulation("geometry.toml")
particles = calzone.particles(10000, pid="e-", energy=0.5, position=(0,0,1))
deposits = simulation.run(particles).deposits
```
## License
The Calzone source is distributed under the **GNU LGPLv3** license. See the
provided [LICENSE](LICENSE) and [COPYING.LESSER](COPYING.LESSER) files.
[JSON]: https://www.json.org/json-en.html
[Geant4]: https://geant4.web.cern.ch/docs/
[TOML]: https://toml.io/en/
[YAML]: https://yaml.org/
Raw data
{
"_id": null,
"home_page": null,
"name": "calzone",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.7.0",
"maintainer_email": null,
"keywords": "Python, Monte Carlo, Geant4",
"author": null,
"author_email": "Valentin Niess <valentin.niess@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/9b/ac/135720044b8acb9f0180ddbc41bea64ab75ea0c47e0accbac553e97d6c0b/calzone-1.1.0.tar.gz",
"platform": null,
"description": "# Calzone\n(**CAL**orimeter **ZONE**)\n\n\n## Description\n\nCalZone is a [Geant4][Geant4] Python wrapper for simulating the energy\ndeposition by high-energy particles in a calorimeter. The interface has been\ndesigned with simplicity in mind. Primary particles are injected into the\nsimulation volume as a `numpy.ndarray`, and a `numpy.ndarray` of energy deposits\nis returned. The Monte Carlo geometry is encoded in a Python `dict` which can be\nloaded from configuration files, e.g. using [JSON][JSON], [TOML][TOML] or\n[YAML][YAML] formats. This basic workflow is illustrated below,\n\n```python\nimport calzone\n\nsimulation = calzone.Simulation(\"geometry.toml\")\nparticles = calzone.particles(10000, pid=\"e-\", energy=0.5, position=(0,0,1))\ndeposits = simulation.run(particles).deposits\n```\n\n\n## License\nThe Calzone source is distributed under the **GNU LGPLv3** license. See the\nprovided [LICENSE](LICENSE) and [COPYING.LESSER](COPYING.LESSER) files.\n\n\n[JSON]: https://www.json.org/json-en.html\n[Geant4]: https://geant4.web.cern.ch/docs/\n[TOML]: https://toml.io/en/\n[YAML]: https://yaml.org/\n",
"bugtrack_url": null,
"license": "LGPLv3",
"summary": "A Geant4 Python wrapper.",
"version": "1.1.0",
"project_urls": {
"source": "https://github.com/niess/calzone"
},
"split_keywords": [
"python",
" monte carlo",
" geant4"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "fa306e6f342a4aed14a1154e3750d9df83ec1971cc564ed0ae89aaaf4cc4c2b7",
"md5": "dc04f422b9ce1448420af05e73d45e55",
"sha256": "5b593a9712bc82a44a62dff267c1f6f93168142d27262ee2fe469d056a16e99e"
},
"downloads": -1,
"filename": "calzone-1.1.0-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
"has_sig": false,
"md5_digest": "dc04f422b9ce1448420af05e73d45e55",
"packagetype": "bdist_wheel",
"python_version": "cp37",
"requires_python": ">=3.7.0",
"size": 21986836,
"upload_time": "2024-12-09T15:34:49",
"upload_time_iso_8601": "2024-12-09T15:34:49.583698Z",
"url": "https://files.pythonhosted.org/packages/fa/30/6e6f342a4aed14a1154e3750d9df83ec1971cc564ed0ae89aaaf4cc4c2b7/calzone-1.1.0-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "9bac135720044b8acb9f0180ddbc41bea64ab75ea0c47e0accbac553e97d6c0b",
"md5": "e4515a3f7c1ece3772d993692125431c",
"sha256": "698ca4cea445013e3dd129777da87fb3f970c46995aa94ee9fb71140210b861a"
},
"downloads": -1,
"filename": "calzone-1.1.0.tar.gz",
"has_sig": false,
"md5_digest": "e4515a3f7c1ece3772d993692125431c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7.0",
"size": 110491,
"upload_time": "2024-12-09T15:34:52",
"upload_time_iso_8601": "2024-12-09T15:34:52.532423Z",
"url": "https://files.pythonhosted.org/packages/9b/ac/135720044b8acb9f0180ddbc41bea64ab75ea0c47e0accbac553e97d6c0b/calzone-1.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-12-09 15:34:52",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "niess",
"github_project": "calzone",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "calzone"
}