extract_skycomponents_from_skymodel

extract_skycomponents_from_skymodel(sm, im=None, **kwargs)[source]

Extract the bright components from the image in a skymodel

This produces one component per frequency channel

Parameters:
  • sm – skymodel

  • im – image to be searched

  • kwargs – Parameters for functions

  • component_threshold – (in kwargs) Threshold in Jy to be classified as a source

  • component_method – (in kwargs) Method to extract skycomponents: fit

Returns:

Updated skymodel