hazma.rambo.
generate_phase_space
(num_ps_pts, masses, cme, mat_elem_sqrd=<function <lambda>>, num_cpus=None)¶Generate a specified number of phase space points given a set of final state particles and a given center of mass energy. NOTE: weights are not normalized.
Parameters: |
|
---|---|
Returns: | phase_space_points (numpy.ndarray) – List of phase space points. The phase space points are in the form {{ke11, kx11, ky11, kz11, …, keN1, kxN1, kyN1, kzN1, weight1},
|
Examples
Generate 100000 phase space points for a 3 body final state.
>>> from hazma import rambo
>>> import numpy as np
>>> masses = np.array([100., 200., 0.0])
>>> cme = 1000.
>>> num_ps_pts = 100000
>>> num_fsp = len(masses)
>>>
>>> pts = rambo.generate_phase_space(num_ps_pts, masses, cme)
Built with Sphinx using a RiboKit Theme . Hosted on GitHub Pages.
© Copyright 2017, Logan A. Morrison.