astro
Class WcsFit.Polynomial

java.lang.Object
  extended by util.CommandLineParser
      extended by astro.WcsFit.Parser
          extended by astro.WcsFit.Polynomial
Enclosing class:
WcsFit

public static class WcsFit.Polynomial
extends WcsFit.Parser

We solve for a wcs, reading the pixel pairs and the matched catalog from an ascii file. The WCS projection is Linear. Starting parameters are estimated from the fits file in the first cmd-line argument.


Nested Class Summary
 
Nested classes/interfaces inherited from class util.CommandLineParser
CommandLineParser.Test
 
Constructor Summary
WcsFit.Polynomial()
           
 
Method Summary
protected  WcsProjection getDefaultProjection(Map<String,String> prop)
          Subclasses may override here if they want to provide different default properties for the wcs projection class.
static void main(String[] arg)
          First command line is the single-extension fits field, second is the matched file.
 
Methods inherited from class astro.WcsFit.Parser
getDefaultProperties, getOldProperties, postProcess, prepare, process, solveFor
 
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
 

Constructor Detail

WcsFit.Polynomial

public WcsFit.Polynomial()
Method Detail

getDefaultProjection

protected WcsProjection getDefaultProjection(Map<String,String> prop)
Subclasses may override here if they want to provide different default properties for the wcs projection class.

Overrides:
getDefaultProjection in class WcsFit.Parser

main

public static void main(String[] arg)
                 throws ParseException,
                        nom.tam.fits.FitsException,
                        IOException
First command line is the single-extension fits field, second is the matched file.

Throws:
ParseException
nom.tam.fits.FitsException
IOException