DP3
Public Member Functions | List of all members
dp3::base::UVWCalculator Class Reference

Class to calculate UVW coordinates. More...

#include <UVWCalculator.h>

Public Member Functions

 UVWCalculator (const casacore::MDirection &phaseDir, const casacore::MPosition &arrayPosition, const std::vector< casacore::MPosition > &stationPositions)
 
std::array< double, 3 > getUVW (unsigned int ant1, unsigned int ant2, double time)
 get the UVW coordinates for the given baseline and time. More...
 

Detailed Description

Class to calculate UVW coordinates.

This class calculates the UVW coordinates for a given baseline and time stamp in the same way as done in LofarStMan.

It calculates and caches the UVW coordinates per antenna and combines them to get the baseline UVW coordinates. This is much faster than calculating baseline UVW coordinates directly.

Constructor & Destructor Documentation

◆ UVWCalculator()

dp3::base::UVWCalculator::UVWCalculator ( const casacore::MDirection &  phaseDir,
const casacore::MPosition &  arrayPosition,
const std::vector< casacore::MPosition > &  stationPositions 
)

Construct the object for the given phase direction, array position, and station positions.

Member Function Documentation

◆ getUVW()

std::array<double, 3> dp3::base::UVWCalculator::getUVW ( unsigned int  ant1,
unsigned int  ant2,
double  time 
)

get the UVW coordinates for the given baseline and time.


The documentation for this class was generated from the following file: