org.jscience.astronomy.solarsystem.coordinates.distorters
Class DSSDistorter

java.lang.Object
  extended by org.jscience.astronomy.solarsystem.coordinates.Transformer
      extended by org.jscience.astronomy.solarsystem.coordinates.Distorter
          extended by org.jscience.astronomy.solarsystem.coordinates.distorters.DSSDistorter
All Implemented Interfaces:
Named

public class DSSDistorter
extends Distorter
implements Named

The distortion object for a given DSS structure. This class is not thread safe.


Nested Class Summary
 class DSSDistorter.DSSInvDistorter
          This inner class is the inverse of the DSS Distorter and corrects the distortion generated there.
 
Constructor Summary
DSSDistorter(double plate_ra, double plate_dec, double x_pixel_size, double y_pixel_size, double plate_scale, double[] ppo_coeff, double[] x_coeff, double[] y_coeff)
           
 
Method Summary
 java.lang.String getDescription()
          What does this object do?
 java.lang.String getName()
          Get the name of this component
 Distorter inverse()
          The inverse Distorter (i.e., the undistorter) uses much of the same machinery, so we generate it as a inner class of the distorter.
 boolean isInverse(Transformer t)
          Is this the inverse of another distorter?
protected  boolean preserves()
           
 void transform(double[] x, double[] y)
          Convert a single point where the output vector is supplied.
 
Methods inherited from class org.jscience.astronomy.solarsystem.coordinates.Distorter
getInputDimension, getOutputDimension
 
Methods inherited from class org.jscience.astronomy.solarsystem.coordinates.Transformer
transform, transform
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DSSDistorter

public DSSDistorter(double plate_ra,
                    double plate_dec,
                    double x_pixel_size,
                    double y_pixel_size,
                    double plate_scale,
                    double[] ppo_coeff,
                    double[] x_coeff,
                    double[] y_coeff)
Method Detail

transform

public void transform(double[] x,
                      double[] y)
Description copied from class: Transformer
Convert a single point where the output vector is supplied.

Specified by:
transform in class Transformer
Parameters:
x - The input vector.
y - The output vector, it may be the same as the input vector if the dimensionalities are the same. All transformers are expected to work with aliased inputs and output.

getName

public java.lang.String getName()
Get the name of this component

Specified by:
getName in interface Named
Overrides:
getName in class Distorter
Returns:
DOCUMENT ME!

getDescription

public java.lang.String getDescription()
Description copied from class: Distorter
What does this object do?

Overrides:
getDescription in class Distorter

preserves

protected boolean preserves()

inverse

public Distorter inverse()
The inverse Distorter (i.e., the undistorter) uses much of the same machinery, so we generate it as a inner class of the distorter.

Specified by:
inverse in class Distorter

isInverse

public boolean isInverse(Transformer t)
Is this the inverse of another distorter?

Specified by:
isInverse in class Transformer