plot_skycomponents_position_distance

plot_skycomponents_position_distance(comps_test, comps_ref, phasecentre, img_size, plot_file=None, tol=1e-05, **kwargs)[source]

Generate position error 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

  • img_size – Cell size per pixel in the image to compare

Returns:

[ra_error, dec_error]: The error array for users to check