root/doc/html/classitpp_1_1Channel__Specification.html @ 353

Revision 353, 24.0 kB (checked in by smidl, 16 years ago)

doc

RevLine 
[353]1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
3<title>mixpp: itpp::Channel_Specification Class Reference</title>
4<link href="tabs.css" rel="stylesheet" type="text/css">
5<link href="doxygen.css" rel="stylesheet" type="text/css">
6</head><body>
7<!-- Generated by Doxygen 1.5.8 -->
8<script type="text/javascript">
9<!--
10function changeDisplayState (e){
11  var num=this.id.replace(/[^[0-9]/g,'');
12  var button=this.firstChild;
13  var sectionDiv=document.getElementById('dynsection'+num);
14  if (sectionDiv.style.display=='none'||sectionDiv.style.display==''){
15    sectionDiv.style.display='block';
16    button.src='open.gif';
17  }else{
18    sectionDiv.style.display='none';
19    button.src='closed.gif';
20  }
21}
22function initDynSections(){
23  var divs=document.getElementsByTagName('div');
24  var sectionCounter=1;
25  for(var i=0;i<divs.length-1;i++){
26    if(divs[i].className=='dynheader'&&divs[i+1].className=='dynsection'){
27      var header=divs[i];
28      var section=divs[i+1];
29      var button=header.firstChild;
30      if (button!='IMG'){
31        divs[i].insertBefore(document.createTextNode(' '),divs[i].firstChild);
32        button=document.createElement('img');
33        divs[i].insertBefore(button,divs[i].firstChild);
34      }
35      header.style.cursor='pointer';
36      header.onclick=changeDisplayState;
37      header.id='dynheader'+sectionCounter;
38      button.src='closed.gif';
39      section.id='dynsection'+sectionCounter;
40      section.style.display='none';
41      section.style.marginLeft='14px';
42      sectionCounter++;
43    }
44  }
45}
46window.onload = initDynSections;
47-->
48</script>
49<div class="navigation" id="top">
50  <div class="tabs">
51    <ul>
52      <li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
53      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
54      <li><a href="modules.html"><span>Modules</span></a></li>
55      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
56      <li><a href="files.html"><span>Files</span></a></li>
57    </ul>
58  </div>
59  <div class="tabs">
60    <ul>
61      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
62      <li><a href="classes.html"><span>Class&nbsp;Index</span></a></li>
63      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
64      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
65    </ul>
66  </div>
67  <div class="navpath"><b>itpp</b>::<a class="el" href="classitpp_1_1Channel__Specification.html">Channel_Specification</a>
68  </div>
69</div>
70<div class="contents">
71<h1>itpp::Channel_Specification Class Reference<br>
72<small>
73[<a class="el" href="group__channels.html">Channel Modeling</a>]</small>
74</h1><!-- doxytag: class="itpp::Channel_Specification" -->General specification of a time-domain multipath channel. 
75<a href="#_details">More...</a>
76<p>
77<code>#include &lt;<a class="el" href="channel_8h-source.html">channel.h</a>&gt;</code>
78<p>
79
80<p>
81<a href="classitpp_1_1Channel__Specification-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
82<tr><td></td></tr>
83<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
84<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b9a5781414efa19966ec0acbfc3d17c5"></a><!-- doxytag: member="itpp::Channel_Specification::Channel_Specification" ref="b9a5781414efa19966ec0acbfc3d17c5" args="(const vec &amp;avg_power_dB=&quot;0&quot;, const vec &amp;delay_prof=&quot;0&quot;)" -->
85&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Channel__Specification.html#b9a5781414efa19966ec0acbfc3d17c5">Channel_Specification</a> (const vec &amp;avg_power_dB=&quot;0&quot;, const vec &amp;delay_prof=&quot;0&quot;)</td></tr>
86
87<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Default constructor (power profile in dB, delay profile in seconds). <br></td></tr>
88<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c168d62602c043fb3c275d7c5139dd5e"></a><!-- doxytag: member="itpp::Channel_Specification::Channel_Specification" ref="c168d62602c043fb3c275d7c5139dd5e" args="(const CHANNEL_PROFILE profile)" -->
89&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Channel__Specification.html#c168d62602c043fb3c275d7c5139dd5e">Channel_Specification</a> (const <a class="el" href="group__channels.html#gf1d6629952e915c9afe3913b726836ce">CHANNEL_PROFILE</a> profile)</td></tr>
90
91<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Initialize with predetermined channel profile. <br></td></tr>
92<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="46c6509230285326c0b934a04933baed"></a><!-- doxytag: member="itpp::Channel_Specification::~Channel_Specification" ref="46c6509230285326c0b934a04933baed" args="()" -->
93virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Channel__Specification.html#46c6509230285326c0b934a04933baed">~Channel_Specification</a> ()</td></tr>
94
95<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Destructor. <br></td></tr>
96<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="aee129f18501f8e58e9589b71ca8878e"></a><!-- doxytag: member="itpp::Channel_Specification::set_channel_profile" ref="aee129f18501f8e58e9589b71ca8878e" args="(const vec &amp;avg_power_dB, const vec &amp;delay_prof)" -->
97void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Channel__Specification.html#aee129f18501f8e58e9589b71ca8878e">set_channel_profile</a> (const vec &amp;avg_power_dB, const vec &amp;delay_prof)</td></tr>
98
99<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set both average power profile in dB and power delay profile in seconds. <br></td></tr>
100<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d65ec0e5cca7842a54db770a8dd2ec03"></a><!-- doxytag: member="itpp::Channel_Specification::set_channel_profile" ref="d65ec0e5cca7842a54db770a8dd2ec03" args="(const CHANNEL_PROFILE profile)" -->
101void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Channel__Specification.html#d65ec0e5cca7842a54db770a8dd2ec03">set_channel_profile</a> (const <a class="el" href="group__channels.html#gf1d6629952e915c9afe3913b726836ce">CHANNEL_PROFILE</a> profile)</td></tr>
102
103<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set channel profile to a predetermined profile. <br></td></tr>
104<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1b464ccbe023118ef1e06b55c00dbd88"></a><!-- doxytag: member="itpp::Channel_Specification::set_doppler_spectrum" ref="1b464ccbe023118ef1e06b55c00dbd88" args="(DOPPLER_SPECTRUM *tap_spectrum)" -->
105void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Channel__Specification.html#1b464ccbe023118ef1e06b55c00dbd88">set_doppler_spectrum</a> (<a class="el" href="group__channels.html#gfd030225d513c962191cbce565337fd8">DOPPLER_SPECTRUM</a> *tap_spectrum)</td></tr>
106
107<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set doppler spectrum for each tap in the channel profile. <br></td></tr>
108<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e3be906493c81fb6cdead1528b3d0335"></a><!-- doxytag: member="itpp::Channel_Specification::set_doppler_spectrum" ref="e3be906493c81fb6cdead1528b3d0335" args="(int tap_number, DOPPLER_SPECTRUM tap_spectrum)" -->
109void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Channel__Specification.html#e3be906493c81fb6cdead1528b3d0335">set_doppler_spectrum</a> (int tap_number, <a class="el" href="group__channels.html#gfd030225d513c962191cbce565337fd8">DOPPLER_SPECTRUM</a> tap_spectrum)</td></tr>
110
111<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set doppler spectrum for tap <em>tap_number</em> in the channel profile. <br></td></tr>
112<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9c7fa7456186061886307c58212732cd"></a><!-- doxytag: member="itpp::Channel_Specification::set_LOS" ref="9c7fa7456186061886307c58212732cd" args="(int tap_number, double relative_power, double relative_doppler=0.7)" -->
113void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Channel__Specification.html#9c7fa7456186061886307c58212732cd">set_LOS</a> (int tap_number, double relative_power, double relative_doppler=0.7)</td></tr>
114
115<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set LOS (Rice) components for tap <em>tap_number</em>. <br></td></tr>
116<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="08aca4518036b4150747a72304482d67"></a><!-- doxytag: member="itpp::Channel_Specification::set_LOS" ref="08aca4518036b4150747a72304482d67" args="(const vec &amp;relative_power, const vec &amp;relative_doppler=&quot;&quot;)" -->
117void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Channel__Specification.html#08aca4518036b4150747a72304482d67">set_LOS</a> (const vec &amp;relative_power, const vec &amp;relative_doppler=&quot;&quot;)</td></tr>
118
119<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set LOS (Rice) components for all taps. <br></td></tr>
120<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7a047931e794c17c1167118e12434783"></a><!-- doxytag: member="itpp::Channel_Specification::get_channel_profile" ref="7a047931e794c17c1167118e12434783" args="(vec &amp;avg_power_dB, vec &amp;delay_prof) const " -->
121void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Channel__Specification.html#7a047931e794c17c1167118e12434783">get_channel_profile</a> (vec &amp;avg_power_dB, vec &amp;delay_prof) const </td></tr>
122
123<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get both average power profile in dB and power delay profile in seconds. <br></td></tr>
124<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="75922675e704095af84d5d8eddb962ea"></a><!-- doxytag: member="itpp::Channel_Specification::get_avg_power_dB" ref="75922675e704095af84d5d8eddb962ea" args="() const " -->
125vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Channel__Specification.html#75922675e704095af84d5d8eddb962ea">get_avg_power_dB</a> () const </td></tr>
126
127<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return power profile in dB. <br></td></tr>
128<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1fec5a748ce0abeed134a3ae83d2a093"></a><!-- doxytag: member="itpp::Channel_Specification::get_delay_prof" ref="1fec5a748ce0abeed134a3ae83d2a093" args="() const " -->
129vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Channel__Specification.html#1fec5a748ce0abeed134a3ae83d2a093">get_delay_prof</a> () const </td></tr>
130
131<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return delay profile in seconds. <br></td></tr>
132<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2150f702431a1041c9908faad8612875"></a><!-- doxytag: member="itpp::Channel_Specification::get_doppler_spectrum" ref="2150f702431a1041c9908faad8612875" args="() const " -->
133<a class="el" href="classitpp_1_1Array.html">Array</a>&lt; <a class="el" href="group__channels.html#gfd030225d513c962191cbce565337fd8">DOPPLER_SPECTRUM</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Channel__Specification.html#2150f702431a1041c9908faad8612875">get_doppler_spectrum</a> () const </td></tr>
134
135<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get doppler spectrum for tap <em>index</em>. <br></td></tr>
136<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b07a0ff4e567304ef21a4f41fa3f9358"></a><!-- doxytag: member="itpp::Channel_Specification::get_doppler_spectrum" ref="b07a0ff4e567304ef21a4f41fa3f9358" args="(int index) const " -->
137<a class="el" href="group__channels.html#gfd030225d513c962191cbce565337fd8">DOPPLER_SPECTRUM</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Channel__Specification.html#b07a0ff4e567304ef21a4f41fa3f9358">get_doppler_spectrum</a> (int index) const </td></tr>
138
139<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get doppler spectrum for tap <em>index</em>. <br></td></tr>
140<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4bb658fa0670726e9cc54e7e636543b8"></a><!-- doxytag: member="itpp::Channel_Specification::get_LOS_power" ref="4bb658fa0670726e9cc54e7e636543b8" args="() const " -->
141vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Channel__Specification.html#4bb658fa0670726e9cc54e7e636543b8">get_LOS_power</a> () const </td></tr>
142
143<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get relative power (Rice factor) for each tap. <br></td></tr>
144<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="fd6384d45fe7a53ecda6dc2571f53a31"></a><!-- doxytag: member="itpp::Channel_Specification::get_LOS_doppler" ref="fd6384d45fe7a53ecda6dc2571f53a31" args="() const " -->
145vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Channel__Specification.html#fd6384d45fe7a53ecda6dc2571f53a31">get_LOS_doppler</a> () const </td></tr>
146
147<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get relative Doppler for each tap. <br></td></tr>
148<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3171a93ad05da87853080a6c927225a7"></a><!-- doxytag: member="itpp::Channel_Specification::get_LOS_power" ref="3171a93ad05da87853080a6c927225a7" args="(int tap_number) const " -->
149double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Channel__Specification.html#3171a93ad05da87853080a6c927225a7">get_LOS_power</a> (int tap_number) const </td></tr>
150
151<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get relative power (Rice factor) for tap <em>tap_number</em>. <br></td></tr>
152<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="26908e0969c61126b8e22bb5e102c10d"></a><!-- doxytag: member="itpp::Channel_Specification::get_LOS_doppler" ref="26908e0969c61126b8e22bb5e102c10d" args="(int tap_number) const " -->
153double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Channel__Specification.html#26908e0969c61126b8e22bb5e102c10d">get_LOS_doppler</a> (int tap_number) const </td></tr>
154
155<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get relative Doppler for tap <em>tap_number</em>. <br></td></tr>
156<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2a00f1a41c30fa6edbc51ca1954bf992"></a><!-- doxytag: member="itpp::Channel_Specification::taps" ref="2a00f1a41c30fa6edbc51ca1954bf992" args="() const " -->
157int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Channel__Specification.html#2a00f1a41c30fa6edbc51ca1954bf992">taps</a> () const </td></tr>
158
159<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the number of channel taps. <br></td></tr>
160<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e5828ad93881889b9c8971af5e84232d"></a><!-- doxytag: member="itpp::Channel_Specification::calc_mean_excess_delay" ref="e5828ad93881889b9c8971af5e84232d" args="() const " -->
161double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Channel__Specification.html#e5828ad93881889b9c8971af5e84232d">calc_mean_excess_delay</a> () const </td></tr>
162
163<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Calculate mean excess delay in samples. <br></td></tr>
164<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c0dca33eaeab1994c8a44e4043912b62"></a><!-- doxytag: member="itpp::Channel_Specification::calc_rms_delay_spread" ref="c0dca33eaeab1994c8a44e4043912b62" args="() const " -->
165double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Channel__Specification.html#c0dca33eaeab1994c8a44e4043912b62">calc_rms_delay_spread</a> () const </td></tr>
166
167<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Calculate RMS delay spread in samples. <br></td></tr>
168<tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr>
169<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="90a11c5b796609f5e9e5d34a472c0670"></a><!-- doxytag: member="itpp::Channel_Specification::a_prof_dB" ref="90a11c5b796609f5e9e5d34a472c0670" args="" -->
170vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Channel__Specification.html#90a11c5b796609f5e9e5d34a472c0670">a_prof_dB</a></td></tr>
171
172<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Power profile in dB. <br></td></tr>
173<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e1576e671665a3974e80a9e2d63c9621"></a><!-- doxytag: member="itpp::Channel_Specification::d_prof" ref="e1576e671665a3974e80a9e2d63c9621" args="" -->
174vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Channel__Specification.html#e1576e671665a3974e80a9e2d63c9621">d_prof</a></td></tr>
175
176<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Delay profile in seconds. <br></td></tr>
177<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7e3cbffe1805c44fcdc4042408bbc3ad"></a><!-- doxytag: member="itpp::Channel_Specification::tap_doppler_spectrum" ref="7e3cbffe1805c44fcdc4042408bbc3ad" args="" -->
178<a class="el" href="classitpp_1_1Array.html">Array</a>&lt; <a class="el" href="group__channels.html#gfd030225d513c962191cbce565337fd8">DOPPLER_SPECTRUM</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Channel__Specification.html#7e3cbffe1805c44fcdc4042408bbc3ad">tap_doppler_spectrum</a></td></tr>
179
180<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Doppler spectrum for each tap. <br></td></tr>
181<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="236527fdc764d214926b938ef471dcec"></a><!-- doxytag: member="itpp::Channel_Specification::N_taps" ref="236527fdc764d214926b938ef471dcec" args="" -->
182int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Channel__Specification.html#236527fdc764d214926b938ef471dcec">N_taps</a></td></tr>
183
184<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Number of taps. <br></td></tr>
185<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="712dc19cfab5eff5a18f1eccbf779d96"></a><!-- doxytag: member="itpp::Channel_Specification::los_power" ref="712dc19cfab5eff5a18f1eccbf779d96" args="" -->
186vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Channel__Specification.html#712dc19cfab5eff5a18f1eccbf779d96">los_power</a></td></tr>
187
188<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Relative power for each Rice component. <br></td></tr>
189<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="03786b11712d63f7ad92ee5d1fb889b1"></a><!-- doxytag: member="itpp::Channel_Specification::los_dopp" ref="03786b11712d63f7ad92ee5d1fb889b1" args="" -->
190vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Channel__Specification.html#03786b11712d63f7ad92ee5d1fb889b1">los_dopp</a></td></tr>
191
192<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Relative Rice Doppler for each Rice component. <br></td></tr>
193</table>
194<hr><a name="_details"></a><h2>Detailed Description</h2>
195General specification of a time-domain multipath channel.
196<p>
197<dl class="author" compact><dt><b>Author:</b></dt><dd>Tony Ottosson and Adam Piatyszek</dd></dl>
198This class does NOT generate any channel values. It is only used to specify the channel model. To generate channel coefficients use the Tapped-Delay Line (TDL) class <em><a class="el" href="classitpp_1_1TDL__Channel.html" title="Tapped Delay Line (TDL) channel model.">TDL_Channel</a></em>.<p>
199A time invariant (or at least wide-sense stationary) channel have an impulse response that can be modeled as:<p>
200<p class="formulaDsp">
201<img class="formulaDsp" alt="\[ h(t) = \sum_{k=0}^{N_\mathrm{taps}-1} a_k \exp (-j \theta_k) \delta(t-\tau_k), \]" src="form_228.png">
202<p>
203<p>
204where <img class="formulaInl" alt="$ N_{taps} $" src="form_229.png"> is the number of channel taps, <img class="formulaInl" alt="$ a_k $" src="form_204.png"> is the average amplitude at delay <img class="formulaInl" alt="$ \tau_k $" src="form_205.png">, and <img class="formulaInl" alt="$ \theta_k $" src="form_206.png"> is the channel phase of the <img class="formulaInl" alt="$ k^{th} $" src="form_207.png"> channel tap. The average power profile, and the delay profiles are defined as:<p>
205<p class="formulaDsp">
206<img class="formulaDsp" alt="\[ \mathbf{a} = [a_0, a_1, \ldots, a_{N_\mathrm{taps}-1}] \]" src="form_208.png">
207<p>
208<p>
209and<p>
210<p class="formulaDsp">
211<img class="formulaDsp" alt="\[ \mathbf{\tau} = [\tau_0, \tau_1, \ldots, \tau_{N_\mathrm{taps}-1}], \]" src="form_209.png">
212<p>
213<p>
214respectively. We assume without loss of generality that <img class="formulaInl" alt="$ \tau_0 = 0 $" src="form_210.png"> and <img class="formulaInl" alt="$ \tau_0 < \tau_1 < \ldots < \tau_{N_\mathrm{taps}-1} $" src="form_211.png">.<p>
215To initialize the class the following parameters should be defined:<ul>
216<li><em>avg_power_dB</em> Average power profile <img class="formulaInl" alt="$ \mathbf{a} $" src="form_230.png">, given in dB</li><li><em>delay_profile</em> Delay profile <img class="formulaInl" alt="$ \mathbf{\tau} $" src="form_231.png">, given in seconds. The delay profile should be sorted (increasing delay) and the first delay has to be 0.</li></ul>
217<p>
218Optionally one can define LOS parameters: <em>relative_power</em> and <em>relative_doppler</em>, and additionally the kind of Doppler spectrum for each tap.<p>
219It is also possible to specify a predefined channel model. The implemented ones are as follows:<ul>
220<li>ITU Channel models:<ul>
221<li><em>ITU_Vehicular_A</em>, 6-tap channel</li><li><em>ITU_Vehicular_B</em>, 6-tap channel</li><li><em>ITU_Pedestrian_A</em>, 4-tap channel</li><li><em>ITU_Pedestrian_B</em>, 6-tap channel</li></ul>
222</li><li>COST 207 Channel models (see [Pat02] pp. 259-266):<ul>
223<li><em>COST207_RA</em>, Rural area, 4-tap channel</li><li><em>COST207_RA6</em>, Rural area, 6-tap channel</li><li><em>COST207_TU</em>, Typical urban, 6-tap channel</li><li><em>COST207_TU6alt</em>, Typical urban, alternative 6-tap channel</li><li><em>COST207_TU12</em>, Typical urban, 12-tap channel</li><li><em>COST207_TU12alt</em>, Typical urban, alternative 12-tap channel</li><li><em>COST207_BU</em>, Bad urban, 6-tap channel</li><li><em>COST207_BU6alt</em>, Bad urban, alternative 6-tap channel</li><li><em>COST207_BU12</em>, Bad urban, 12-tap channel</li><li><em>COST207_BU12alt</em>, Bad urban, alternative 12-tap channel</li><li><em>COST207_HT</em>, Hilly terrain, 6-tap channel</li><li><em>COST207_HT6alt</em>, Hilly terrain, alternative 6-tap channel</li><li><em>COST207_HT12</em>, Hilly terrain, 12-tap channel</li><li><em>COST207_HT12alt</em>, Hilly terrain, alternative 12-tap channel</li></ul>
224</li><li>COST 259 Channel models (see [3GPP_TR_25.943]):<ul>
225<li><em>COST259_TUx</em>, Typical urban, 20-tap channel</li><li><em>COST259_RAx</em>, Rural ara, 10-tap channel</li><li><em>COST259_HTx</em>, Hilly terrain, 20-tap channel</li></ul>
226</li></ul>
227<p>
228References:<ul>
229<li>[Pat02] Matthias Patzold, Mobile fading channels, Wiley, 2002.</li><li>[3GPP_TR_25.943] Technical Specification Group Radio Access Networs; Deployment aspects. Version 5.1.0 (2002-06). </li></ul>
230<hr>The documentation for this class was generated from the following files:<ul>
231<li><a class="el" href="channel_8h-source.html">channel.h</a><li><a class="el" href="channel_8cpp.html">channel.cpp</a></ul>
232</div>
233<hr size="1"><address style="text-align: right;"><small>Generated on Tue Jun 2 10:02:19 2009 for mixpp by&nbsp;
234<a href="http://www.doxygen.org/index.html">
235<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address>
236</body>
237</html>
Note: See TracBrowser for help on using the browser.