public class SIP extends Distorter
| Modifier and Type | Class and Description |
|---|---|
class |
SIP.SIPinverse
Create the inverse distorter for the main class here.
|
| Constructor and Description |
|---|
SIP(double[][] distortx,
double[][] distorty,
double[][] undistortx,
double[][] undistorty)
Explicitly set the coefficients for the distorter.
|
SIP(nom.tam.fits.Header h)
Create a distorter from a FITS header.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
applyBeforeScaling() |
java.lang.String |
getDescription()
What does this object do?
|
java.lang.String |
getName()
A name for this object
|
Distorter |
inverse()
Get the inverse of the transformation.
|
boolean |
isInverse(Transformer trans)
Is another transformer the inverse of this one?
True only if it was created as the inverse of this transformation.
|
static void |
main(java.lang.String[] args) |
void |
transform(double[] in,
double[] out)
Calculate the distorted (actual pixel) coordinates given the standard coordinates.
|
getInputDimension, getOutputDimension, jacobiantransform, transformpublic SIP(nom.tam.fits.Header h)
public SIP(double[][] distortx,
double[][] distorty,
double[][] undistortx,
double[][] undistorty)
public java.lang.String getName()
Distorterpublic java.lang.String getDescription()
DistortergetDescription in interface ComponentgetDescription in class Distorterpublic Distorter inverse()
Transformerpublic boolean applyBeforeScaling()
applyBeforeScaling in class Distorterpublic void transform(double[] in,
double[] out)
transform in class Transformerin - The input vector.out - 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.public boolean isInverse(Transformer trans)
isInverse in class Transformerpublic static void main(java.lang.String[] args)