pub struct SlantPathOptions {Show 16 fields
pub hs_km: Option<f64>,
pub rho_gm3: Option<f64>,
pub r001_mmh: Option<f64>,
pub eta: f64,
pub t: Option<f64>,
pub h_percent: Option<f64>,
pub pressure_hpa: Option<f64>,
pub h_l_m: f64,
pub l_s_km: Option<f64>,
pub tau_deg: f64,
pub v_t_kgm2: Option<f64>,
pub exact: bool,
pub include_rain: bool,
pub include_gas: bool,
pub include_scintillation: bool,
pub include_clouds: bool,
}Expand description
Optional environmental and model inputs for slant-path attenuation.
Defaults match the ported python-itu-r slant-path behavior: all
environmental inputs are looked up from the bundled
ITU-R grids where possible, approximate
gaseous attenuation is used, and gas, cloud, rain, and scintillation
contributions are included.
Fields§
§hs_km: Option<f64>Earth station altitude above mean sea level in kilometres.
This is the ground terminal height used by rain, gas, and water-vapour
calculations. It may be negative for sites below sea level. When None,
the model uses the P.1511/P.836 topographic map at the requested site.
rho_gm3: Option<f64>Surface water vapour density in g/m^3.
This is the near-surface absolute humidity used by gaseous attenuation.
Values must be non-negative. When None, P.836 water-vapour maps are
used for the site and time percentage.
r001_mmh: Option<f64>Rainfall rate exceeded for 0.01% of an average year, in mm/h.
This is the intense-rain reference rate used by P.618 to scale rain
attenuation for the requested time percentage. Values must be
non-negative. When None, P.837 data are used.
eta: f64Antenna efficiency factor used in scintillation attenuation.
This dimensionless factor describes effective aperture efficiency for
the scintillation fade calculation. It must be in (0, 1]; the default
is 0.5.
t: Option<f64>Surface temperature in kelvin for gaseous attenuation.
This temperature is used by gaseous attenuation and, when
h_percent is provided, converted to Celsius for scintillation humidity
calculations. Values must be greater than zero. When None, P.1510
annual mean surface temperature data are used.
h_percent: Option<f64>Relative humidity percentage for scintillation attenuation.
Values must be in [0, 100]. When None, scintillation uses the
recommendation’s wet-term refractivity map instead of local humidity,
temperature, and pressure.
pressure_hpa: Option<f64>Atmospheric pressure in hPa.
This is the surface pressure used by gaseous attenuation and, when
h_percent is provided, scintillation water-vapour pressure. Values
must be positive. When None, P.835 standard-atmosphere pressure is
computed from hs_km.
h_l_m: f64Turbulent layer height in metres for scintillation attenuation.
This is the effective height of the tropospheric turbulent layer. It
must be positive; the default is 1000.0 m.
l_s_km: Option<f64>Slant-path length through rain in kilometres.
This is the portion of the Earth-space path inside the rain region.
Values must be positive when provided. When None, P.618 derives the
path length from rain height, station height, and elevation.
tau_deg: f64Polarization tilt angle in degrees.
This describes the radio wave polarization relative to horizontal and
affects P.838 rain specific attenuation coefficients. It must be in
[0, 90]; the default is 45.0.
v_t_kgm2: Option<f64>Total water vapour content in kg/m^2 for gaseous attenuation.
This is the vertically integrated water-vapour column above the site.
Values must be non-negative. When None, P.836 total-content maps are
used.
exact: boolUse exact gaseous attenuation when true; use the faster approximate
path when false.
Exact mode integrates the P.676 gaseous model through atmosphere layers.
Approximate mode is faster and matches the default slant-path behavior
of the port. The default is false.
include_rain: boolInclude the rain attenuation contribution in the returned total.
When false, SlantPathContributions::rain_db is 0.0.
include_gas: boolInclude the gaseous attenuation contribution in the returned total.
When false, SlantPathContributions::gas_db is 0.0.
include_scintillation: boolInclude the scintillation attenuation contribution in the returned total.
When false, SlantPathContributions::scintillation_db is 0.0.
include_clouds: boolInclude the cloud attenuation contribution in the returned total.
When false, SlantPathContributions::cloud_db is 0.0.
Trait Implementations§
Source§impl Clone for SlantPathOptions
impl Clone for SlantPathOptions
Source§fn clone(&self) -> SlantPathOptions
fn clone(&self) -> SlantPathOptions
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more