public class SkyCoordParameter
extends uk.ac.starlink.task.StringParameter
Constructor | Description |
---|---|
SkyCoordParameter(java.lang.String name,
java.lang.String coordName,
java.lang.String coordSys,
java.lang.String tableDescrip) |
Constructor.
|
Modifier and Type | Method | Description |
---|---|---|
static uk.ac.starlink.task.StringParameter |
createDecParameter(java.lang.String paramName,
java.lang.String coordSys,
java.lang.String tableDescrip) |
Utility method to create a parameter representing Declination.
|
static uk.ac.starlink.task.StringParameter |
createRaParameter(java.lang.String paramName,
java.lang.String coordSys,
java.lang.String tableDescrip) |
Utility method to create a parameter representing Right Ascension.
|
static java.lang.String |
guessDecDegreesExpression(uk.ac.starlink.table.StarTable inTable) |
Looks at table columns and makes a guess at a JEL expression which
will give Declination in degrees.
|
static java.lang.String |
guessRaDegreesExpression(uk.ac.starlink.table.StarTable inTable) |
Looks at table columns and makes a guess at a JEL expression which
will give Right Ascension in degrees.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
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(java.lang.String name, java.lang.String coordName, java.lang.String coordSys, java.lang.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 uk.ac.starlink.task.StringParameter createRaParameter(java.lang.String paramName, java.lang.String coordSys, java.lang.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 uk.ac.starlink.task.StringParameter createDecParameter(java.lang.String paramName, java.lang.String coordSys, java.lang.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 java.lang.String guessRaDegreesExpression(uk.ac.starlink.table.StarTable inTable)
inTable
- tablepublic static java.lang.String guessDecDegreesExpression(uk.ac.starlink.table.StarTable inTable)
inTable
- tableCopyright © 2018 Central Laboratory of the Research Councils. All Rights Reserved.