Skip to content
Snippets Groups Projects
Commit 926e6183 authored by Jan David Mol's avatar Jan David Mol
Browse files

Task #3696: Improved BeamFormer annotation

parent 91e3b091
No related branches found
No related tags found
No related merge requests found
...@@ -22,8 +22,8 @@ namespace RTCP { ...@@ -22,8 +22,8 @@ namespace RTCP {
This beam former supports three modes: This beam former supports three modes:
1) merging stations, as indicated by the station2BeamFormedStation array. 1) merging stations, using the mergeStations function.
2) creating pencil beams, as indicated by the nrPencilBeams and metaData parameters. 2) creating tied-array beams (TABs), using the formBeams function.
3) creating a 'fly's eye', which is a variation on mode 2, except 3) creating a 'fly's eye', which is a variation on mode 2, except
that each station creates its own beam (i.e. the data is copied). that each station creates its own beam (i.e. the data is copied).
...@@ -34,11 +34,11 @@ namespace RTCP { ...@@ -34,11 +34,11 @@ namespace RTCP {
source -> dest of length nrStations. Multiple sources with the same dest are added and stored at dest. source -> dest of length nrStations. Multiple sources with the same dest are added and stored at dest.
If the station2BeamFormedStation array is empty, source and dest are mapped 1:1 and no stations are merged. If the station2BeamFormedStation array is empty, source and dest are mapped 1:1 and no stations are merged.
Creating pencil beams Creating tied-array beams
------------------------- -------------------------
Pencil beams are created by specifying their number as nrPencilBeams upon construction, and by the Pencil beams are created by specifying their number as nrBeams in the formBeams function, and by the
delays as provided by the metaData given to formBeams. If nrPencilBeams = 0, the target data structure delays as provided by the metaData given to formBeams. If nrTABs = 0, the target data structure
remains untouched. remains untouched.
*/ */
...@@ -68,7 +68,7 @@ class BeamFormer ...@@ -68,7 +68,7 @@ class BeamFormer
// return the station mapping // return the station mapping
std::vector<unsigned> &getStationMapping(); std::vector<unsigned> &getStationMapping();
Matrix<double> itsDelays; // [itsNrStations][itsNrPencilBeams] Matrix<double> itsDelays; // [itsNrStations][BEST_NRBEAMS]
private: private:
unsigned calcNrBeamFormedStations(); unsigned calcNrBeamFormedStations();
Matrix<std::vector<unsigned> > initStationIndices( const Parset &parset ); Matrix<std::vector<unsigned> > initStationIndices( const Parset &parset );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment