1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" |
---|
2 | "http://www.w3.org/TR/REC-html40/loose.dtd"> |
---|
3 | <html> |
---|
4 | <head> |
---|
5 | <title>Description of physics_synchronousphase</title> |
---|
6 | <meta name="keywords" content="physics_synchronousphase"> |
---|
7 | <meta name="description" content="PHYSICS_SYNCHRONOUSPHASE - Compute synchronous phase"> |
---|
8 | <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
---|
9 | <meta name="generator" content="m2html © 2003 Guillaume Flandin"> |
---|
10 | <meta name="robots" content="index, follow"> |
---|
11 | <link type="text/css" rel="stylesheet" href="../../../m2html.css"> |
---|
12 | </head> |
---|
13 | <body> |
---|
14 | <a name="_top"></a> |
---|
15 | <div><a href="../../../index.html">Home</a> > <a href="#">machine</a> > <a href="#">Soleil</a> > <a href="index.html">StorageRing</a> > physics_synchronousphase.m</div> |
---|
16 | |
---|
17 | <!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png"> Master index</a></td> |
---|
18 | <td align="right"><a href="index.html">Index for machine/Soleil/StorageRing <img alt=">" border="0" src="../../../right.png"></a></td></tr></table>--> |
---|
19 | |
---|
20 | <h1>physics_synchronousphase |
---|
21 | </h1> |
---|
22 | |
---|
23 | <h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2> |
---|
24 | <div class="box"><strong>PHYSICS_SYNCHRONOUSPHASE - Compute synchronous phase</strong></div> |
---|
25 | |
---|
26 | <h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2> |
---|
27 | <div class="box"><strong>function phis = physics_synchronousphase(eVRF,E,rho) </strong></div> |
---|
28 | |
---|
29 | <h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2> |
---|
30 | <div class="fragment"><pre class="comment"> PHYSICS_SYNCHRONOUSPHASE - Compute synchronous phase |
---|
31 | |
---|
32 | INPUTS |
---|
33 | 1. eVRF - RF voltage in keV |
---|
34 | 2. E - Energy in GeV |
---|
35 | 3. rho - Curvature radius in meters |
---|
36 | |
---|
37 | OUPUTS |
---|
38 | 1. phis - synchronous phase |
---|
39 | |
---|
40 | EXAMPLES |
---|
41 | 1. physics_synchronousphase(4000,2.75,5.36)*180/pi |
---|
42 | is 13.65 degrees for Soleil |
---|
43 | |
---|
44 | See Also <a href="physics_RFacceptance.html" class="code" title="function epsilon_RF = physics_RFacceptance(VRF,alpha,rho,E,h)">physics_RFacceptance</a>, physics_quatumlifetime, |
---|
45 | <a href="physics_energyloss.html" class="code" title="function U0 = physics_energyloss(E,rho)">physics_energyloss</a></pre></div> |
---|
46 | |
---|
47 | <!-- crossreference --> |
---|
48 | <h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2> |
---|
49 | This function calls: |
---|
50 | <ul style="list-style-image:url(../../../matlabicon.gif)"> |
---|
51 | <li><a href="physics_energyloss.html" class="code" title="function U0 = physics_energyloss(E,rho)">physics_energyloss</a> PHYSICS_ENERGYLOSS - Computed energy loss per turn</li></ul> |
---|
52 | This function is called by: |
---|
53 | <ul style="list-style-image:url(../../../matlabicon.gif)"> |
---|
54 | <li><a href="physics_bunchlength.html" class="code" title="function sigmaL = physics_bunchlength(eVRF,E,rho)">physics_bunchlength</a> PHYSICS_bunchlength - Compute bunch length</li><li><a href="physics_synchrotrontune.html" class="code" title="function nus = physics_synchrotrontune(eVRF,E,rho)">physics_synchrotrontune</a> PHYSICS_ENERGYLOSS - Computed synchrotron tune</li></ul> |
---|
55 | <!-- crossreference --> |
---|
56 | |
---|
57 | |
---|
58 | <h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2> |
---|
59 | <div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function phis = physics_synchronousphase(eVRF,E,rho)</a> |
---|
60 | 0002 <span class="comment">% PHYSICS_SYNCHRONOUSPHASE - Compute synchronous phase</span> |
---|
61 | 0003 <span class="comment">%</span> |
---|
62 | 0004 <span class="comment">% INPUTS</span> |
---|
63 | 0005 <span class="comment">% 1. eVRF - RF voltage in keV</span> |
---|
64 | 0006 <span class="comment">% 2. E - Energy in GeV</span> |
---|
65 | 0007 <span class="comment">% 3. rho - Curvature radius in meters</span> |
---|
66 | 0008 <span class="comment">%</span> |
---|
67 | 0009 <span class="comment">% OUPUTS</span> |
---|
68 | 0010 <span class="comment">% 1. phis - synchronous phase</span> |
---|
69 | 0011 <span class="comment">%</span> |
---|
70 | 0012 <span class="comment">% EXAMPLES</span> |
---|
71 | 0013 <span class="comment">% 1. physics_synchronousphase(4000,2.75,5.36)*180/pi</span> |
---|
72 | 0014 <span class="comment">% is 13.65 degrees for Soleil</span> |
---|
73 | 0015 <span class="comment">%</span> |
---|
74 | 0016 <span class="comment">% See Also physics_RFacceptance, physics_quatumlifetime,</span> |
---|
75 | 0017 <span class="comment">% physics_energyloss</span> |
---|
76 | 0018 |
---|
77 | 0019 <span class="comment">%</span> |
---|
78 | 0020 <span class="comment">% Written by Laurent S. Nadolski</span> |
---|
79 | 0021 |
---|
80 | 0022 U0 = <a href="physics_energyloss.html" class="code" title="function U0 = physics_energyloss(E,rho)">physics_energyloss</a>(E,rho); <span class="comment">% keV</span> |
---|
81 | 0023 |
---|
82 | 0024 phis = asin(U0./eVRF);</pre></div> |
---|
83 | <hr><address>Generated on Mon 21-May-2007 15:35:27 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> © 2003</address> |
---|
84 | </body> |
---|
85 | </html> |
---|