ocelot.utils.add_wake

utilities to add externaly calculated wakes to beam files Usage: from command line: python add_wake.py add beamfile beamfile_wake python add_wake.py add_from_file beamfile wakefile beamfile_wake python add_wake.py current beamfile currentfile from script: from ocelot.utils.add_wake import add_wake_to_beamf add_wake_to_beamf(beamf, new_beamf)

Module Contents

Functions

get_current(p_array, num_bins=200, **kwargs)

Function calculates beam current from particleArray.

get_wake_from_file(wakefile)

add_wake_to_beam(beam)

ocelot.utils.add_wake.get_current(beamf)
ocelot.utils.add_wake.get_wake_from_file(wakefile)
ocelot.utils.add_wake.add_wake_to_beam(beam)
ocelot.utils.add_wake.command
ocelot.utils.add_wake.beam
ocelot.utils.add_wake.wakef
ocelot.utils.add_wake.beam