Elaboradar 0.1
|
PolarScan - structure to describe a polarScan containing a matrix of data and conversion factors. Continua...
#include <volume.h>
Membri pubblici | |
PolarScan (unsigned beam_count, unsigned beam_size, const T &default_value=algo::DBZ::BYTEtoDB(1)) | |
PolarScan (const PolarScan &s) | |
Constructor Create a copy of a PolarScan. | |
T | get (unsigned az, unsigned beam) const |
Get a beam value. | |
void | set (unsigned az, unsigned beam, T val) |
Set a beam value. | |
double | sample_height_real (unsigned az, unsigned cell_idx) const |
Return the height (in meters) of a sample given its azimuth and cell indices use the real beam elevation (not the nominal of the PolarScan) and add half cell_size to the range. | |
void | read_beam (unsigned az, T *out, unsigned out_size, T missing=0) const |
Fill an array with beam data . | |
void | resize_beams_and_propagate_last_bin (unsigned new_beam_size) |
Enlarges the PolarScan increasing beam_size and propagating the last bin value. | |
![]() | |
double | height (unsigned rg, double beam_half_width=0.0) |
Height in kilometers (legacy) at range gate for beam elevation + beam_half_width. | |
double | diff_height (unsigned rg_start, unsigned rg_end) |
Height difference in kilometers (legacy) between two range gates. | |
double | sample_height (unsigned cell_idx) const |
Return the height (in meters) of the sample at the given cell indexa. | |
Attributi pubblici | |
double | nodata = 0 |
Value used as 'no data' value. | |
double | undetect = 0 |
Minimum amount that can be measured. | |
double | gain = 1 |
Conversion factor. | |
double | offset = 0 |
Conversion factor. | |
![]() | |
unsigned | beam_count = 0 |
Count of beams in this scan. | |
unsigned | beam_size = 0 |
Number of samples in each beam. | |
Eigen::VectorXd | azimuths_real |
Vector of actual azimuths for each beam. | |
double | elevation = 0 |
Nominal elevation of this PolarScan, which may be different from the effective elevation of each single beam. | |
Eigen::VectorXd | elevations_real |
Vector of actual elevations for each beam. | |
double | cell_size = 0 |
Size of a beam cell in meters. | |
Altri membri ereditati | |
![]() | |
static double | sample_height (double elevation, double range, double equiv_earth_radius) |
Return the height of a sample (in meters) given center beam elevation (in degrees), range (in meters) and equivalent earth radius (in meters) | |
static double | sample_height (double elevation, double range) |
Return the height of a sample (in meters) given center beam elevation (in degrees) and range (in meters), using the standard 4/3 equivalent earth radius (in meters) | |
PolarScan - structure to describe a polarScan containing a matrix of data and conversion factors.