bicubprocess/cubratio
NAME
bicubprocess - make a cub data from 2 cub data using mathematical process
SYNOPSIS
bicubprocess
[ -base_cube name ]
[ -process ratio|ratio_clip|add|sub|product|linear ]
[ -math_type ratio|ratio_clip|add|sub|product|linear ]
[ -factor value,value ]
[ -clip_level value ]
DESCRIPTION
The command makes a cub data using mathematical process you assigned.
The process is applied in pixel by pixel.
Processing type can be assigned by option keyword.
If either pixel in flow or base is dummy, then resultant pixel will
be dummy.
FILTER TYPE
.cub | bicubprocess | .cub
.cub | cubratio | .cub
OPTIONS
- -base_cube name
- The name of file in which a cub data is stored
- -process type_name | -math_type type_name
-
- ratio
- resultant pixel value is ratio of that in cub flow over
that in the base cube file.
- ratio_clip
- the same as "ratio" but process is applied only for pixel with
above a clip level.
A pixel below the clip level will give a dummy pixel.
- add
- resultant pixel value is addition of those in cub flow
and the base cube file.
- sub
- resultant pixel value is subtraction from that in cub flow
by that the base cube file.
- product
- resultant pixel value is production of those in cub flow
and the base cube file.
- linear
- resultant pixel value is linear combination of those in cub flow
and the base cube file.
- -factor value,value
- two values of scalor factors for process "linear".
The first value is for pixel in the base cube file.
The second value is for pixel in the cube flow.
The command uses the option value only when the process type is "linear".
- -clip_level value
- The cliping level for pixel in the base cube file.
The value with "rms" means that an actual clipping level is automatically
calculated using rms value in the cube header of the base cube file.
The command uses the option value only if the process type is "ratio_clip".
PARAMETERS
DEFAULTS
- -prm bicubprocess.prm
- -base_cube NO_DEFAULT_VALUE
- -process ratio_clip
- -factor 1.0,1.0
- -clip_level 3.0rms
SEE ALSO
cubload, cubsave, .cub, cubheadls
BUGS
- Two cubes must be the same dimension and griding.
The command does not check any of them.
It simply makes an output pixel by pixel.
- The base cube name is not alpplied any modification
such as environment parameter "STAR_DATA".
This is different for the command such as "cubload", extension, etc.
It should be improved soon.
HISTORY
- ver.3.00
- 2002/5/28 T.Handa
MANUAL VERSION
- 2002/6/23 T.Handa