Package org.ivoa.dm.caom2
Enum Class PolarizationState
- All Implemented Interfaces:
Serializable,Comparable<PolarizationState>,Constable
@VoDml(id="caom2:PolarizationState",
role=enumeration)
public enum PolarizationState
extends Enum<PolarizationState>
a classification of polarization (Stokes states plus other related quantities);
work-around: using the name of the literal to convey the serialised value.
Enumeration PolarizationState :
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionValue CPOLI : circular polarization intensity: |V|.Value EPOLI : elliptical polarization intensity: sqrt(Q^2 + U^2 + V^2).Value FPOLI : fractional linear polarization: POLI/I.Value I : unpolarized.Value LL : left-left circular.Value LR : left-right cross-circular.Value NPOLI : unpolarized intensity: I - EPOLI.Value POLA : linear polarization angle: 1/2 arctan(U,Q).Value POLI : linear polarized intensity: sqrt(Q^2 + U^2).Value Q : Stokes linear Q.Value RL : right-left cross-circular.Value RR : right-right circular.Value U : Stokes linear U.Value V : Stokes circular V.Value XX : X parallel linear.Value XY : XY cross-linear.Value YX : YX cross-linear.Value YY : Y parallel linear. -
Method Summary
Modifier and TypeMethodDescriptionstatic final PolarizationStateReturn the PolarizationState enum constant corresponding to the given string representation (value)final StringtoString()Return the string representation of this enum constant (value)final Stringvalue()Return the string representation of this enum constant (value)static PolarizationStateReturns the enum constant of this class with the specified name.static PolarizationState[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
I
Value I : unpolarized. -
Q
Value Q : Stokes linear Q. -
U
Value U : Stokes linear U. -
V
Value V : Stokes circular V. -
RR
Value RR : right-right circular. -
LL
Value LL : left-left circular. -
RL
Value RL : right-left cross-circular. -
LR
Value LR : left-right cross-circular. -
XX
Value XX : X parallel linear. -
YY
Value YY : Y parallel linear. -
XY
Value XY : XY cross-linear. -
YX
Value YX : YX cross-linear. -
POLI
Value POLI : linear polarized intensity: sqrt(Q^2 + U^2). -
FPOLI
Value FPOLI : fractional linear polarization: POLI/I. -
POLA
Value POLA : linear polarization angle: 1/2 arctan(U,Q). -
EPOLI
Value EPOLI : elliptical polarization intensity: sqrt(Q^2 + U^2 + V^2). -
CPOLI
Value CPOLI : circular polarization intensity: |V|. -
NPOLI
Value NPOLI : unpolarized intensity: I - EPOLI.
-
-
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
-
value
Return the string representation of this enum constant (value)- Returns:
- string representation of this enum constant (value)
-
toString
Return the string representation of this enum constant (value)- Overrides:
toStringin classEnum<PolarizationState>- Returns:
- string representation of this enum constant (value)
- See Also:
-
fromValue
Return the PolarizationState enum constant corresponding to the given string representation (value)- Parameters:
v- string representation (value)- Returns:
- PolarizationState enum constant
- Throws:
IllegalArgumentException- if there is no matching enum constant
-