source: MML/trunk/machine/SOLEIL/doc_html/machine/Soleil/StorageRing/physics_RFacceptance.html @ 4

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

Initial import--MML version from SOLEIL@2013

File size: 4.9 KB
Line 
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 &copy; 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> &gt;  <a href="#">machine</a> &gt; <a href="#">Soleil</a> &gt; <a href="index.html">StorageRing</a> &gt; physics_RFacceptance.m</div>
16
17<!--<table width="100%"><tr><td align="left"><a href="../../../index.html"><img alt="<" border="0" src="../../../left.png">&nbsp;Master index</a></td>
18<td align="right"><a href="index.html">Index for machine/Soleil/StorageRing&nbsp;<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>
51This 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>
54This 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>
620002 <span class="comment">% PHYSICS_RFACCEPTANCE - Computes RF acceptance</span>
630003 <span class="comment">%</span>
640004 <span class="comment">%  INPUTS</span>
650005 <span class="comment">%  1. VRF - RF voltage in kV</span>
660006 <span class="comment">%  2. alpha - Momentum compaction factor</span>
670007 <span class="comment">%  3. rho - Curvature radius in m</span>
680008 <span class="comment">%  4. E - Energy in GeV</span>
690009 <span class="comment">%  5. h - Harmonic number</span>
700010 <span class="comment">%</span>
710011 <span class="comment">%  OUPUTS</span>
720012 <span class="comment">%  1. epsilon_RF - RF acceptance</span>
730013 <span class="comment">%</span>
740014 <span class="comment">%  EXAMPLES</span>
750015 <span class="comment">%  1. physics_RFacceptance(4000,getmcf('Model'),5.36,2.75,416)</span>
760016 <span class="comment">%     is 0.057 for SOLEIL in the linear approximation</span>
770017 <span class="comment">%</span>
780018 <span class="comment">%  See Also  physics_RFacceptance, physics_quatumlifetime,</span>
790019 <span class="comment">%  physics_energyloss</span>
800020
810021 <span class="comment">%</span>
820022 <span class="comment">%  Written by Laurent S. Nadolski</span>
830023
840024
850025 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>
860026 q = VRF./U0;
870027
880028 epsilon_RF = sqrt(2/(pi*alpha*h)*(U0*1e-6./E).*(sqrt(q.*q-1)-acos(1./q)));
890029</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> &copy; 2003</address>
91</body>
92</html>
Note: See TracBrowser for help on using the repository browser.