set_phase_space_from_matrix#

ParticleBunch.set_phase_space_from_matrix(beam_matrix)[source]#

Sets the phase space coordinates from a matrix with the values of (x, px, y, py, xi, pz).