public class Binning extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Binning.Type |
| Modifier and Type | Field and Description |
|---|---|
static String |
XBIN
Fits key for entering x-bin info to header.
|
static String |
XBLOWUP
Fits key for entering x-blowup info to header.
|
static String |
YBIN
Fits key for entering y-bin info to header.
|
static String |
YBLOWUP
Fits key for entering y-blowup info to header.
|
| Constructor and Description |
|---|
Binning() |
| Modifier and Type | Method and Description |
|---|---|
static MImageHDU |
blowup(MImageHDU src,
int xblow,
int yblow)
Takes the binned source and unbinns the image artificially by blowing up
with factors stated as integer values for x and y.
|
static MImageHDU |
blowup(MImageHDU src,
int xblow,
int yblow,
Binning.Type how)
Takes the binned source and unbinns the image artificially by blowing up
with factors stated as integer values for x and y.
|
static MImageHDU |
rebin(MImageHDU src,
int xbin,
int ybin)
Takes the src image hdu and does a rebinning by median.
|
static MImageHDU |
rebin(MImageHDU src,
int xbin,
int ybin,
Binning.Type how)
Takes the src image hdu and does a rebinning.
|
public static final String XBIN
public static final String YBIN
public static final String XBLOWUP
public static final String YBLOWUP
public static final MImageHDU blowup(MImageHDU src, int xblow, int yblow) throws BasicFitsException
BasicFitsExceptionFitsExceptionpublic static final MImageHDU blowup(MImageHDU src, int xblow, int yblow, Binning.Type how) throws BasicFitsException
BasicFitsExceptionFitsExceptionpublic static final MImageHDU rebin(MImageHDU src, int xbin, int ybin) throws BasicFitsException
BasicFitsExceptionpublic static final MImageHDU rebin(MImageHDU src, int xbin, int ybin, Binning.Type how) throws BasicFitsException
BasicFitsException