plot_sources

sitelle.plot.plot_sources(sources, ax, **kwargs)

DEPRECATED Helper function to plot sources nicely over a map WARNING : sources should respect astropy convention : x and y reversed

Parameters:
  • sources (DataFrame) – a Pandas Dataframe containing at least columns ‘xcentroid’ and ‘ycentroid’
  • ax (Axes) – The matplotlib axes on which to plot (should be containing the map on top of which we are going to plot the sources)
  • kwargs (dict) – any keyword argument accepted by photutils.CircularAperture.plot
Returns:

  • fig (Figure) – The figure containing the plot.
  • ax (Axes) – The axes containing the plot.