polar_plot¶
- giant.coverage.visualizer.polar_plot(dop, ra, dec, observations, ax=None, cmap='coolwarm')[source]¶
This function serves to visualize the observed geometries of a single target surface element given a specific dilution of precision metric and the observations where that surface element was visible.
It will generate a polar plot with the ra and dec values serving as the polar grid with the observation data overlayed to see the ra/dec pairs of the surface element’s orientation when it was observed and the DOP data overlayed to see the confidence level in the observations at each surface element orientation.
- Parameters:
dop – the DOP metric of the surface element evaluated at each permutation of ra and dec values
ra – np.ndarray with dtype np.float64 and shape (n, m) where n is the number of distinct RA values the surface normal of the element permutated through and m is the number of distinct Dec values the surface normal of the element permutated through
dec – np.ndarray with dtype np.float64 and shape (n, m) where n is the number of distinct RA values the surface normal of the element permutated through and m is the number of distinct Dec values the surface normal of the element permutated through
observations – np.array of visibility parameters for all observations where the surface element was visible