astro.fits
Class Binning
java.lang.Object
astro.fits.Binning
public class Binning
- extends Object
Class to do artificial binning. Such a simple task should be easy to
perform with IRAF, but it's not easily found in the docs.
|
Method Summary |
static nom.tam.fits.ImageHDU |
rebin(nom.tam.fits.ImageHDU src,
int xbin,
int ybin)
Takes the src image hdu and does a rebinning by median. |
static nom.tam.fits.ImageHDU |
rebin(nom.tam.fits.ImageHDU src,
int xbin,
int ybin,
Binning.Type how)
Takes the src image hdu and does a rebinning. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Binning
public Binning()
rebin
public static final nom.tam.fits.ImageHDU rebin(nom.tam.fits.ImageHDU src,
int xbin,
int ybin)
throws nom.tam.fits.FitsException
- Takes the src image hdu and does a rebinning by median.
- Throws:
nom.tam.fits.FitsException
rebin
public static final nom.tam.fits.ImageHDU rebin(nom.tam.fits.ImageHDU src,
int xbin,
int ybin,
Binning.Type how)
throws nom.tam.fits.FitsException
- Takes the src image hdu and does a rebinning. The type does
the median-average-or sum of the tiles.
- Throws:
nom.tam.fits.FitsException