|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectutil.CommandLineParser
util.PropertyParser
stella.util.PointingModel.FileData
public static class PointingModel.FileData
An access class to a pointing model that reads data from a file. Parses the command line as unix-like switches. Run without arguments for a short description.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class util.CommandLineParser |
|---|
CommandLineParser.Test |
| Field Summary | |
|---|---|
private static String |
FOOT
A footer message. |
private static Map<String,String> |
PROP
The switches directly linked to properties. |
private static String |
SWITCHES
The command line switches understood with one argument. |
private static Map<String,String> |
USE
Detailed use of switches. |
private static String |
ZERO
The command line switches with no arguments. |
| Constructor Summary | |
|---|---|
PointingModel.FileData()
Constructs a new file data parsing object. |
|
| Method Summary | |
|---|---|
private static void |
addPM(VectorG ap,
VectorG hp,
VectorG offa,
VectorG offh)
This adds pointing model offsets to raw data. |
private static void |
dePoison(VectorG ap,
VectorG hp,
VectorG offa,
VectorG offh)
Revert the pm-poisoned data to reflect azimuth and altitude on start. |
private static void |
doRadian(VectorG ap,
VectorG hp)
Revert the pm-poisoned data to reflect azimuth and altitude on start. |
private static String |
harmonicsHelper(int l)
A special helper method that generates a string that is a harmonics as needed for the given order. |
private static String |
harmonicsNamer(int l)
A special helper method that generates a string that is a harmonics name as needed for the given order. |
static void |
main(String[] arg)
Reads data from a file. |
private static void |
printSpectral(VectorG ylm)
Prints spectral information on a harmonics solution by summing over all m's. |
private static String |
radToPilar(double rad)
|
| Methods inherited from class util.PropertyParser |
|---|
parseMap, parseMap, parseProperties, parseProperties, parseProperties |
| Methods inherited from class util.CommandLineParser |
|---|
getArguments, getCommandLine, getCommands, getRegisteredSwitches, hasAnySwitch, hasSwitch, hasSwitch, haveAllSwitches, parse, printCommandLine, registerLine, registerSwitches, setCommands, staticUsage, usage |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static final String SWITCHES
private static final String ZERO
private static final Map<String,String> USE
private static final Map<String,String> PROP
private static final String FOOT
| Constructor Detail |
|---|
public PointingModel.FileData()
| Method Detail |
|---|
public static void main(String[] arg)
throws ParseException,
IOException
ParseException
IOExceptionprivate static void printSpectral(VectorG ylm)
private static void addPM(VectorG ap,
VectorG hp,
VectorG offa,
VectorG offh)
private static void dePoison(VectorG ap,
VectorG hp,
VectorG offa,
VectorG offh)
private static final String radToPilar(double rad)
private static void doRadian(VectorG ap,
VectorG hp)
private static String harmonicsHelper(int l)
private static String harmonicsNamer(int l)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||