Aperture#

class photutils.aperture.Aperture[source]#

Bases: object

Abstract base class for all apertures.

Attributes Summary

isscalar

Whether the instance is scalar (i.e., a single position).

shape

The shape of the instance.

Methods Summary

copy()

Make an deep copy of this object.

positions()

The aperture positions, as an array of (x, y) coordinates or a SkyCoord.

Attributes Documentation

isscalar#

Whether the instance is scalar (i.e., a single position).

shape#

The shape of the instance.

Methods Documentation

copy()[source]#

Make an deep copy of this object.

Returns:
resultAperture

A deep copy of the Aperture object.

abstract positions()[source]#

The aperture positions, as an array of (x, y) coordinates or a SkyCoord.