vec_math
Class ImageMoments.Focus
java.lang.Object
vec_math.ImageMoments.Focus
- Enclosing class:
- ImageMoments
public static class ImageMoments.Focus
- extends Object
This class reads an fits image and calculates the requested image
moment.
|
Method Summary |
static void |
main(String[] arg)
First index is the fits file (decompressed), second is the power
in x-direction, third the power in y-direction. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImageMoments.Focus
public ImageMoments.Focus()
main
public static void main(String[] arg)
throws nom.tam.fits.FitsException,
IOException
- First index is the fits file (decompressed), second is the power
in x-direction, third the power in y-direction. Thus
focus.fits 2 0 returns the second-order moment M_x^2.
Added with focus.fits 0 2 this gives the square of
A_4, a good proxy for defocus.
- Throws:
nom.tam.fits.FitsException
IOException