FERS 0.1.0
The Flexible Extensible Radar Simulator
Loading...
Searching...
No Matches
fers_antenna_pattern_data_t Struct Reference

Represents a sampled 2D antenna gain pattern. More...

#include "api.h"

Public Attributes

doublegains
 Flat array of gain values [el_count * az_count].
 
size_t az_count
 Number of samples along azimuth (-180 to +180 deg).
 
size_t el_count
 Number of samples along elevation (-90 to +90 deg).
 
double max_gain
 Peak gain found in the pattern, in linear scale.
 

Detailed Description

Represents a sampled 2D antenna gain pattern.

Gains are in linear scale (not dB), normalized to the antenna's peak gain. The data is structured as a flat array in row-major order (elevation rows, then azimuth columns).

Note
The gains array must be freed using fers_free_antenna_pattern_data.

Definition at line 549 of file api.h.

Member Data Documentation

◆ az_count

size_t fers_antenna_pattern_data_t::az_count

Number of samples along azimuth (-180 to +180 deg).

Definition at line 552 of file api.h.

◆ el_count

size_t fers_antenna_pattern_data_t::el_count

Number of samples along elevation (-90 to +90 deg).

Definition at line 553 of file api.h.

◆ gains

double* fers_antenna_pattern_data_t::gains

Flat array of gain values [el_count * az_count].

Definition at line 551 of file api.h.

Referenced by fers_free_antenna_pattern_data().

◆ max_gain

double fers_antenna_pattern_data_t::max_gain

Peak gain found in the pattern, in linear scale.

Definition at line 554 of file api.h.


The documentation for this struct was generated from the following file: