expand_skymodel_by_skycomponents

expand_skymodel_by_skycomponents(sm, **kwargs)[source]

Expand a sky model so that all components and the image are in separate skymodels

The mask and gaintable are taken to apply for all new skymodels.

Parameters:

sm – SkyModel

Returns:

List of SkyModels