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_RFacceptance</title> |
---|
6 | <meta name="keywords" content="physics_RFacceptance"> |
---|
7 | <meta name="description" content="PHYSICS_RFACCEPTANCE - Computes RF acceptance"> |
---|
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_RFacceptance.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_RFacceptance |
---|
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_RFACCEPTANCE - Computes RF acceptance</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 epsilon_RF = physics_RFacceptance(VRF,alpha,rho,E,h) </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_RFACCEPTANCE - Computes RF acceptance |
---|
31 | |
---|
32 | INPUTS |
---|
33 | 1. VRF - RF voltage in kV |
---|
34 | 2. alpha - Momentum compaction factor |
---|
35 | 3. rho - Curvature radius in m |
---|
36 | 4. E - Energy in GeV |
---|
37 | 5. h - Harmonic number |
---|
38 | |
---|
39 | OUPUTS |
---|
40 | 1. epsilon_RF - RF acceptance |
---|
41 | |
---|
42 | EXAMPLES |
---|
43 | 1. physics_RFacceptance(4000,getmcf('Model'),5.36,2.75,416) |
---|
44 | is 0.057 for SOLEIL in the linear approximation |
---|
45 | |
---|
46 | 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, |
---|
47 | <a href="physics_energyloss.html" class="code" title="function U0 = physics_energyloss(E,rho)">physics_energyloss</a></pre></div> |
---|
48 | |
---|
49 | <!-- crossreference --> |
---|
50 | <h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2> |
---|
51 | This function calls: |
---|
52 | <ul style="list-style-image:url(../../../matlabicon.gif)"> |
---|
53 | <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> |
---|
54 | This function is called by: |
---|
55 | <ul style="list-style-image:url(../../../matlabicon.gif)"> |
---|
56 | <li><a href="physics_booster.html" class="code" title="function physics_booster">physics_booster</a> </li></ul> |
---|
57 | <!-- crossreference --> |
---|
58 | |
---|
59 | |
---|
60 | <h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../../up.png"></a></h2> |
---|
61 | <div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function epsilon_RF = physics_RFacceptance(VRF,alpha,rho,E,h)</a> |
---|
62 | 0002 <span class="comment">% PHYSICS_RFACCEPTANCE - Computes RF acceptance</span> |
---|
63 | 0003 <span class="comment">%</span> |
---|
64 | 0004 <span class="comment">% INPUTS</span> |
---|
65 | 0005 <span class="comment">% 1. VRF - RF voltage in kV</span> |
---|
66 | 0006 <span class="comment">% 2. alpha - Momentum compaction factor</span> |
---|
67 | 0007 <span class="comment">% 3. rho - Curvature radius in m</span> |
---|
68 | 0008 <span class="comment">% 4. E - Energy in GeV</span> |
---|
69 | 0009 <span class="comment">% 5. h - Harmonic number</span> |
---|
70 | 0010 <span class="comment">%</span> |
---|
71 | 0011 <span class="comment">% OUPUTS</span> |
---|
72 | 0012 <span class="comment">% 1. epsilon_RF - RF acceptance</span> |
---|
73 | 0013 <span class="comment">%</span> |
---|
74 | 0014 <span class="comment">% EXAMPLES</span> |
---|
75 | 0015 <span class="comment">% 1. physics_RFacceptance(4000,getmcf('Model'),5.36,2.75,416)</span> |
---|
76 | 0016 <span class="comment">% is 0.057 for SOLEIL in the linear approximation</span> |
---|
77 | 0017 <span class="comment">%</span> |
---|
78 | 0018 <span class="comment">% See Also physics_RFacceptance, physics_quatumlifetime,</span> |
---|
79 | 0019 <span class="comment">% physics_energyloss</span> |
---|
80 | 0020 |
---|
81 | 0021 <span class="comment">%</span> |
---|
82 | 0022 <span class="comment">% Written by Laurent S. Nadolski</span> |
---|
83 | 0023 |
---|
84 | 0024 |
---|
85 | 0025 U0 = <a href="physics_energyloss.html" class="code" title="function U0 = physics_energyloss(E,rho)">physics_energyloss</a>(E,rho); <span class="comment">% energyloss per turn in keV</span> |
---|
86 | 0026 q = VRF./U0; |
---|
87 | 0027 |
---|
88 | 0028 epsilon_RF = sqrt(2/(pi*alpha*h)*(U0*1e-6./E).*(sqrt(q.*q-1)-acos(1./q))); |
---|
89 | 0029</pre></div> |
---|
90 | <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> |
---|
91 | </body> |
---|
92 | </html> |
---|