Elaboradar 0.1
Caricamento in corso...
Ricerca in corso...
Nessun risultato

◆ sample_height() [2/3]

double radarelab::PolarScanBase::sample_height ( double  elevation,
double  range,
double  equiv_earth_radius 
)
static

Return the height of a sample (in meters) given center beam elevation (in degrees), range (in meters) and equivalent earth radius (in meters)

Parametri
[in]elevation- Elevation in degrees
[in]range- range of range gate [m]
[in]equiv_earth_radius- equivalent earth radius (in meters)
Restituisce
- height of cell_idx at PolarScan elevation

Definizione alla linea 42 del file volume.cpp.

43{
44 return sqrt(
45 range * range
46 + equiv_earth_radius * equiv_earth_radius
47 + 2. * equiv_earth_radius * range * sin(elevation * M_PI / 180.)
48 ) - equiv_earth_radius; //meters
49}
double elevation
Nominal elevation of this PolarScan, which may be different from the effective elevation of each sing...
Definition: volume.h:42