integ

NAME

integ - integrate profiles into one

SYNOPSIS

integ [ -scn default_name ] [ -weighted | -uniform | -rms ]

DESCRIPTION

The command integrates several profiles stored in .scn files. The input .scn files are assigned in .sdb flow. Only profiles with "good" flags are processed.

According to definition of sdb flow a line with a character "!" at the first column is "sdb command", and a line with "#" at the first column is "sdb comment".
The command integrates all "good" profiles between two "!integ" command lines; each scn block separated by "!integ" command line is integrated separately. Additional "!integ" command lines are assumed at just before the first "scn" and just before the last line, even if either is not there. The last line of sdb flow must be "!end" command.

The command simply integrates all profiles channel by channel. In some cases this gives physically meaningless profile. To adjust this, you should apply smooth command.
If loaded profile is not the same velocity-channel relation and/or position on sky as the first one, the command shows warnig massages in the command shell window. But the integration is done.

FILTER TYPE

.sdb | integ | .scn

OPTIONS

-scn default_name
-weighted | -uniform | -rms
Weight for each profile data. With "-weighted" the command integrates the profiles using the weight value stored in each profile data. With "-uniform" the command integrates all profile data with equal weighting. With "-rms" the command integrates the profiles using the rms stored in each profile data, acutally 1/(rms*rms) weighting.

DEFAULTS

-scn default -weighted -prm integ.prm

SEE ALSO

sdbflag, scnflag, sdbselect, smooth, .sdb, .scn

BUGS

HISTORY

ver.1.00
1992/12/10 T.Handa
ver.3.00
1998/1/5 T.Handa
ver.3.20
1998/4.10 T.Handa
ver.3.40
2002/5/8 T.Handa (!integ, !end command support)

MANUAL VERSION

2002/5/8 T.Handa