jfits
Class FitsCircle

java.lang.Object
  extended by jfits.AbstractFitsShape
      extended by jfits.FitsCircle
All Implemented Interfaces:
Shape, FitsShape

public class FitsCircle
extends AbstractFitsShape

This class represents a circle around a center. It might be used for aperture photometry. The principal axis is the radial distance from the center, the returned ADUs are circular integrals.


Constructor Summary
FitsCircle(double r)
           
 
Method Summary
 List<Vector2D> getPrincipal(AffineTransform a)
          We grab the list of all adus in our bounding rectangle, then define as the principal axis the distance to the center of this box.
 boolean isClosed()
          We are a closed shape.
 
Methods inherited from class jfits.AbstractFitsShape
contains, contains, contains, contains, getAdus, getBounds, getBounds2D, getFitsShape, getPathIterator, getPathIterator, getStatistic, intersects, intersects, registerFits, registerFits
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FitsCircle

public FitsCircle(double r)
Method Detail

getPrincipal

public List<Vector2D> getPrincipal(AffineTransform a)
                            throws nom.tam.fits.FitsException
We grab the list of all adus in our bounding rectangle, then define as the principal axis the distance to the center of this box. We add all pixels within the area by calculating their distance to the center and averageing along the interger of it.

Parameters:
a - How the generic shape is transformed to FITS space.
Throws:
nom.tam.fits.FitsException

isClosed

public boolean isClosed()
We are a closed shape.