astro
Class WcsProjection.VariablePixelProjection
java.lang.Object
util.PropertyContainer
util.PropertyResources
util.PropertyBundles
astro.WcsProjection
astro.WcsProjection.LinearPixelProjection
astro.WcsProjection.VariablePixelProjection
- All Implemented Interfaces:
- Cloneable, Initializable, LocalizedSupplying, PropertySupplying, ResourceSupplying, VectorFunction
- Enclosing class:
- WcsProjection
public static class WcsProjection.VariablePixelProjection
- extends WcsProjection.LinearPixelProjection
It turned out, that the quality of the WCS solution is highly dependant
on the correct position of the native pole, rj. This class solves also
for this parameters. It should be done probably only once, then these
values should be frozen.
|
Method Summary |
VectorG |
estimateParameters(nom.tam.fits.Header h)
We refer to the parental parsing methods, but sneak in on the
returned parameters, adding the center of projection at the end
of the list. |
VectorG |
estimateParameterScales(VectorG start)
The parameter scales are wrong, we have a translatory matrix and
a rotation. |
VectorG |
getParameters()
We query the cij from the parent and add the projection center at
the end |
void |
setParameters(VectorG vv)
The first four parameters are the cij, then we have the
projection center. |
| Methods inherited from class util.PropertyResources |
createFrom, createFrom, createFrom, getApplet, getAsResources, getLocalClassLoader, getPropertiesToKey, getPropertiesToKey, getResource, getResourceAsStream, getResourceFromKey, getResources, init, keyCreate, keyCreate, reload, setApplet |
| Methods inherited from class util.PropertyContainer |
augment, augment, augment, defaultBoolean, defaultChar, defaultDouble, defaultFloat, defaultInt, defaultLong, defaultObject, defaultObject, defaultProperties, defaultProperty, getAsBoolean, getAsChar, getAsDouble, getAsEnums, getAsFloat, getAsInt, getAsList, getAsLong, getAsMap, getAsMap, getAsObject, getAsObject, getProperties, getProperty, has, isNew, parseObject, reload, removeProperty, rescanned, setObject, setProperties, setProperty, stringProperties, toString |
| Methods inherited from interface util.PropertySupplying |
defaultBoolean, defaultChar, defaultDouble, defaultFloat, defaultInt, defaultLong, defaultObject, defaultObject, defaultProperties, defaultProperty, getAsBoolean, getAsChar, getAsDouble, getAsFloat, getAsInt, getAsList, getAsLong, getAsMap, getAsObject, getAsObject, getProperties, getProperty, has, parseObject, removeProperty, setObject, setProperty, stringProperties |
WcsProjection.VariablePixelProjection
public WcsProjection.VariablePixelProjection()
- We only allow full variations in the transformation matrix.
WcsProjection.VariablePixelProjection
public WcsProjection.VariablePixelProjection(Map<String,String> u2f)
- We only allow full variations in the transformation matrix.
setParameters
public void setParameters(VectorG vv)
- The first four parameters are the cij, then we have the
projection center. This is set in the parent as rj
- Overrides:
setParameters in class WcsProjection.LinearPixelProjection
getParameters
public VectorG getParameters()
- We query the cij from the parent and add the projection center at
the end
- Overrides:
getParameters in class WcsProjection.LinearPixelProjection
estimateParameters
public VectorG estimateParameters(nom.tam.fits.Header h)
throws nom.tam.fits.HeaderCardException
- We refer to the parental parsing methods, but sneak in on the
returned parameters, adding the center of projection at the end
of the list.
- Overrides:
estimateParameters in class WcsProjection.LinearPixelProjection
- Throws:
nom.tam.fits.HeaderCardException
estimateParameterScales
public VectorG estimateParameterScales(VectorG start)
- The parameter scales are wrong, we have a translatory matrix and
a rotation.
- Overrides:
estimateParameterScales in class WcsProjection