stella.util
Class Annulus.Series

java.lang.Object
  extended by util.CommandLineParser
      extended by util.PropertyParser
          extended by stella.util.Annulus.Series
Enclosing class:
Annulus

public static class Annulus.Series
extends PropertyParser

Use some command-line switches to generate simulated pinhole data.


Nested Class Summary
 
Nested classes/interfaces inherited from class util.CommandLineParser
CommandLineParser.Test
 
Field Summary
private static Map<String,String> CONVERT
          A map linking the command line arguments to their property keys.
static String FOOT
          A footer usage message.
static String ONESWITCHES
          The zero-argument command line switches understood.
static String TWOSWITCHES
          The zero-argument command line switches understood.
static Map<String,String> USE
          A human-readable description of the switches.
 
Constructor Summary
Annulus.Series()
          Constructs a new series maker.
 
Method Summary
static void main(String[] arg)
          Scans command line switches and generates simulated annulus images from it.
protected  boolean processSwitches(Map<String,String> prop)
          Process the command line switches found.
 
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

ONESWITCHES

public static final String ONESWITCHES
The zero-argument command line switches understood.

See Also:
Constant Field Values

TWOSWITCHES

public static final String TWOSWITCHES
The zero-argument command line switches understood.

See Also:
Constant Field Values

USE

public static final Map<String,String> USE
A human-readable description of the switches.


FOOT

public static final String FOOT
A footer usage message.

See Also:
Constant Field Values

CONVERT

private static final Map<String,String> CONVERT
A map linking the command line arguments to their property keys.

Constructor Detail

Annulus.Series

public Annulus.Series()
Constructs a new series maker. The switches understood are readily added to the command line parser.

Method Detail

processSwitches

protected boolean processSwitches(Map<String,String> prop)
                           throws IOException,
                                  nom.tam.fits.FitsException
Process the command line switches found.

Returns:
True on success.
Throws:
IOException
nom.tam.fits.FitsException

main

public static void main(String[] arg)
                 throws ParseException,
                        IOException,
                        nom.tam.fits.FitsException
Scans command line switches and generates simulated annulus images from it.

Throws:
ParseException
IOException
nom.tam.fits.FitsException