bpmsimulation/get_dipole_response.c File Reference


Detailed Description

Definition in file get_dipole_response.c.

#include <bpm/bpm_messages.h>
#include <bpm/bpm_simulation.h>

Include dependency graph for get_dipole_response.c:

Go to the source code of this file.

Functions

int get_dipole_response (double bunchcharge, double chargesens, double pos, double possens, double tilt, double tiltsens, double arrivaltime, double cavityfreq, double *amp, double *phase)


Function Documentation

int get_dipole_response ( double  bunchcharge,
double  chargesens,
double  pos,
double  possens,
double  tilt,
double  tiltsens,
double  arrivaltime,
double  cavityfreq,
double *  amp,
double *  phase 
)

Calculate the response of a dipole signal given an incoming bunch

NOTE: Still have phase questions! Alex**May need to include the bunch length**

Parameters:
bunchcharge The charge of the bunch (in nC)
chargesens The charge sensitivty of the BPM **Alex**remove this**
pos The position of the beam (in um)
possens The position sensitivty of the BPM **Alex**mV/nC/mm**
tilt The tilt of the beam (in urad)
tiltsens The tilt sensitivty of the BPM **Alex**mV/nC/mrad**
arrivaltime The beam arrival time
cavityfreq The frequency of the cavity
amp the amplitude of the waveform at the arrival time
phase the phase of the waveform at the arrival time

Definition at line 25 of file get_dipole_response.c.

Referenced by generate_dipole().


Generated on Thu Jan 10 10:18:32 2008 for libbpm by  doxygen 1.5.1