Package gaiasky.util.gaia
Enum Class FOV
- All Implemented Interfaces:
Serializable
,Comparable<FOV>
,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final FOV
static final FOV[]
static final FOV[]
Lists of FOVs grouped by the application of AC motion in theis related observationsstatic final FOV[]
static final FOV
Mapping/Alias of the FOVs (with AC motion applied) to the "Following/Preceding" telescope nomenclature (mainly for AGIS use)static final FOV[]
Lists of FOVs grouped by associated telescope "Following/Preceding"static final FOV[]
List of the telescope alias of the FOVs with AC motion applied -
Method Summary
Modifier and TypeMethodDescriptionstatic FOV
getFov
(int fovIndex) Get enumeration type for the given FoV index [0-3]static FOV
getFovByNumber
(int fovNumber) Get enumeration type for the given FoV number [1-4]static int
Get the number of FoV identifiers (including the both motion configurations)byte
getIndex()
Get FOV index [0-3]byte
Get FOV number [1-4]double
Get numerical field index defined as 1.0 for FOV1-3 and -1.0 for FOV2-4byte
Get telescope index [0-1]byte
Get telescope number [1-2]boolean
Determine whether a given field of view corresponds to the following telescopeboolean
isMotion()
Indicates if this FoV has motion propagation in the Focal planeboolean
Indicates if this FoV has Null motion propagation in the Focal planeboolean
Indicates whether this field of view corresponds to the preceding telescopestatic boolean
validFov
(int fovIndex) Indicates if the FoV index is valid [0-3]static FOV
Returns the enum constant of this class with the specified name.static FOV[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FOV1
-
FOV2
-
FOV3
-
FOV4
-
-
Field Details
-
P
Mapping/Alias of the FOVs (with AC motion applied) to the "Following/Preceding" telescope nomenclature (mainly for AGIS use) -
F
-
Telescopes
List of the telescope alias of the FOVs with AC motion applied -
PrecedingFovs
Lists of FOVs grouped by associated telescope "Following/Preceding" -
FollowingFovs
-
MotionFovs
Lists of FOVs grouped by the application of AC motion in theis related observations -
NullMotionFovs
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
getFov
Get enumeration type for the given FoV index [0-3]- Parameters:
fovIndex
- FoV index [0-3]- Returns:
- enumeration type for the desired FoV index, null if index is not valid
-
getFovByNumber
Get enumeration type for the given FoV number [1-4]- Parameters:
fovNumber
- FoV number [1-4]- Returns:
- enumeration type for the desired FoV number, null if number is invalid
-
getFovCount
public static int getFovCount()Get the number of FoV identifiers (including the both motion configurations)- Returns:
- Number of FoV identifiers
-
validFov
public static boolean validFov(int fovIndex) Indicates if the FoV index is valid [0-3]- Parameters:
fovIndex
- FoV [0-3]- Returns:
- true if the FoV index is valid, false otherwise
-
getIndex
public byte getIndex()Get FOV index [0-3]- Returns:
- FOV index [FOV1:0, FOV2:1, FOV3:2, FOV4:3]
-
getNumber
public byte getNumber()Get FOV number [1-4]- Returns:
- FOV number [FOV1:1, FOV2:2, FOV3:3, FOV4:4]
-
getNumericalFieldIndex
public double getNumericalFieldIndex()Get numerical field index defined as 1.0 for FOV1-3 and -1.0 for FOV2-4- Returns:
- the numerical field index [-1.0:+1.0]
-
getTelescopeIndex
public byte getTelescopeIndex()Get telescope index [0-1]- Returns:
- Telescope index [FOV1:0, FOV2:1, FOV3:0, FOV4:1]
-
getTelescopeNumber
public byte getTelescopeNumber()Get telescope number [1-2]- Returns:
- Telescope number [FOV1:1, FOV2:2, FOV3:1, FOV4:2]
-
isFollowingTelescope
public boolean isFollowingTelescope()Determine whether a given field of view corresponds to the following telescope- Returns:
- true if field of view corresponds to the following telescope, false otherwise
-
isMotion
public boolean isMotion()Indicates if this FoV has motion propagation in the Focal plane- Returns:
- True if this FoV correspond to a motion propagation observation
-
isNullMotion
public boolean isNullMotion()Indicates if this FoV has Null motion propagation in the Focal plane- Returns:
- True if this FoV correspond to a Null motion propagation observation
-
isPrecedingTelescope
public boolean isPrecedingTelescope()Indicates whether this field of view corresponds to the preceding telescope- Returns:
- true if field of view corresponds to the preceding telescope, false otherwise
-