Serializable, Componentpublic class SIP extends Distorter
| Modifier and Type | Class | Description |
|---|---|---|
class |
SIP.SIPinverse |
Create the inverse distorter for the main class here.
|
| Constructor | 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 | Description |
|---|---|---|
boolean |
applyBeforeScaling() |
|
String |
getDescription() |
What does this object do?
|
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(String[] args) |
|
void |
transform(double[] in,
double[] out) |
Calculate the distorted (actual pixel) coordinates given the standard coordinates.
|
getInputDimension, getOutputDimension, jacobianclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittransform, transformpublic SIP(nom.tam.fits.Header h)
public SIP(double[][] distortx,
double[][] distorty,
double[][] undistortx,
double[][] undistorty)
public 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(String[] args)