errors_facet_to_subgrid_2d

ska_sdp_exec_swiftly.utils.errors_facet_to_subgrid_2d(NMBF_NMBF, constants_class, subgrid_2, to_plot=True, fig_name=None)[source]

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

Parameters:
  • NMBF_NMBF – array of individual facet contributions

  • constants_class – BaseArrays class object containing fundamental and derived parameters

  • subgrid_2 – 2D numpy array of subgrids

  • 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.