pybsm.geospatial.altitude_along_slant_path

pybsm.geospatial.altitude_along_slant_path(*, h_target: float, h_sensor: float, slant_range: float) tuple[ndarray, ndarray]

Calculate the height above the curved earth at points along a path from the target to the sensor.

Calculate the height above the curved earth at points along a path from the target (z_path=0) to the sensor (z_path.max()). This is primarily useful for calculating the atmospheric coherence diameter, r0.

Parameters:
  • h_target – height of the target above sea level (m)

  • h_sensor – height of the sensor above sea level (m)

  • slant_range – distance between the target and sensor (m)

Returns:

z_path:

array of samples along the path from the target (z_path = 0) to the sensor (m)

h_path:

height above the earth along a slantpath defined by z_path (m)

Raises:
ZeroDivisionError:

if slant_range is 0