STScI Logo

rinterx stsdas.hst_calib.foc.focgeom


NAME · USAGE · DESCRIPTION · PARAMETERS · EXAMPLES · BUGS · REFERENCES
SEE_ALSO

NAME

rinterx -- Perform linear interpolation between reseau grids.

USAGE

rinterx input1 entry1 input2 entry2 output outentry mag1 mag2

DESCRIPTION

This task creates an output reseau grid which is the weighted mean of two input grids. Entries in the output reseau grid will contain values produced by the following equation:

      outentry = mag1*entry1 + mag2*entry2 + shift

The same file name can be passed to any two, or all, of the parameters input1, input2, or output. Grid sizes must match.

PARAMETERS

input[file name]
Name of the first input reseau file.
entry[string]
Name of entry to be processed from input1. If entry = "*", only the first entry in the file will be processed.
input[file name]
Name of the second input reseau file.
entry[string]
Name of the entry in input2 that is to be processed.
output [file name]
File name for the output produced by rinterx.
outentry [string]
Entry name in which the weighted mean values will be stored. If outentry is null, the entry name from entry1 will be used.
mag= 0.5 [real]
Multiplier for entry1.
mag= 0.5 [real]
Multiplier for entry2.
(shift= 0.) [real]
X coordinate shift in output.
(shift= 0.) [real]
Y coordinate shift in output.

EXAMPLES

1. Perform a linear interpolation between entry "dist" in the reseau tables "res1.tab" and "res2.tab". Put the weighted mean values in a reseau file called "avgres.tab".


	fo> rinterx res1.tab dist res2.tab dist avgres.tab dist 0.5 0.5

BUGS

REFERENCES

This task was written by David Giaretta.

SEE ALSO

Type "help focgeom option=sys" for a higher-level description of the focgeom package.

Type "help reseau" for a description of reseau files.


Source Code · Package Help · Search Form · STSDAS