6static const double ker = 8494666.666667;
12PolarScanBase::PolarScanBase(
unsigned beam_count,
unsigned beam_size)
13 : beam_count(beam_count), beam_size(beam_size),
14 azimuths_real(beam_count), elevations_real(beam_count)
18PolarScanBase::PolarScanBase(
const PolarScanBase& s)
19 : beam_count(s.beam_count), beam_size(s.beam_size),
20 azimuths_real(s.azimuths_real),
21 elevation(s.elevation),
22 elevations_real(s.elevations_real),
23 cell_size(s.cell_size)
46 + equiv_earth_radius * equiv_earth_radius
47 + 2. * equiv_earth_radius * range * sin(
elevation * M_PI / 180.)
48 ) - equiv_earth_radius;
56void VolumeStats::print(FILE* out)
58 fprintf(out,
"Nel Zeros Ones Others Sum\n");
59 for (
size_t iel =0; iel<count_zeros.size(); ++iel){
60 fprintf(out,
"%4zu %8u %8u %8u %8u\n",iel,count_zeros[iel],count_ones[iel],count_others[iel],sum_others[iel]);
64template class PolarScan<double>;
65template class Volume<double>;
68template class Scans<double>;
double diff_height(unsigned rg_start, unsigned rg_end)
Height difference in kilometers (legacy) between two range gates.
double elevation
Nominal elevation of this PolarScan, which may be different from the effective elevation of each sing...
double height(unsigned rg, double beam_half_width=0.0)
Height in kilometers (legacy) at range gate for beam elevation + beam_half_width.
double cell_size
Size of a beam cell in meters.
double sample_height(unsigned cell_idx) const
Return the height (in meters) of the sample at the given cell indexa.
Definisce le principali strutture che contengono i dati.