Skip to main content

Tools for analyzing heavy-ion collision simulations.

Project description

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

Tools for analyzing heavy-ion collision simulations in Python.

Documentation

jbernhard.github.io/hic

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)

Project details


Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page