source: MML/trunk/machine/SOLEIL/StorageRing/physics_synchronousphase.m @ 17

Last change on this file since 17 was 17, checked in by zhangj, 10 years ago

To have a stable version on the server.

  • Property svn:executable set to *
File size: 543 bytes
Line 
1function phis = physics_synchronousphase(eVRF,E,rho)
2%  PHYSICS_SYNCHRONOUSPHASE - Compute  synchronous phase
3%
4%  INPUTS
5%  1. eVRF - RF voltage in keV
6%  2. E - Energy in GeV
7%  3. rho - Curvature radius in meters
8%
9%  OUPUTS
10%  1. phis - synchronous phase
11%
12%  EXAMPLES
13%  1. physics_synchronousphase(4000,2.75,5.36)*180/pi
14%     is 13.65 degrees for Soleil
15%
16%  See Also  physics_RFacceptance, physics_quatumlifetime,
17%  physics_energyloss
18
19%
20% Written by Laurent S. Nadolski
21
22U0 = physics_energyloss(E,rho); % keV
23
24phis = asin(U0./eVRF);
Note: See TracBrowser for help on using the repository browser.