Tools for analyzing heavy-ion collision simulations.
Project description
Tools for analyzing heavy-ion collision simulations in Python.
Documentation
Installation
Requirements: Python 2.7 or 3.3+ with numpy.
Install the latest release with pip:
pip install hic
To run the tests, install nose and run
nosetests -v hic
Simple examples
Calculate flow cumulants:
from hic import flow
vnk = flow.Cumulant(mult, q2, q3)
v22 = vnk.flow(2, 2)
Randomly sample events with specified flows:
sampler = flow.Sampler(v2, v3)
phi = sampler.sample(mult)
Calculate initial condition eccentricities:
from hic import initial
ic = initial.IC(profile, dxy)
e2 = ic.ecc(2)
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
hic-0.1.0.tar.gz
(9.1 kB
view details)
File details
Details for the file hic-0.1.0.tar.gz
.
File metadata
- Download URL: hic-0.1.0.tar.gz
- Upload date:
- Size: 9.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 26d313346c29f1e7326d5a163b6d1cc563bcf84cf99ba558d10cd9f2fde475f6 |
|
MD5 | 5fbae11e99ce9df7f7526dc5ce83c455 |
|
BLAKE2b-256 | 1d4ac23c4b0987b7f7cb8d0fd707d64df421831e8258dcee2d0119d8f7142227 |