jsky.science
Class IQE

java.lang.Object
  extended by jsky.science.IQE
All Implemented Interfaces:
MrqFit.MrqFunc

public class IQE
extends java.lang.Object
implements MrqFit.MrqFunc

Estimate parameters for the Image Quality using a small frame around the object.

Version:
$Revision: 1.1 $
Author:
Allan Brighton (Java port), P.Grosbol (ESO, original C version)

Constructor Summary
IQE(float[] pfm, int mx, int my)
          Estimates parameters for the Image Quality using a small frame around the object.
 
Method Summary
 double getAngle()
          angle of major axis, degrees, along X
 double getFwhmX()
          FWHM in X
 double getFwhmY()
          FWHM in Y
 double getMeanBackground()
          mean background level
 double getMeanX()
          The center X position in image coordinates
 double getMeanY()
          The center Y position in image coordinates
 double getObjectPeak()
          peak value of object above background
 boolean getStatus()
          Return the status of the constructor
 int mrqFunc(int idx, float[] val, float[] fval, float[] psig, float[] a, float[] dyda, int ma)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IQE

public IQE(float[] pfm,
           int mx,
           int my)
Estimates parameters for the Image Quality using a small frame around the object. The results may be accessed through the public methods in this class (getMeanX(), getMeanY(), etc...).

Parameters:
pfm - array containing the image data in float format
mx - no. of pixels in x
my - no. of pixels in y
Method Detail

getMeanX

public double getMeanX()
The center X position in image coordinates


getMeanY

public double getMeanY()
The center Y position in image coordinates


getFwhmX

public double getFwhmX()
FWHM in X


getFwhmY

public double getFwhmY()
FWHM in Y


getAngle

public double getAngle()
angle of major axis, degrees, along X


getObjectPeak

public double getObjectPeak()
peak value of object above background


getMeanBackground

public double getMeanBackground()
mean background level


getStatus

public boolean getStatus()
Return the status of the constructor


mrqFunc

public int mrqFunc(int idx,
                   float[] val,
                   float[] fval,
                   float[] psig,
                   float[] a,
                   float[] dyda,
                   int ma)
Specified by:
mrqFunc in interface MrqFit.MrqFunc