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, jacobian
transform, transform
public SIP(nom.tam.fits.Header h)
public SIP(double[][] distortx, double[][] distorty, double[][] undistortx, double[][] undistorty)
public java.lang.String getName()
Distorter
public java.lang.String getDescription()
Distorter
getDescription
in interface Component
getDescription
in class Distorter
public Distorter inverse()
Transformer
public boolean applyBeforeScaling()
applyBeforeScaling
in class Distorter
public void transform(double[] in, double[] out)
transform
in class Transformer
in
- 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 Transformer
public static void main(java.lang.String[] args)