astro.fits
Class IcatPrepare.Dir

java.lang.Object
  extended by astro.fits.IcatPrepare.Dir
All Implemented Interfaces:
IcatSource
Enclosing class:
IcatPrepare

public static class IcatPrepare.Dir
extends Object
implements IcatSource

This class reads all fits images in the specified directory and passes them to the split method, or, if a second command line argument is present, reads the specified file for the list input.


Field Summary
(package private)  List<File> bias
           
(package private)  List<File> dark
           
(package private)  List<File> flat
           
(package private)  List<File> science
           
 
Constructor Summary
private IcatPrepare.Dir(List<File> b, List<File> d, List<File> f, List<File> s)
           
 
Method Summary
 List<File> biasSource()
          Returns the list we were constructed with.
 List<File> darkSource()
          Returns the list we were constructed with.
 boolean flatsAreMaster()
          Flats are not pre-reduced master flats.
 List<File> flatSource()
          Returns the list we were constructed with.
static void main(String[] arg)
          First command line arguments are my properties, second, optional, is a list of files.
 boolean postpone()
          In a dir-version, we always are ready.
 void registerScience(File science)
          Does nothing.
 void registerScience(List<File> science)
          Does nothing.
 List<File> scienceSource()
          Returns the list we were constructed with.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

bias

List<File> bias

dark

List<File> dark

flat

List<File> flat

science

List<File> science
Constructor Detail

IcatPrepare.Dir

private IcatPrepare.Dir(List<File> b,
                        List<File> d,
                        List<File> f,
                        List<File> s)
Method Detail

registerScience

public void registerScience(File science)
Does nothing.

Specified by:
registerScience in interface IcatSource

registerScience

public void registerScience(List<File> science)
Does nothing.

Specified by:
registerScience in interface IcatSource

biasSource

public List<File> biasSource()
Returns the list we were constructed with.

Specified by:
biasSource in interface IcatSource

darkSource

public List<File> darkSource()
Returns the list we were constructed with.

Specified by:
darkSource in interface IcatSource

flatSource

public List<File> flatSource()
Returns the list we were constructed with.

Specified by:
flatSource in interface IcatSource

scienceSource

public List<File> scienceSource()
Returns the list we were constructed with.

Specified by:
scienceSource in interface IcatSource

flatsAreMaster

public boolean flatsAreMaster()
Flats are not pre-reduced master flats.

Specified by:
flatsAreMaster in interface IcatSource

postpone

public boolean postpone()
In a dir-version, we always are ready.

Specified by:
postpone in interface IcatSource

main

public static void main(String[] arg)
                 throws nom.tam.fits.FitsException,
                        IOException
First command line arguments are my properties, second, optional, is a list of files.

Throws:
nom.tam.fits.FitsException
IOException