errors_subgrid_to_facet_2d

ska_sdp_exec_swiftly.utils.errors_subgrid_to_facet_2d(BMNAF_BMNAF, facet_2, constants_class, to_plot=True, fig_name=None)[source]

Calculate the error terms for the 2D subgrid to facet algorithm.

Parameters:
  • BMNAF_BMNAF – array of individual subgrid contributions

  • constants_class – BaseArrays class object containing fundamental and derived parameters

  • facet_2 – 2D numpy array of facets

  • to_plot – run plotting?

  • fig_name – If given, figures will be saved with this prefix into PNG files. If to_plot is set to False, fig_name doesn’t have an effect.