|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<VelocityFrame> edu.nrao.sss.astronomy.VelocityFrame
public enum VelocityFrame
A frame of rest against which a velocity is measured.
This list was based on the list found at http://www.gb.nrao.edu/~fghigo/gbtdoc/doppler.html.
CVS Info:
$Revision: 161 $ |
$Date: 2006-12-15 11:48:34 -0700 (Fri, 15 Dec 2006) $ |
$Author: btruitt $ |
Enum Constant Summary | |
---|---|
BARYCENTRIC
Rest frame based on our solar system's center of mass. |
|
COSMIC_MICROWAVE_BACKGROUND
Rest frame based on COBE measurements of dipole anisotropy. |
|
GALACTOCENTRIC
Rest frame based on our galaxy's center of mass. |
|
GEOCENTRIC
Rest frame based on the earth's center of mass. |
|
HELIOCENTRIC
Rest frame based on our sun's center of mass. |
|
LOCAL_GROUP
Rest frame based on the our local group of galaxies' center of mass. |
|
LSR_DYNAMIC
Dynamic Local Standard of Rest. |
|
LSR_KINEMATIC
Conventional Local Standard of Rest. |
|
TOPOCENTRIC
Rest frame based on the observer's position. |
|
UNKNOWN
An unknown rest frame. |
Method Summary | |
---|---|
static VelocityFrame |
fromString(String text)
Returns the velocity frame represented by text . |
static VelocityFrame |
getDefault()
Returns a default velocity frame. |
String |
toString()
Returns a text representation of this enumeration constant. |
static VelocityFrame |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static VelocityFrame[] |
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, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final VelocityFrame TOPOCENTRIC
public static final VelocityFrame GEOCENTRIC
public static final VelocityFrame BARYCENTRIC
public static final VelocityFrame HELIOCENTRIC
public static final VelocityFrame LSR_KINEMATIC
From the source in the class comments, this is:
based on average velocity of stars in the Solar neighborhood.
public static final VelocityFrame LSR_DYNAMIC
From the source in the class comments, this is:
[The] solar peculiar velocity with respect to a frame in circular motions about the galactic center.
public static final VelocityFrame GALACTOCENTRIC
public static final VelocityFrame LOCAL_GROUP
public static final VelocityFrame COSMIC_MICROWAVE_BACKGROUND
public static final VelocityFrame UNKNOWN
This element is used to implement the Null Object Pattern. In situations where a method might be tempted to return null, this element is returned instead.
Method Detail |
---|
public static VelocityFrame[] values()
for (VelocityFrame c : VelocityFrame.values()) System.out.println(c);
public static VelocityFrame 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 VelocityFrame getDefault()
public String toString()
toString
in class Enum<VelocityFrame>
public static VelocityFrame fromString(String text)
text
.
For details about the transformation, see
EnumerationUtility.enumFromString(Class, String)
.
text
- a text representation of a velocity frame.
text
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |