stella.util
Class SimulateFits.Generate

java.lang.Object
  extended by util.CommandLineParser
      extended by stella.util.SimulateFits.Generate
Enclosing class:
SimulateFits

public static class SimulateFits.Generate
extends CommandLineParser

Generates simulated guider/acquire frames.


Nested Class Summary
 
Nested classes/interfaces inherited from class util.CommandLineParser
CommandLineParser.Test
 
Field Summary
static String COARSE
          Defines the coarse acquire frame.
static String FINE
          Defines the fine acquire frame.
private static String FOOT
          A footer message.
private static String ONESWITCH
          The switches for adding properties.
private static String TWOSWITCH
          The switches for adding properties.
private static Map USE
          Detailed use of switches.
private static String ZEROSWITCH
          The switches for adding properties.
 
Constructor Summary
SimulateFits.Generate()
          Constructs the parser to the fits finder.
 
Method Summary
static void main(String[] arg)
          The command line version for reducing acquire/guiding frames.
private  boolean process(String[] arg)
          Reads the command line and generates the artificial sky images if possible.
 
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

COARSE

public static final String COARSE
Defines the coarse acquire frame.

See Also:
Constant Field Values

FINE

public static final String FINE
Defines the fine acquire frame.

See Also:
Constant Field Values

ZEROSWITCH

private static final String ZEROSWITCH
The switches for adding properties.

See Also:
Constant Field Values

ONESWITCH

private static final String ONESWITCH
The switches for adding properties.

See Also:
Constant Field Values

TWOSWITCH

private static final String TWOSWITCH
The switches for adding properties.

See Also:
Constant Field Values

USE

private static final Map USE
Detailed use of switches.


FOOT

private static final String FOOT
A footer message.

See Also:
Constant Field Values
Constructor Detail

SimulateFits.Generate

public SimulateFits.Generate()
Constructs the parser to the fits finder. All known switches are registered.

Method Detail

process

private boolean process(String[] arg)
                 throws ParseException,
                        IOException,
                        nom.tam.fits.FitsException
Reads the command line and generates the artificial sky images if possible.

Throws:
ParseException
IOException
nom.tam.fits.FitsException

main

public static void main(String[] arg)
                 throws ParseException,
                        IOException,
                        nom.tam.fits.FitsException
The command line version for reducing acquire/guiding frames.

Throws:
ParseException
IOException
nom.tam.fits.FitsException