nenupy.observation.obs_tools.plot_current_pointing

nenupy.observation.obs_tools.plot_current_pointing(figname, time, frequency=<Quantity 50. MHz>, analog_pointing_file=None, source_positions=False, **kwargs)[source]

Display the GSM and the analog beam of NenuFAR. The map is projected in horizontal coordinates, in log scale. The analog beam of NenuFAR is simulated as the sum of the analog beams of each of the six different MA rotations. It is displayed as a contour plot, in log scale as well.

Parameters:
  • figname (str) – Name of the figure to plot. If a figure name is provided (e.g., with an extension .png) the figure is saved. If "return" the figure and ax are returned. If None or "" the figure is just shown.

  • time (Time) – Time at which the sky and the pointing are represented. If the value is not within the analog_pointing_file, a zenithal pointing is assumed.

  • frequency (Quantity, optional) – Frequency at which the sky model and the beam simulation should be computed, by default 50 MHz

  • analog_pointing_file (str, optional) – NenuFAR analog pointing file (can be retrieved for each observation), by default None

  • source_positions (bool, optional) – Display the positions of the main radio sources, by default False

  • figsize (tuple, optional) – Size of the figure, by default (7, 7)

  • n_azimuths (int, optional) – Number of azimuths explored, by default 500

  • n_elevations (int, optional) – Number of elevations explored, by default 300

  • cmap (str, optional) – Colormap, by default "magma"

  • contour_values (bool, optional) – Show the values of the contours, by default True

  • dpi (int, optional) – Figure DPI if saved, by default 150