|
DP3
|
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... | |
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.
| 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.
| 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.