pueoAnalysisTools
Loading...
Searching...
No Matches
time_delays.py File Reference

main() shows how to use make_time_delay_skymap() More...

Go to the source code of this file.

Functions

tuple[np.ndarray, np.ndarray] _make_grid (sparse=False)
 Creates a 2D grid \((\phi, \theta)\) of azimuthal and zenith angles.
 
tuple[np.ndarray, np.ndarray, np.ndarray] _make_unit_vectors_on_bottom_hemisphere ()
 Returns unit vectors pointing to the origin from the surface of a unit bottom hemisphere.
 
pl.DataFrame make_time_delay_skymap (pl.DataFrame antenna_pairs)
 Computes the expected incoming-signal time delays between antenna pairs based on pairwise displacement vectors and signal directions.
 
None _plot_one_random_row_as_example (pl.DataFrame one_row, str plot_name)
 Makes an example plot.
 

Detailed Description

main() shows how to use make_time_delay_skymap()

  • Running the main function through python3 time_delays.py will print out a DataFrame containing one pair of antennas (Ant 203 and Ant 104)
  • The dataframe will also have a column time delays [sec], which is the "time delay skymap" (for this pair of antennas).
  • _plot_one_random_row_as_example() will plot the time delay skymap for a randomly selected pair of antennas.
    • \(\phi\) denotes the azimuthal angle of the incoming signal's direction, and
    • \(\theta\) the zenith angle (in payload coordinates).
    • time (the colorbar) in seconds.
Time Delays of Signals from Different Directions

Definition in file time_delays.py.