|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<StokesParameter> edu.nrao.sss.astronomy.StokesParameter
public enum StokesParameter
A set of values that describe the polarization state of electromagnetic radiation1.
This enumeration has the same name, and elements that have the same names and are in the same order, as the corresponding ALMA enumeration, which in turn is based on a CASA enumeration.
References
1Stokes parameters. (2007, September 2). In Wikipedia, The Free Encyclopedia. Retrieved 15:13, September 24, 2007, from http://en.wikipedia.org/w/index.php?title=Stokes_parameters&oldid=155199986.
Version Info:
$Revision: 1763 $ |
$Date: 2008-11-24 16:22:07 -0700 (Mon, 24 Nov 2008) $ |
$Author: dharland $ (last person to modify) |
Enum Constant Summary | |
---|---|
I
Total intensity. |
|
LCIRCULAR
|
|
LINEAR
Single dish polarization type (ALMA definition). |
|
LL
Circular polarization measurement equal to I - V. |
|
LR
Circular polarization measurement equal to Q - iU, where i = (-1)1/2. |
|
LX
|
|
LY
|
|
PANGLE
Linear polarization angle, equal to 0.5 * arctan(U/Q), in radians (ALMA definition). |
|
PFLINEAR
Linear polarization fraction, equal to PLINEAR / I (ALMA definition). |
|
PFTOTAL
Polarization fraction, equal to PTOTAL / I (ALMA definition). |
|
PLINEAR
Linearly polarized intensity, equal to (Q2+U2)1/2 (ALMA definition). |
|
PP
|
|
PQ
|
|
PTOTAL
Polarized intensity, equal to (Q2+U2+V2)1/2 (ALMA definition). |
|
Q
The Q, or S1, Stokes parameter. |
|
QP
|
|
QQ
|
|
RCIRCULAR
|
|
RL
Circular polarization measurement equal to Q + iU, where i = (-1)1/2. |
|
RR
Circular polarization measurement equal to I + V. |
|
RX
|
|
RY
|
|
U
The U, or S2, Stokes parameter. |
|
V
The V, or S3, Stokes parameter. |
|
XL
|
|
XR
|
|
XX
Linear polarization measurement equal to I + Q. |
|
XY
Linear polarization measurement equal to U + iV, where i = (-1)1/2. |
|
YL
|
|
YR
|
|
YX
Linear polarization measurement equal to U - iV, where i = (-1)1/2. |
|
YY
Linear polarization measurement equal to I - Q. |
Method Summary | |
---|---|
static StokesParameter |
fromString(String text)
Returns the stokes parameter represented by text . |
static StokesParameter |
getDefault()
Returns a default stokes parameter. |
static SortedSet<StokesParameter> |
getStokesFor(PolarizationType p1,
PolarizationType p2)
Returns a set of stokes parameters than can be created from the given polarizations. |
static StokesParameter |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static StokesParameter[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final StokesParameter I
public static final StokesParameter Q
public static final StokesParameter U
public static final StokesParameter V
public static final StokesParameter RR
public static final StokesParameter RL
public static final StokesParameter LR
public static final StokesParameter LL
public static final StokesParameter XX
public static final StokesParameter XY
public static final StokesParameter YX
public static final StokesParameter YY
public static final StokesParameter RX
public static final StokesParameter RY
public static final StokesParameter LX
public static final StokesParameter LY
public static final StokesParameter XR
public static final StokesParameter XL
public static final StokesParameter YR
public static final StokesParameter YL
public static final StokesParameter PP
public static final StokesParameter PQ
public static final StokesParameter QP
public static final StokesParameter QQ
public static final StokesParameter RCIRCULAR
public static final StokesParameter LCIRCULAR
public static final StokesParameter LINEAR
public static final StokesParameter PTOTAL
public static final StokesParameter PLINEAR
public static final StokesParameter PFTOTAL
public static final StokesParameter PFLINEAR
public static final StokesParameter PANGLE
Method Detail |
---|
public static StokesParameter[] values()
for (StokesParameter c : StokesParameter.values()) System.out.println(c);
public static StokesParameter valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic static StokesParameter getDefault()
public static StokesParameter fromString(String text)
text
.
For details about the transformation, see
EnumerationUtility.enumFromString(Class, String)
.
text
- a text representation of a stokes parameter.
text
.public static SortedSet<StokesParameter> getStokesFor(PolarizationType p1, PolarizationType p2)
It is permissible to have one or both of the parameters be null.
If both are null the returned set will be empty. If one is
null and the other is not the returned set will have one
element. For example if p1 is null and p2
is PolarizationType.R, the returned set will contain
only RR
.
p1
- a polarization to be combined with p2 to form
Stokes parameters.p2
- a polarization to be combined with p1 to form
Stokes parameters.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |