A Geant4 Python wrapper.
Project description
Calzone
(CALorimeter ZONE)
Description
CalZone is a 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, TOML or
YAML formats. This basic workflow is illustrated below,
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 and COPYING.LESSER files.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file calzone-1.0.0.tar.gz.
File metadata
- Download URL: calzone-1.0.0.tar.gz
- Upload date:
- Size: 110.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ab6baec51d73bb5f21dfe0c630afda865f889b2e18fa44a22b976bc5f20e483d
|
|
| MD5 |
0c93ebdbfe4b4d794386c1a1d11eabf0
|
|
| BLAKE2b-256 |
8f9405ad407b980ecd81f4bfdad36fe1672dd8d4820f2cbbab6a89a6a7fb9468
|
Provenance
The following attestation bundles were made for calzone-1.0.0.tar.gz:
Publisher:
package.yml on niess/calzone
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
calzone-1.0.0.tar.gz -
Subject digest:
ab6baec51d73bb5f21dfe0c630afda865f889b2e18fa44a22b976bc5f20e483d - Sigstore transparency entry: 153063841
- Sigstore integration time:
-
Permalink:
niess/calzone@5c62e4a706903c16037aaf16290c2a5650536b2a -
Branch / Tag:
refs/heads/master - Owner: https://github.com/niess
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
package.yml@5c62e4a706903c16037aaf16290c2a5650536b2a -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file calzone-1.0.0-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: calzone-1.0.0-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 22.0 MB
- Tags: CPython 3.7+, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d3f008785f150e78e03b0214f16596046872ff97b11ca0c34b3ee4a0ad6e589c
|
|
| MD5 |
bc8d10aac6ee984f3d65928d269b4447
|
|
| BLAKE2b-256 |
e55257dbfcf4652a6d9d778ce10ef4486f0dc45ec92fdd6ea488e336dc5df78b
|
Provenance
The following attestation bundles were made for calzone-1.0.0-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:
Publisher:
package.yml on niess/calzone
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
calzone-1.0.0-cp37-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl -
Subject digest:
d3f008785f150e78e03b0214f16596046872ff97b11ca0c34b3ee4a0ad6e589c - Sigstore transparency entry: 153063842
- Sigstore integration time:
-
Permalink:
niess/calzone@5c62e4a706903c16037aaf16290c2a5650536b2a -
Branch / Tag:
refs/heads/master - Owner: https://github.com/niess
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
package.yml@5c62e4a706903c16037aaf16290c2a5650536b2a -
Trigger Event:
workflow_dispatch
-
Statement type: