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 most recent stable version of hic with pip:
pip install hic
Simple examples
Calculate flow cumulants:
from hic import flow
vnk = flow.FlowCumulant(mult, {2: q2, 3: q3})
v22 = vnk.flow(2, 2)
Randomly sample events with specified flows:
phi = flow.sample_flow_pdf(mult, vn=(v2, v3))
Calculate initial condition eccentricities:
from hic import initial
ic = initial.IC(profile, dxy)
e2 = ic.ecc(2)