topas2numpy
Reading TOPAS results into NumPy arrays.
Features
TOPAS is a Monte Carlo tool for particle simulation, designed for medical physics research. It can output two data types:
binned: a quantity (e.g. dose) is accumulated within a binned geometry component
ntuple: multiple data columns are recorded per particle history
This package is able to read both data types, enabling analysis within Python.
Basic Usage
from topas2numpy import BinnedResult
x = BinnedResult('Dose.csv')
from topas2numpy import read_ntuple
y = read_ntuple('Beam.phsp')
History
0.1.2 (2016-02-23)
Support upcoming binary ntuple headers
Support additional integer columns in old-style binary phasespaces
0.1.0 (2016-02-19)
First release on PyPI
Metadata
Release files for topas2numpy 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| topas2numpy-0.2.0.tar.gz | 90.3 kB | Without provenance | Details for topas2numpy-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| topas2numpy-0.2.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for topas2numpy-0.2.0-py2.py3-none-any.whl |
Total release size: 97.5 kB
Release files / topas2numpy-0.2.0.tar.gz
| Download URL | topas2numpy-0.2.0.tar.gz |
|---|---|
| Size | 90.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5691d1fa690ffa1971b72e00722e81f41907e5cb4b41d63f3b538c2d33ce160e
|
|
BLAKE2b-256 checksum How to use checksums |
b9e5fe6fc71d9748b3895dc2fecc65da25ff8ead30da63d0cafd3b2ad88a62d8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / topas2numpy-0.2.0-py2.py3-none-any.whl
| Download URL | topas2numpy-0.2.0-py2.py3-none-any.whl |
|---|---|
| Size | 7.2 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
8e1023066d4405e8c084912b0fe80e74293040281b58342b86e46a1313c6596d
|
|
BLAKE2b-256 checksum How to use checksums |
3b32440c9529eed74fadfaa676324ad220268741950c56a34fe08f4b7f1458ef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for topas2numpy 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.