Package nom.tam.fits.header
Enum InstrumentDescription
- java.lang.Object
-
- java.lang.Enum<InstrumentDescription>
-
- nom.tam.fits.header.InstrumentDescription
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<InstrumentDescription>,IFitsHeader
public enum InstrumentDescription extends java.lang.Enum<InstrumentDescription> implements IFitsHeader
This data dictionary contains FITS keywords that have been widely used within the astronomical community. It is recommended that these keywords only be used as defined here. These are the Keywords that describe the instrument that took the data.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface nom.tam.fits.header.IFitsHeader
IFitsHeader.HDU, IFitsHeader.SOURCE, IFitsHeader.VALUE
-
-
Enum Constant Summary
Enum Constants Enum Constant Description APERTUREThe value field shall contain a character string which gives the name of the instrumental aperture though which the observation was made.DATAMODEThe value field shall contain a character string which identifies the configuration or mode of the pre-processing software that operated on the raw instrumental data to generate the data that is recorded in the FITS file.DETNAMThe value field shall contain a character string giving the name of the detector within the instrument that was used to make the observation.FILTERThe value field shall contain a character string which gives the name of the filter that was used during the observation to select or modify the radiation that was transmitted to the detector.FILTERnThe value field of this indexed keyword shall contain a character string which gives the name of one of multiple filters that were used during the observation to select or modify the radiation that was transmitted to the detector.GRATINGThe value field shall contain a character string which gives the name of the defraction grating that was used during the observation.GRATINGnThe value field of this indexed keyword shall contain a character string which gives the name of one of multiple defraction gratings that were used during the observation.OBS_MODEThe value field shall contain a character string which gives the observing mode of the observation.SATURATEThe value field shall contain an integer giving the data value at which the detector becomes saturated.
-
Field Summary
Fields Modifier and Type Field Description private IFitsHeaderkey
-
Constructor Summary
Constructors Modifier Constructor Description privateInstrumentDescription(IFitsHeader.SOURCE status, IFitsHeader.HDU hdu, IFitsHeader.VALUE valueType, java.lang.String comment)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringcomment()IFitsHeader.HDUhdu()java.lang.Stringkey()IFitsHeadern(int... number)IFitsHeader.SOURCEstatus()static InstrumentDescriptionvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static InstrumentDescription[]values()Returns an array containing the constants of this enum type, in the order they are declared.IFitsHeader.VALUEvalueType()
-
-
-
Enum Constant Detail
-
APERTURE
public static final InstrumentDescription APERTURE
The value field shall contain a character string which gives the name of the instrumental aperture though which the observation was made. This keyword is typically used in instruments which have a selection of apertures which restrict the field of view of the detector.
-
DATAMODE
public static final InstrumentDescription DATAMODE
The value field shall contain a character string which identifies the configuration or mode of the pre-processing software that operated on the raw instrumental data to generate the data that is recorded in the FITS file. Example: some X-ray satellite data may be recorded in 'BRIGHT', 'FAINT', or 'FAST' data mode.
-
DETNAM
public static final InstrumentDescription DETNAM
The value field shall contain a character string giving the name of the detector within the instrument that was used to make the observation. Example: 'CCD1'
-
FILTER
public static final InstrumentDescription FILTER
The value field shall contain a character string which gives the name of the filter that was used during the observation to select or modify the radiation that was transmitted to the detector. More than 1 filter may be listed by using the FILTERn indexed keyword. The value 'none' or 'NONE' indicates that no filter was used.
-
FILTERn
public static final InstrumentDescription FILTERn
The value field of this indexed keyword shall contain a character string which gives the name of one of multiple filters that were used during the observation to select or modify the radiation that was transmitted to the detector. The value 'none' or 'NONE' indicates that no filter was used.
-
GRATING
public static final InstrumentDescription GRATING
The value field shall contain a character string which gives the name of the defraction grating that was used during the observation. More than 1 grating may be listed by using the GRATINGn indexed keyword. The value 'none' or 'NONE' indicates that no grating was used.
-
GRATINGn
public static final InstrumentDescription GRATINGn
The value field of this indexed keyword shall contain a character string which gives the name of one of multiple defraction gratings that were used during the observation. The value 'none' or 'NONE' indicates that no grating was used.
-
OBS_MODE
public static final InstrumentDescription OBS_MODE
The value field shall contain a character string which gives the observing mode of the observation. This is used in cases where the instrument or detector can be configured to operate in different modes which significantly affect the resulting data. Examples: 'SLEW', 'RASTER', or 'POINTING'
-
SATURATE
public static final InstrumentDescription SATURATE
The value field shall contain an integer giving the data value at which the detector becomes saturated. This keyword value may differ from the maximum value implied by the BITPIX in that more bits may be allocated in the FITS pixel values than the detector can accommodate.
-
-
Field Detail
-
key
private final IFitsHeader key
-
-
Constructor Detail
-
InstrumentDescription
private InstrumentDescription(IFitsHeader.SOURCE status, IFitsHeader.HDU hdu, IFitsHeader.VALUE valueType, java.lang.String comment)
-
-
Method Detail
-
values
public static InstrumentDescription[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (InstrumentDescription c : InstrumentDescription.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InstrumentDescription valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
comment
public java.lang.String comment()
- Specified by:
commentin interfaceIFitsHeader
-
hdu
public IFitsHeader.HDU hdu()
- Specified by:
hduin interfaceIFitsHeader
-
key
public java.lang.String key()
- Specified by:
keyin interfaceIFitsHeader
-
n
public IFitsHeader n(int... number)
- Specified by:
nin interfaceIFitsHeader
-
status
public IFitsHeader.SOURCE status()
- Specified by:
statusin interfaceIFitsHeader
-
valueType
public IFitsHeader.VALUE valueType()
- Specified by:
valueTypein interfaceIFitsHeader
-
-