:mod:`ocelot.cpbd.reswake` ========================== .. py:module:: ocelot.cpbd.reswake .. autoapi-nested-parse:: writen by I. Zagorodnov, DESY and S.Tomin XFEL, 2015. Module Contents --------------- Functions ~~~~~~~~~ .. autoapisummary:: ocelot.cpbd.reswake.wake2impedance ocelot.cpbd.reswake.impedance2wake ocelot.cpbd.reswake.imp_resistiveAC_SI ocelot.cpbd.reswake.ResistiveZaZb ocelot.cpbd.reswake.LossShape ocelot.cpbd.reswake.pipe_wake ocelot.cpbd.reswake.xfel_pipe_wake .. function:: wake2impedance(s, w) Fourier transform with exp(iwt) s - Meter w - V/C f - Hz y - Om .. function:: impedance2wake(f, y) Fourier transform with exp(-iwt) f - Hz y - Om s - Meter w - V/C .. function:: imp_resistiveAC_SI(f, cond, a, tau, L) resistive impedance of round pipe (in SI Units) dimensions: f - Hertz cond - in 1/Second a - pipe radius in m tau - the relaxation time in s L-inductive for dielectric layer .. function:: ResistiveZaZb(xb, bunch, a, conductivity, tau, Ind) :param xb: :param bunch: :param a: tube radius :param conductivity: :param tau: :param Ind: :return: .. function:: LossShape(bunch, wake) loss, spread, peak dimensions: wake - m , Volt/pC out - V/pC; .. function:: pipe_wake(z, current, tube_radius, tube_len, conductivity, tau, roughness, d_oxid) :param z: :param current: :param tube_radius: :param tube_len: :param conductivity: :param tau: :param roughness: :param d_oxid: :return: .. function:: xfel_pipe_wake(s, current) :param s: smaller number (usually negative) is the head :param current: :return: s, current, wake .. data:: tube_radius :annotation: = 0.005