Function pecsim::ray_derivative

Function Documentation

VecXd pecsim::ray_derivative(double s, const VecXd &z, double t_epoch_tx, RayTraceConfig config, VecXd &store_vec, bool use_precomputed_vals, bool debug = false)

Compute the derivative of the ray at a given point.

Parameters:
  • s – Path length at the point

  • z – State vector containing position, direction, time, and TEC

  • t_epoch_tx – Transmission epoch in seconds since J2000

  • config – Ray trace configuration

  • store_vec – n (1) and grad_n (3) storage

  • debug – Debug flag to print additional information

Returns:

Derivative of the ray at the given point