Enum CommonExt
- All Implemented Interfaces:
Serializable, Comparable<CommonExt>, java.lang.constant.Constable, IFitsHeader
A Set of commonly used keywords in the amateur astronomy community.
- Since:
- 1.20.1
- Author:
- John Murphy and Attila Kovacs
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E>Nested classes/interfaces inherited from interface IFitsHeader
IFitsHeader.HDU, IFitsHeader.SOURCE, IFitsHeader.VALUEModifier and TypeInterfaceDescriptionstatic enumAn enumeration of HDU types in which a header keyword may be used.static enumDocumentation sources for the various known conventions.static enumValues types to which implementing keywords can be restricted to. -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAmbient air temperature in degrees CelsiusSynonym ofOBJCTROT.X axis binning factor.Y axis binning factor.Cloud cover as percentageLocal time of observation (ISO timestamp), e.g. "2017-01-03T02:41:24" or "2024-02-24T22:23:33.054"Dew point in degrees Celsius.Whether or not the image is flippedName of focuser.Focuser position in steps.Focal ratioFocus temperature in degrees Celsius.Name of focuserFilter wheel nameCamera gain / amplification.Synonym ofMaxImDLExt.EGAINAmplifier gain.Relative humidity as percentageImage rotation angle in degrees.Camera offset setting.Image scale in arcsec/pixel.Air pressure in hPa.Image scale in arcsec / pixel.Elevation of observing site above sea level in metersObservatory site, e.g.Wind direction clockwise from North [0:360]Average wind speed in km/h -
Field Summary
Fields inherited from interface IFitsHeader
MAX_INDEXModifier and TypeFieldDescriptionstatic final intMax numeric index we may use to replace n in the Java name of indexed variables. -
Method Summary
Modifier and TypeMethodDescriptionfinal FitsKeyimpl()(primarily for internal use) Returns the concrete implementation of this header entry, which provides implementation of access methods.static CommonExtReturns the enum constant of this type with the specified name.static CommonExt[]values()Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface IFitsHeader
comment, extractIndices, hdu, key, n, status, valueTypeModifier and TypeMethodDescriptiondefault Stringcomment()Returns the comment associated to this FITS header entry.default int[]extractIndices(String key) Extracts the indices for this stndardized key from an actual keyword realization.default IFitsHeader.HDUhdu()Returns the type of HDU(s) in which this header entry may be used.default Stringkey()Returns the FITS header keyword (or keyword template) for this header entry.default IFitsHeadern(int... numbers) Constructs an indexed FITS header keyword entry from this stem, replacing index place-holders (indicated by lower-case 'n' in the name) with actual numerical values.default IFitsHeader.SOURCEstatus()Returns the standard convention, which defines this FITS header entrydefault IFitsHeader.VALUEThe type(s) of value(s) this FITS header entry might take.
-
Enum Constant Details
-
AMBTEMP
Ambient air temperature in degrees Celsius -
ANGLE
-
CCDXBIN
X axis binning factor. Synonym forSBFitsExt.XBINNING -
CCDYBIN
Y axis binning factor. Synonym forSBFitsExt.YBINNING -
CLOUDCVR
Cloud cover as percentage -
DATE_LOC
Local time of observation (ISO timestamp), e.g. "2017-01-03T02:41:24" or "2024-02-24T22:23:33.054" -
DEWPOINT
Dew point in degrees Celsius. -
FLIPPED
Whether or not the image is flipped -
FOCNAME
-
FOCPOS
Focuser position in steps. Usually an integer, but not always. Synonymous toMaxImDLExt.FOCUSPOS -
FOCRATIO
Focal ratio -
FOCUSER
Name of focuser -
FOCTEMP
Focus temperature in degrees Celsius. Synonymous toMaxImDLExt.FOCUSTEM. -
FWHEEL
Filter wheel name -
GAIN
Camera gain / amplification. Often used the same asGAINRAW. There may be many different conventions on using this keyword. For example it may represent a multiplicative gain factor or gain defined as decibels, or strings such as 'HI'/'LO', or even as a boolean T/F. Therefore, this definition does not restrict the type of value this keyword can be used with. It is up to the user to ensure they follow the convention that makes most sense to their application, and for the tools they intend to use. -
GAINADU
Synonym ofMaxImDLExt.EGAIN -
GAINRAW
Amplifier gain. Synonym ofMaxImDLExt.ISOSPEED -
HUMIDITY
Relative humidity as percentage -
OBJCTROT
Image rotation angle in degrees. -
OFFSET
Camera offset setting. Very common since CMOS cameras became popular -
PIXSCALE
Image scale in arcsec/pixel. Redundant withStandard.CDELTn. -
PRESSURE
Air pressure in hPa. -
SCALE
Image scale in arcsec / pixel. Synonym ofPIXSCALE, and redundant withStandard.CDELTn. -
SITEELEV
Elevation of observing site above sea level in meters -
SITENAME
Observatory site, e.g. "Maunakea" -
WINDDIR
Wind direction clockwise from North [0:360] -
WINDSPD
Average wind speed in km/h
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
impl
Description copied from interface:IFitsHeader(primarily for internal use) Returns the concrete implementation of this header entry, which provides implementation of access methods.- Specified by:
implin interfaceIFitsHeader- Returns:
- the implementation of this keyword, which provides the actual access methods. Implementations of this interface should simply return themselves.
-