I am having an issue with elegant2astra conversion tool.
After creating a bunch:
Code: Select all
&bunched_beam
bunch = %s.bun,
n_particles_per_bunch=50000,
sigma_s = 5.7735e-7
sigma_dp = 1e-3
emit_nx = 1e-6,
emit_ny = 1e-6,
use_twiss_command_values = 1,
distribution_type[0] = "gaussian",
distribution_type[1] = "gaussian",
distribution_type[2] = "hard-edge",
distribution_cutoff[0] = 3.0,
distribution_cutoff[1] = 3.0,
distribution_cutoff[2] = 3.00,
symmetrize = 1,
enforce_rms_values[0] = 1,
enforce_rms_values[1] = 1,
enforce_rms_values[2] = 1,
Po= 1000
&end
Code: Select all
elegant2astra fodo.bun hardedge.in
Code: Select all
total charge Q = NaN nC
horizontal beam position x = NaN mm
vertical beam position y = NaN mm
What am I doing wrong here? Thank you.