public class SkyCoordParameter extends StringParameter
Constructor and Description |
---|
SkyCoordParameter(String name,
String coordName,
String coordSys,
String tableDescrip)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static StringParameter |
createDecParameter(String paramName,
String coordSys,
String tableDescrip)
Utility method to create a parameter representing Declination.
|
static StringParameter |
createRaParameter(String paramName,
String coordSys,
String tableDescrip)
Utility method to create a parameter representing Right Ascension.
|
static String |
guessDecDegreesExpression(StarTable inTable)
Looks at table columns and makes a guess at a JEL expression which
will give Declination in degrees.
|
static String |
guessRaDegreesExpression(StarTable inTable)
Looks at table columns and makes a guess at a JEL expression which
will give Right Ascension in degrees.
|
stringToObject
clearValue, getDescription, getName, getPosition, getPreferExplicit, getPrompt, getStringDefault, getUsage, getValueClass, isNullPermitted, objectToString, objectValue, setDescription, setDescription, setName, setNullPermitted, setPosition, setPreferExplicit, setPrompt, setStringDefault, setUsage, setValue, setValueFromObject, setValueFromString, stringValue, toArray, toString
public SkyCoordParameter(String name, String coordName, String coordSys, String tableDescrip)
name
- parameter namecoordName
- text name for the coordinate, full word, capitalised,
for instance "Right ascension"coordSys
- name of coordinate system, or nulltableDescrip
- text denoting table to which the coordinate refers,
for instance "the input table"public static StringParameter createRaParameter(String paramName, String coordSys, String tableDescrip)
paramName
- parameter namecoordSys
- name of coordinate system, or nulltableDescrip
- text denoting table to which the coordinate refers,
for instance "the input table"public static StringParameter createDecParameter(String paramName, String coordSys, String tableDescrip)
paramName
- parameter namecoordSys
- name of coordinate system, or nulltableDescrip
- text denoting table to which the coordinate refers,
for instance "the input table"public static String guessRaDegreesExpression(StarTable inTable)
inTable
- tableCopyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.