skyview.sia
Class SIAWriter

java.lang.Object
  extended by skyview.sia.SIAWriter
All Implemented Interfaces:
java.io.Serializable, Component, Processor

public class SIAWriter
extends java.lang.Object
implements Processor

This class writes out SIA records for surveys which have coverage in the specified region. It assumes the the Checker class was used as the image finder.

See Also:
Serialized Form

Constructor Summary
SIAWriter()
           
 
Method Summary
 java.lang.String getDescription()
          Get a description of this component
 java.lang.String getName()
          Get the name of this component.
 void process(Image[] input, Image output, int[] osource, Sampler samp, DepthSampler dSampler)
          Perform the processing task associated with this object.
 void updateHeader(Header h)
          This should only be used in contexts when no FITS file is produced, so this method does nothing.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SIAWriter

public SIAWriter()
Method Detail

getName

public java.lang.String getName()
Description copied from interface: Component
Get the name of this component.

Specified by:
getName in interface Component

getDescription

public java.lang.String getDescription()
Get a description of this component

Specified by:
getDescription in interface Component

process

public void process(Image[] input,
                    Image output,
                    int[] osource,
                    Sampler samp,
                    DepthSampler dSampler)
Description copied from interface: Processor
Perform the processing task associated with this object.

Specified by:
process in interface Processor
Parameters:
input - The array of input survey images.
output - The output user image. A null output may signal that an error has taken place. If this processor wishes to do something in response to the error, it may look at the ErrorMsg setting.
osource - An array giving the source image for each output pixel.
samp - The sampler object used to do spatial sampling of the input images.
dSampler - The sampler in the energy dimension (often null).

updateHeader

public void updateHeader(Header h)
This should only be used in contexts when no FITS file is produced, so this method does nothing.

Specified by:
updateHeader in interface Processor