Public Member Functions | Protected Member Functions
HRFKLoopTask Class Reference

#include <HRFKLoop.h>

Inheritance diagram for HRFKLoopTask:
FKLoopTask QGpCoreTools::LoopTask QGpCoreTools::Thread

List of all members.

Public Member Functions

virtual void setArray (const ArrayStations &array)
virtual void setGrid ()

Protected Member Functions

virtual void getPower (const Point2D &pos, double &beampower, double &semblance)
virtual void initGridValues ()

Member Function Documentation

void HRFKLoopTask::getPower ( const Point2D pos,
double &  beampower,
double &  semblance 
) [protected, virtual]

Reimplemented from FKLoopTask.

References FKLoopTask::_currentComponent, FKLoopTask::_grid, FKLoopTask::_nStations2, FKLoopTask::_process, ArrayCore::FrequencyBand::center(), ArrayCore::ArrayProcess::frequency(), ArrayCore::FKGridSearch::function(), TRACE, ArrayCore::FK::value(), ArrayCore::FrequencyBand::width(), QGpCoreTools::Point2D::x(), and QGpCoreTools::Point2D::y().

{
  TRACE;
  const FK * fk=_grid[_currentComponent]->function();
  beampower=fk->value(pos.x(), pos.y());
  semblance=beampower;
  // Normalizations by number of stations or band width
  const FrequencyBand& fb=_process->frequency();
  double freqBandWidth= fb.width();
  if(freqBandWidth > 0.0)
    beampower=10.0 * log10(beampower/(0.5 * freqBandWidth * _nStations2) );
  else
    beampower=10.0 * log10(beampower/(fb.center() * _nStations2) );
}
void HRFKLoopTask::initGridValues ( ) [protected, virtual]
void HRFKLoopTask::setArray ( const ArrayStations array) [virtual]
void HRFKLoopTask::setGrid ( ) [virtual]

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines