-
FA-FZ = LITERAL (Read)
-
These parameters supply the values of "sub-expressions" used in
the expressions XFOR, YFOR, XINV and YINV. These parameters
should be used when repeated expressions are present in complex
transformations. Sub-expressions may contain references to
other sub-expressions and the variables (PA-PZ).
An example of using sub-expressions is:
XFOR > PA*ASIND(FA/PA)*X/FA
YFOR > PA*ASIND(FA/PA)*Y/FA
XINV > PA*SIND(FB/PA)*XX/FB
YINV > PA*SIND(FB/PA)*YY/FB
FA > SQRT(X*X+Y*Y)
FB > SQRT(XX*XX+YY*YY)
-
FITTYPE = _INTEGER (Read)
-
The type of fit which should be used when determining the
transformation between the input position lists. This may take
the values
- 1 - shift of origin
- 2 - shift of origin and rotation
- 3 - shift of origin and magnification
- 4 - shift of origin, rotation and magnification (solid
body)
- 5 - a full six parameter fit
- 6 - self defined function
If more than two position lists are provided, then only the
values 1-5 may be used.
[5]
-
FULL = _LOGICAL (Read)
-
If FITTYPE=6 is chosen then this parameter value determines
if a full transformation is to be performed or not. If FALSE
then you will only be prompted for expressions for XFOR and
YFOR and the inverse transformation will remain undefined.
If TRUE then you will also be prompted for XINV and YINV in
response to which the inverse mappings for X' and Y' are
required. Not performing a full fit will affect the later
uses of the transformation. At present not providing an inverse
mapping means that image resampling (TRANNDF) may not be
performed.
[FALSE]
-
IN = LITERAL (Read)
-
If NDFNAMES is FALSE and PLACEIN is "EACH" then a list of image
names in which to store the WCS frames is required. This
list of names must correspond exactly to the order of the
associated input lists. A listing of the order of inputs is
shown before this parameter is accessed.
The image names may (although this is probably not advisable)
be specified using wildcards, or may be specified using an
indirection file (the indirection character is "
").
-
INLIST = LITERAL (Read)
-
This parameter is used to access the names of the lists
which contain the positions and, if NDFNAMES is TRUE, the names
of the associated images. If NDFNAMES is TRUE the names of the
position lists are assumed to be stored in the extension of the
images (in the CCDPACK extension item CURRENT_LIST) and the names
of the images themselves should be given (and may include
wildcards).
If NDFNAMES is FALSE then the actual names of the position
lists should be given. These may not use wildcards but may be
specified using indirection (other CCDPACK position list
processing routines will write the names of their results
files into files suitable for use in this manner) the
indirection character is "
".
-
LOGFILE = FILENAME (Read)
-
Name of the CCDPACK logfile. If a null (!) value is given for
this parameter then no logfile will be written, regardless of
the value of the LOGTO parameter.
If the logging system has been initialised using CCDSETUP
then the value specified there will be used. Otherwise, the
default is "CCDPACK.LOG".
[CCDPACK.LOG]
-
LOGTO = LITERAL (Read)
-
Every CCDPACK application has the ability to log its output
for future reference as well as for display on the terminal.
This parameter controls this process, and may be set to any
unique abbreviation of the following:
- TERMINAL - Send output to the terminal only
- LOGFILE - Send output to the logfile only (see the
LOGFILE parameter)
- BOTH - Send output to both the terminal and the
logfile
- NEITHER - Produce no output at all
If the logging system has been initialised using CCDSETUP
then the value specified there will be used. Otherwise, the
default is "BOTH".
[BOTH]
-
NDFNAMES = _LOGICAL (Read)
-
This parameter specifies whether the names of the input
position lists are stored in the CCDPACK extensions of NDFs.
If TRUE then the INLIST parameter accesses a list of images
which are used to get the associated position lists. If FALSE
then INLIST just accesses the position list names directly.
If the names of the lists are stored in the CCDPACK NDF
extension then the new coordinate system is attached to
the associated image.
If a global value for this parameter has been set using
CCDSETUP then that value will be used.
[TRUE]
-
OUTDOMAIN = LITERAL (Read)
-
The transformation information is written as a new coordinate
system attached to the image. This parameter gives the label
(domain) of the new coordinate system. When the new
coordinate system is added, any previously existing one with
the same Domain will be removed.
If PLACEIN is "SINGLE", then the new coordinate systems are all
attached to a single image. In this case the domains are
OUTDOMAIN_1, OUTDOMAIN_2, ....
The name is converted to upper case, and whitespace is removed.
[CCD_REG]
-
PA-PZ = LITERAL (Read)
-
When FITTYPE=6 these parameters are used for supplying initial
guesses at the values of the fit parameters. Normally the
values of these parameters are not critical, but occasionally
the minimization routine fails due to numeric problems (these
are usually caused by trig functions etc. which are given
invalid values (outside +/-1 etc.)).
[1.0D0]
-
PLACEIN = LITERAL (Read)
-
If NDFNAMES is FALSE then this parameter specifies where
you would like to store the final transformation structures.
The options are:
- EACH - attach them one per image in a set of images
- SINGLE - attach them all to a single image
If the EACH option is chosen then you will have the option of
supplying the image names via the parameter IN. If the SINGLE
option is chosen then the name of an image should be
given in response to the WCSFILE parameter; if no NDF by this
name exists, a new dummy one will be created.
[EACH]
-
REFPOS = _INTEGER (Read)
-
The position within the list of inputs which corresponds to
the list to be used as the reference set.
[1]
-
SIMPFI = _LOGICAL (Read)
-
If FITTYPE=6 and FULL=TRUE, this gives the value of the
mapping's SimpFI attribute (whether it is legitimate to simplify
the forward followed by the inverse transformation to a unit
transformation).
[TRUE]
-
SIMPIF = _LOGICAL (Read)
-
If FITTYPE=6 and FULL=TRUE this gives the value of the
mapping's SimpIF attribute (whether it is legitimate to simplify
the inverse followed by the forward transformation to a unit
transformation).
[TRUE]
-
TOLER = _DOUBLE (Read)
-
The RMS tolerance in positions which is used to determine the
best fit. Adjust this value only if the input positions are
specified in coordinates with a higher accuracy or smaller
units.
[0.001]
-
USESET = _LOGICAL (Read)
-
This parameter determines whether Set header information should
be used in the registration. If USESET is true, then
REGISTER will try to group position lists according to
the Set Name attribute of the images to which they are attached.
All lists coming from images which share the same (non-blank)
Set Name attribute, and which have a CCD_SET coordinate
frame in their WCS component, will be grouped together and
treated by the program as a single position list. Images
which have no associated position list but are in the same
Set as ones which are successfully registered will have
a suitable registration frame added too, based on their
Set alignment relation to the registered Set member.
Thus the assumption is made that the relative alignment of
images within a Set is already known and has been fixed.
If USESET is false, all Set header information is ignored.
If NDFNAMES is false, USESET will be ignored. If the input
images have no Set headers, or if they have no CCD_SET frame
in their WCS components, the setting of USESET will make
no difference.
If a global value for this parameter has been set using
CCDSETUP then that value will be used.
[FALSE]
-
USEWCS = _LOGICAL (Read)
-
This parameter specifies whether the coordinates in the
position lists should be transformed from Pixel coordinates
into the Current coordinate system of the associated image
before use. It should normally be set TRUE, in which case
the transformation type set by the FITTYPE parameter is the
type which will be fit between the Current coordinate systems
of the NDFs. Otherwise the fit will be between the positions
in pixel coordinates.
This parameter is ignored if NDFNAMES is not TRUE.
[TRUE]
-
WCSFILE = NDF (Read)
-
If PLACEIN is "SINGLE" then the value of this parameter gives the
the name of an image which will have the new coordinate systems
attached to it. They will be added with domains given by the
OUTDOMAIN parameter with '_1', '_2', ... appended. If the image
named by this parameter does not exist, a dummy one will be
created.
-
XFOR = LITERAL (Read)
-
If FITTYPE=6 then this parameter specifies the parameterised
algebraic expression to be used as the forward X
transformation. The expression may use all the functions
specified in SUN/61 (TRANSFORM) as well as the usual
mathematical operators (+,-,*,/,**). Functions are
parameterised by the strings PA,PB,PC...PZ which are the
values which will be determined. The string must contain at
least one reference to either X or Y. So a possible return is:
PA+PB*X
which is the same as the linear X transformation which just
applies an offset and a scale factor.
-
XINV = LITERAL (Read)
-
If FITTYPE=6 and FULL=TRUE then this parameter specifies
the inverse X transformation. The expression may use all the
functions specified in SUN/61 (TRANSFORM) as well as the usual
mathematical operations (+,-,*,/,**). Functions are
parameterised by the strings PA,PB,PC...PZ which are the
values which will be determined. This expression must contain
a reference to either XX or YY. So a possible return is:
(XX-PA)/PB
which is the same as the inverse linear X transformation for an
offset and scale.
-
YFOR = LITERAL (Read)
-
If FITTYPE=6 then this parameter specifies the parameterised
algebraic expression to be used as the forward Y
transformation. The expression may use all the functions
specified in SUN/61 (TRANSFORM) as well as the usual
mathematical operators (+,-,*,/,**). Functions are
parameterised by the strings PA,PB,PC...PZ which are the
values which will be determined. The string must contain at
least one reference to either X or Y. So a possible return is:
PC+PD*Y
which is the same as the linear Y transformation which just
applies an offset and a scale factor.
-
YINV = LITERAL (Read)
-
If FITTYPE=6 and FULL=TRUE then this parameter specifies
the inverse Y transformation. The expression may use all the
functions specified in SUN/61 (TRANSFORM) as well as the usual
mathematical operations (+,-,*,/,**). Functions are
parameterised by the strings PA,PB,PC...PZ which are the
values which will be determined. This expression must contain
a reference to either XX or YY. So a possible return is:
(YY-PC)/PD
which is the same as the inverse linear Y transformation for an
offset and scale.