astro
Class WcsShift

java.lang.Object
  extended by util.CommandLineParser
      extended by astro.RaDeParser
          extended by astro.WcsShift

public class WcsShift
extends RaDeParser

A class that deals with fits files having a valid WCS defined in their header. The user can then do calculations, like converting a ra/dec to x/y coordinates (back and forth), or calculate a shift of the frame to a specified. center.


Nested Class Summary
static class WcsShift.Shift
          Class to print out the fits-file name followed by pixel shift for a central ra/de.
 
Nested classes/interfaces inherited from class util.CommandLineParser
CommandLineParser.Test
 
Field Summary
private static String FOOT
          A footer message.
private static String TWO
          The command line switches.
private static String ZERO
          The command line switches.
 
Fields inherited from class astro.RaDeParser
USE
 
Constructor Summary
WcsShift()
          Constructs a new WcsShift and register the additional command line switches.
 
Method Summary
protected  VectorG process(String[] arg)
          Process the command line and returns a eight-dimensional vector, with the following meaning in its coordinates.
 
Methods inherited from class astro.RaDeParser
getRaDe
 
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

ZERO

private static final String ZERO
The command line switches.

See Also:
Constant Field Values

TWO

private static final String TWO
The command line switches.

See Also:
Constant Field Values

FOOT

private static final String FOOT
A footer message.

See Also:
Constant Field Values
Constructor Detail

WcsShift

public WcsShift()
Constructs a new WcsShift and register the additional command line switches.

Method Detail

process

protected VectorG process(String[] arg)
                   throws ParseException
Process the command line and returns a eight-dimensional vector, with the following meaning in its coordinates.

Throws:
ParseException