|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectspv.spectrum.factory.AbstractFileFactoryModule
spv.spectrum.factory.ImageAbstractFactoryModule
spv.spectrum.factory.GHRSFOS.GHRSFOSAbstractFactoryModule
spv.spectrum.factory.GHRSFOS.GHRSFactoryModule
public class GHRSFactoryModule
GHRS spectra have their flux arrays stored as doubles and their DQ arrays stored as ints. This class handles the details associated with this peculiarity.
| Field Summary |
|---|
| Fields inherited from class spv.spectrum.factory.AbstractFileFactoryModule |
|---|
BIN_NUMBER_UNITS, C_BACK, C_DATA, C_DQ, C_ERROR, C_FLUX, C_GROSS, C_NELEM, C_NET, C_SPORDER, C_WAVELENGTH |
| Constructor Summary | |
|---|---|
GHRSFactoryModule()
|
|
| Method Summary | |
|---|---|
protected java.lang.String |
getInstrumentKeyword()
Gets the value of the INSTRUMENT FITS keyword associated with GHRS. |
protected int[] |
readDQ(nom.tam.fits.ImageHDU im_hdu,
int[] group)
Reads a DQ array from a image HDU. |
protected double[] |
readWavelengths(nom.tam.fits.ImageHDU im_hdu,
int[] group)
Reads a wavelength array from a image HDU. |
| Methods inherited from class spv.spectrum.factory.GHRSFOS.GHRSFOSAbstractFactoryModule |
|---|
isValidInstrument, makeFileDescriptor, makeSpectrum, makeSpectrumSpecification |
| Methods inherited from class spv.spectrum.factory.ImageAbstractFactoryModule |
|---|
generateWavelengths, getXUnitsFromHeader, getYUnitsFromHeader, readFloat, readFloat, readFromDoubleArray, readFromFloatArray, readFromIntArray |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GHRSFactoryModule()
| Method Detail |
|---|
protected double[] readWavelengths(nom.tam.fits.ImageHDU im_hdu,
int[] group)
readWavelengths in class GHRSFOSAbstractFactoryModuleim_hdu - the HDUgroup - the group
protected int[] readDQ(nom.tam.fits.ImageHDU im_hdu,
int[] group)
readDQ in class GHRSFOSAbstractFactoryModuleim_hdu - the HDUgroup - the group
protected java.lang.String getInstrumentKeyword()
getInstrumentKeyword in class GHRSFOSAbstractFactoryModule
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||