Skip to content
/ hic Public

Tools for analyzing heavy-ion collision simulations in Python.

License

Notifications You must be signed in to change notification settings

Duke-QCD/hic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hic

http://img.shields.io/travis/Duke-QCD/hic.svg?style=flat-square

Tools for analyzing heavy-ion collision simulations in Python.

Documentation

qcd.phy.duke.edu/hic

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)

About

Tools for analyzing heavy-ion collision simulations in Python.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages