|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnom.tam.fits.Fits
astro.SpectralFits
stella.jview.SesFits
public class SesFits
This class deals with FITS file received as output from the SES spectrograph. This is a three dimensional fits file, where the x-coordinate (first axis) is along the echell order, 2043 pixel, the second axis is the order number, 82, and the third one indicates the image. In index zero, the reduced spectrum is found, in index 1 the raw extracted spectrum and in index 2 a sigma map of the pixel. The data typoe is float.
| Nested Class Summary | |
|---|---|
private static class |
SesFits.Dispersion
The functions used in a single order, parsed from s tring buffer. |
static class |
SesFits.Order
We read from the given fits file the stated echell order and echo that to sysout. |
static class |
SesFits.Wavelength
This class represents a soultion to an aperture. |
| Field Summary | |
|---|---|
private Integer[] |
lookup
The lookup table from with the orders (index to order). |
private static String |
SPEC
Header keyword for apertures. |
private static String |
WAT
Header keyword for apertures. |
| Constructor Summary | |
|---|---|
SesFits(File io)
Constructs a SesFits from a file. |
|
| Method Summary | |
|---|---|
private static String |
checkFormat(String def)
|
int |
getHighestOrder()
Returns the array size, -1 if undefined. |
int |
getIndexOfOrder(int order)
Default implementation says aperture number equlas order number. |
int |
getLowestOrder()
Default implementaion return 0 for lowest order number, -1 if undefined. |
int |
getOrderOfIndex(int order)
Default implementation says aperture number equlas order number. |
protected Function[] |
parseWavelengthSolution(nom.tam.fits.Header h)
Parses the wavelength soultion from the header. |
| Methods inherited from class astro.SpectralFits |
|---|
getCentralOrderFromAngstrom, getOrdersFromAngstrom, getRawOrder, getReducedOrder |
| Methods inherited from class nom.tam.fits.Fits |
|---|
addHDU, currentSize, deleteHDU, fileInit, getHDU, getNumberOfHDUs, getStream, insertHDU, makeHDU, makeHDU, makeHDU, randomInit, read, read, readHDU, setChecksum, setChecksum, setStream, size, skipHDU, skipHDU, streamInit, streamInit, streamInit, version, write |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static final String WAT
private static final String SPEC
private Integer[] lookup
| Constructor Detail |
|---|
public SesFits(File io)
throws nom.tam.fits.FitsException
nom.tam.fits.FitsException| Method Detail |
|---|
public int getIndexOfOrder(int order)
getIndexOfOrder in class SpectralFitspublic int getOrderOfIndex(int order)
getOrderOfIndex in class SpectralFitspublic int getLowestOrder()
getLowestOrder in class SpectralFitspublic int getHighestOrder()
getHighestOrder in class SpectralFitsprotected Function[] parseWavelengthSolution(nom.tam.fits.Header h)
parseWavelengthSolution in class SpectralFitsprivate static String checkFormat(String def)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||