31#ifndef GEOMETRY_RADAR_H_
32#define GEOMETRY_RADAR_H_
37#include <drain/image/GeoFrame.h>
103 double betaFromGround(
double g){
return g / EARTH_RADIUS_43; };
124 double groundFromEtaH(
double eta,
double h){
return EARTH_RADIUS_43*gammaFromEtaH(eta,h); };
129 double bFromGH(
double g,
double h);
135 double normalizedBeamPower(
double angle);
137 void findClosestElevations(
const float &elevationAngle,
138 int &elevationIndexLower,
float &elevationAngleLower,
int &elevationIndexUpper,
float &elevationAngleUpper);
145 static double EARTH_RADIUS_43;
150 std::vector<unsigned int> bins;
Definition Geometry.h:143
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:185
static double beamFromBetaH(double beta, double h)
Definition Geometry.cpp:170
static double etaFromBetaH(double beta, double h)
Given ground angle beta and altitude h, returns the elevation angle.
Definition Geometry.cpp:285
static double beamFromEtaBeta(double eta, double beta)
The on-beam distance at (elevation) and ground angle (beta).
Definition Geometry.cpp:203
static double beamFromEtaGround(float eta, float g)
The on-beam distance at (elevation) and ground distance (groundDist).
Definition Geometry.cpp:218
static double gammaFromEtaH(double eta, double height)
Given elevation angle eta and altitude h, returns the ground angle.
Definition Geometry.cpp:256
static double etaFromGH(double g, double h)
Given ground distance g and altitude h, returns elevation angle.
Definition Geometry.cpp:308
std::vector< float > elevationAngles
Note: radians!
Definition Geometry.h:149
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:236
static double heightFromEtaGround(double eta, double g)
Altitude, given elevation [rad] and ground distance [m].
Definition Geometry.cpp:154
static double heightFromEtaBeam(double eta, double b)
Altitude, given elevation [rad] and bin distance [m].
Definition Geometry.cpp:111
Definition DataSelector.cpp:44