sourcefinder.utility.containers#

Container classes for the TKP pipeline.

These provide convenient means of marshalling the various types of data – lightcurves, detections, sources, etc – that the pipeline must handle.

Attributes#

Classes#

ExtractionResults

Container for the results of running source extraction on an

ObjectContainer

A container class for objects.

Module Contents#

class sourcefinder.utility.containers.ExtractionResults[source]#

Bases: ObjectContainer

Container for the results of running source extraction on an ImageData object

class sourcefinder.utility.containers.ObjectContainer[source]#

Bases: list

A container class for objects.

What sort of objects? Well, anything that has a position and we want to keep lists of, really. So detections (ie, an individual source measurement on an image), sources (ie all the detections of a given object in a given image stack) and lightcurves (ie, all the sources associated with a given object through time).

Notes

You probably don’t want to use this on it’s own: see ExtractionResults, TargetList or source for more useful derived classes.

closest_to(pix_x, pix_y)[source]#
sourcefinder.utility.containers.logger[source]#