Skip to main content

SlantPathOptions

Struct SlantPathOptions 

Source
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: f64

Antenna 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: f64

Turbulent 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: f64

Polarization 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: bool

Use 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: bool

Include the rain attenuation contribution in the returned total.

When false, SlantPathContributions::rain_db is 0.0.

§include_gas: bool

Include the gaseous attenuation contribution in the returned total.

When false, SlantPathContributions::gas_db is 0.0.

§include_scintillation: bool

Include the scintillation attenuation contribution in the returned total.

When false, SlantPathContributions::scintillation_db is 0.0.

§include_clouds: bool

Include the cloud attenuation contribution in the returned total.

When false, SlantPathContributions::cloud_db is 0.0.

Trait Implementations§

Source§

impl Clone for SlantPathOptions

Source§

fn clone(&self) -> SlantPathOptions

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for SlantPathOptions

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for SlantPathOptions

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Copy for SlantPathOptions

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.