31#ifndef GEOMETRY_RADAR_H_
32#define GEOMETRY_RADAR_H_
38#include <drain/image/GeoFrame.h>
104 double betaFromGround(
double g){
return g / EARTH_RADIUS_43; };
125 double groundFromEtaH(
double eta,
double h){
return EARTH_RADIUS_43*gammaFromEtaH(eta,h); };
130 double bFromGH(
double g,
double h);
136 double normalizedBeamPower(
double angle);
138 void findClosestElevations(
const float &elevationAngle,
139 int &elevationIndexLower,
float &elevationAngleLower,
int &elevationIndexUpper,
float &elevationAngleUpper);
146 static double EARTH_RADIUS_43;
151 std::vector<unsigned int> bins;
Definition Geometry.h:145
static double heightFromEtaBeta(double eta, double beta)
Altitude, given elevation [rad] and ground angle [rad].
Definition Geometry.cpp:143
static double beamFromEtaH(double eta, double h)
The on-beam distance at (elevation) and (altitude).
Definition Geometry.cpp:186
static double beamFromBetaH(double beta, double h)
Definition Geometry.cpp:171
static double etaFromBetaH(double beta, double h)
Given ground angle beta and altitude h, returns the elevation angle.
Definition Geometry.cpp:286
static double beamFromEtaBeta(double eta, double beta)
The on-beam distance at (elevation) and ground angle (beta).
Definition Geometry.cpp:204
static double beamFromEtaGround(float eta, float g)
The on-beam distance at (elevation) and ground distance (groundDist).
Definition Geometry.cpp:219
static double gammaFromEtaH(double eta, double height)
Given elevation angle eta and altitude h, returns the ground angle.
Definition Geometry.cpp:257
static double etaFromGH(double g, double h)
Given ground distance g and altitude h, returns elevation angle.
Definition Geometry.cpp:309
std::vector< float > elevationAngles
Note: radians!
Definition Geometry.h:150
static double groundFromEtaBeam(double eta, double beam)
Given elevation in radians and on-beam distance, returns the distance from radar to the ground point ...
Definition Geometry.cpp:237
static double heightFromEtaGround(double eta, double g)
Altitude, given elevation [rad] and ground distance [m].
Definition Geometry.cpp:155
static double heightFromEtaBeam(double eta, double b)
Altitude, given elevation [rad] and bin distance [m].
Definition Geometry.cpp:111
Definition DataSelector.cpp:44