plot_skycomponents_flux_ratio

plot_skycomponents_flux_ratio(comps_test, comps_ref, phasecentre, plot_file=None, tol=1e-05, refchan=None, max_ratio=2, **kwargs)[source]

Generate flux ratio plot vs distance for two lists of skycomponents

Parameters:
  • comps_test – List of components to be tested

  • comps_ref – List of reference components

  • plot_file – Filename of the plot

  • tol – Tolerance in rad

  • phasecentre – Centre of image in SkyCoords

  • refchan – Reference channel for comparison, default is centre channel

  • max_ratio – Maximum ratio to plot (default is 2.0)

Returns:

[dist, flux_ratio]: The flux array for users to check