astro.fits
Class FitsTools.XMoment

java.lang.Object
  extended by astro.fits.FitsTools.XMoment
Enclosing class:
FitsTools

public static final class FitsTools.XMoment
extends Object

Take the moments of the given fits file and print its value per xtension BasicHDU hdu = null; int i1 = 0; int found = 0; while ((hdu = fits.getHDU(i1++)) != null) { if (type.isInstance(hdu)) { if (ignorenull && (hdu.getData() == null || hdu.getData().getData() == null)) continue; else { if (skip <= found) return type.cast(hdu); else found ++; } } } return null;


Constructor Summary
FitsTools.XMoment()
           
 
Method Summary
static void main(String[] arg)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FitsTools.XMoment

public FitsTools.XMoment()
Method Detail

main

public static void main(String[] arg)
                 throws nom.tam.fits.FitsException,
                        IOException
Throws:
nom.tam.fits.FitsException
IOException