insert_skycomponent

ska_sdp_func_python.sky_component.operations.insert_skycomponent(im: Image, sc: SkyComponent | List[SkyComponent], insert_method='Nearest', bandwidth=1.0, support=8) Image[source]

Insert a SkyComponent into an Image.

Parameters:
  • im – Image

  • sc – SkyComponent or list of SkyComponents

  • insert_method – ‘Nearest’ | ‘Sinc’ | ‘Lanczos’ | ‘PSWF’

  • bandwidth – Fractional of uv plane to optimise over (1.0)

  • support – Support of kernel (7)

Returns:

Image