Function pecsim::compute_path_profile

Function Documentation

PathProfile pecsim::compute_path_profile(double t_prop, const Vec3d &dir, double sf, const Vec3d &x1, const Vec3d &x2, double t_rx, RayTraceConfig config, MatXd &store_mat, bool use_precomputed_densities = false, bool debug = false)

Compute the path profile for a ray from transmitter to receiver.

Parameters:
  • t_prop – Propagation time in seconds (=t_rx - t_tx)

  • dir – Inital direction vector of the ray (normalized, computed by correction)

  • sf – Final distance of the ray (computed by correction)

  • txpos – Function to get the position of the transmitter at time t_tx

  • x2 – Position of the receiver in Cartesian coordinates

  • t_rx – Reception time in seconds since J2000 epoch

  • config – Ray trace configuration

  • debug – Debug flag to print additional information

Returns:

PathProfile containing the path profile information