private static class WcsFit.Parser extends CommandLineParser
CommandLineParser.Template, CommandLineParser.Test| Modifier and Type | Field and Description |
|---|---|
private static int |
AVERAGE
Starting default.
|
private VectorG[][] |
cats
Provided after parsing and processing of command line arguments.
|
private VectorG |
clip
Provided after parsing and processing of command line arguments.
|
private static int |
DEFBLOWUP
Starting default.
|
private static int |
DEFCOMPRESS
Starting default.
|
private static int |
EXTENSION
Starting default.
|
private static String |
FOOT
A footer message.
|
private MImageHDU |
image
Provided after parsing and processing of command line arguments.
|
private int |
loop
Provided after parsing and processing of command line arguments.
|
private static String |
ONESWITCHES
The switches for adding properties.
|
private static int |
POLYNOM
Starting default.
|
private int |
reject
Provided after parsing and processing of command line arguments.
|
private static int |
SKIP
Starting default.
|
private static String |
TWOSWITCHES
The switches for adding properties.
|
private static Map<String,String> |
USE
Detailed use of switches.
|
private WcsProjection |
wcs
Provided after parsing and processing of command line arguments.
|
private static String |
ZEROSWITCHES
The switches for adding properties.
|
HELPSWITCHES| Modifier | Constructor and Description |
|---|---|
private |
Parser()
Makes command line parsing ready.
|
| Modifier and Type | Method and Description |
|---|---|
protected Map<String,String> |
getAuxProperties()
Subclasses may override here if they want to provide different
default properties for the wcs projection class.
|
protected WcsProjection |
getDefaultProjection(Map<String,String> prop)
Subclasses may override here if they want to provide different
default properties for the wcs projection class.
|
protected Map<String,String> |
getDefaultProperties()
Subclasses may override here if they want to provide different
default properties for the wcs projection class.
|
protected Map<String,String> |
getOldProperties()
Subclasses may override here if they want to provide different
default properties for the wcs projection class.
|
boolean |
postProcess(WcsFit fit,
VectorG parameters)
Called after the WCS-solution to save sigma maps or convert
coordinates.
|
WcsFit |
prepare(WcsFit fit) |
boolean |
process(String[] arg)
After calling that, all data is either present or has default values
|
void |
solveDebug(WcsFit fit) |
VectorG |
solveFor(WcsFit fit,
boolean lm) |
addHelpSwitches, getArguments, getCallerName, getCommandLine, getCommands, getRegisteredSwitches, hasAnySwitch, hasHelpSwitch, hasSwitch, hasSwitch, haveAllSwitches, parse, printCommandLine, printCommandLine, registerLine, registerSwitches, setCommands, staticUsage, usageprivate static final String ONESWITCHES
private static final String TWOSWITCHES
private static final String ZEROSWITCHES
private static final String FOOT
private static final int AVERAGE
private static final int POLYNOM
private static final int SKIP
private static final int EXTENSION
private static final int DEFCOMPRESS
private static final int DEFBLOWUP
private MImageHDU image
private WcsProjection wcs
private VectorG clip
private int reject
private int loop
private VectorG[][] cats
protected Map<String,String> getDefaultProperties()
protected Map<String,String> getOldProperties()
protected Map<String,String> getAuxProperties()
protected WcsProjection getDefaultProjection(Map<String,String> prop)
public boolean process(String[] arg) throws ParseException, IOException, BasicFitsException
public void solveDebug(WcsFit fit) throws BasicFitsException
BasicFitsExceptionpublic VectorG solveFor(WcsFit fit, boolean lm) throws HeaderException
HeaderExceptionpublic boolean postProcess(WcsFit fit, VectorG parameters) throws IOException, BasicFitsException
IOExceptionBasicFitsException