Particlization model (Cooper-Frye sampler) for relativistic heavy-ion collisions
Install:
pip install frzout
Basic usage:
import frzout
# create surface object from data arrays
surface = frzout.Surface(x, sigma, v, pi=pi, Pi=Pi)
# create hadron resonance gas object at T = 0.150 GeV
hrg = frzout.HRG(.150)
# sample particles
parts = frzout.sample(surface, hrg)