Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

Tools for analyzing heavy-ion collision simulations.

Project description

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)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for hic, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size hic-0.1.0.tar.gz (9.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page