|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eso.fits.FitsWCS
public class FitsWCS
FitsData class represents a FITS data unit
Field Summary | |
---|---|
protected double[] |
amdx
|
protected double[] |
amdy
|
static int |
ARC
|
protected double[] |
cdelt
|
protected double[][] |
cdMatrix
|
protected int[] |
cproj
|
protected double[] |
crota
|
protected double[] |
crpix
|
protected double[] |
crval
|
protected String[] |
ctype
|
protected boolean |
hasCdMatrix
|
protected boolean |
hasPcMatrix
|
static int |
LIN
|
protected int |
nax
|
protected double[][] |
pcMatrix
|
static int |
TAN
|
protected int |
type
|
Constructor Summary | |
---|---|
FitsWCS()
Default constructor for FitsWCS class. |
|
FitsWCS(FitsHeader header)
Constructor for FitsData class given a FITS header with associated data unit as a file. |
|
FitsWCS(FitsHeader header,
char ver)
Constructor for FitsData class given a FITS header with associated data unit as a file. |
|
FitsWCS(int nax)
Constructor for FitsData class given a No. |
Method Summary | |
---|---|
void |
setHeader(FitsHeader header,
char ver)
Define FITS header for FitsWCS object. |
double[] |
toPixel(double[] wcs)
Compute pixel coordinates from a set of World Coordinates. |
double[] |
toWCS(double[] p)
Compute World Coordinates from pixel coordinates. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int LIN
public static final int TAN
public static final int ARC
protected int type
protected int nax
protected int[] cproj
protected double[] crpix
protected double[] crval
protected double[] cdelt
protected double[] crota
protected String[] ctype
protected double[][] cdMatrix
protected double[][] pcMatrix
protected boolean hasPcMatrix
protected boolean hasCdMatrix
protected double[] amdx
protected double[] amdy
Constructor Detail |
---|
public FitsWCS()
public FitsWCS(FitsHeader header)
header
- FitsHeader object with the image headerpublic FitsWCS(FitsHeader header, char ver)
header
- FitsHeader object with the image headerver
- version of WCS i.e. ' ' or 'A'..'Z'public FitsWCS(int nax)
nax
- No. of axies of data arrayMethod Detail |
---|
public void setHeader(FitsHeader header, char ver)
header
- FitsHeader object with the image headerver
- version of WCS i.e. ' ' or 'A'..'Z'public double[] toWCS(double[] p)
p
- Array with pixel coordinatespublic double[] toPixel(double[] wcs)
wcs
- Array with World Coordinates
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |