Sky components

rascil.processing_components.skycomponent.base Module

Function to manage skycomponents.

Functions

copy_skycomponent(sc)

Copy a sky component of Iterable of skycomponents

rascil.processing_components.skycomponent.operations Module

Function to manage sky components.

Functions

create_skycomponent(direction, flux, frequency)

A single SkyComponent with direction, flux, shape, and params for the shape

filter_skycomponents_by_flux(sc[, flux_min, ...])

Filter sky components by stokes I flux

filter_skycomponents_by_index(sc, indices)

Filter sky components by index

find_nearest_skycomponent(home, comps)

Find nearest component to a given direction

find_nearest_skycomponent_index(home, comps)

Find nearest component in a list to a given direction (home)

find_separation_skycomponents(comps_test[, ...])

Find the matrix of separations for two lists of components

find_skycomponent_matches(comps_test, comps_ref)

Match a list of candidates to a reference set of skycomponents

find_skycomponent_matches_atomic(comps_test, ...)

Match a list of candidates to a reference set of skycomponents

find_skycomponents(im[, fwhm, threshold, ...])

Find gaussian components in Image above a certain threshold as SkyComponent

fit_skycomponent(im, sc, **kwargs)

Fit a two dimensional Gaussian skycomponent using astropy.modeling

fit_skycomponent_spectral_index(sc)

Fit the spectral index for a multi frequency skycomponent

insert_skycomponent(im, sc[, insert_method, ...])

Insert a SkyComponent into an image

voronoi_decomposition(im, comps)

Construct a Voronoi decomposition of a set of components

image_voronoi_iter(im, components)

Iterate through Voronoi decomposition, returning a generator yielding fullsize images

partition_skycomponent_neighbours(comps, targets)

Partition sky components by nearest target source

select_components_by_separation(home, comps)

Select components with a range in separation

select_neighbouring_components(comps, ...)

Assign components to nearest in the target

remove_neighbouring_components(comps, distance)

Remove the faintest of a pair of components that are within a specified distance

apply_beam_to_skycomponent(sc, beam[, ...])

Apply a primary beam to a SkyComponent

apply_voltage_pattern_to_skycomponent(sc, vp)

Apply a voltage pattern to a SkyComponent