:mod:`ocelot.utils.add_wake` ============================ .. py:module:: ocelot.utils.add_wake .. autoapi-nested-parse:: 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 ~~~~~~~~~ .. autoapisummary:: ocelot.utils.add_wake.get_current ocelot.utils.add_wake.get_wake_from_file ocelot.utils.add_wake.add_wake_to_beam .. function:: get_current(beamf) .. function:: get_wake_from_file(wakefile) .. function:: add_wake_to_beam(beam) .. data:: command .. data:: beam .. data:: wakef .. data:: beam