NAME

Headermath - Do mathematical operations on header keys


SYNOPSIS

Headermath <input.H pars >output.H


INPUT PARAMETERS

keyi- char*
      keyname
eqni- char*
      function recognizes header names and a number of
      functions, written in mathematical equation form
typei- char*
      [scalar_float] type of output
maxsize - int
      maximum size of temporary (in MB) defaults to 10 MB
verb - int
      [0] whether or not to be verbose[1]
delete_keys-int*
      [NULL] key indexes to delete
rotate-float
      [optional] rotate using (s_x,s_y,g_x,g_y,cmp_x,cmp_y) the 
      coordinates of the dataset  (degrees)


DESCRIPTION

Create new keys for a SEP3d dataset


COMMENTS

Example: To calculate cmp_x,cmp_y,azimuth key1=cmp_x eqn1=(sx+gx)/2 type1=scalar_float key2=cmp_y eqn2=(sy+gy)/2 type2=scalar_float key3=azimuth eqn3=@ATAN((gy-sy)/(gx-sx)) type3=scalar_float

Supported Functions (specified by @ at begining):

COSSINTAN
ACOSASINATAN
COSHSINHINT
EXPLOGSQRT
ABS


SEE ALSO

the Math manpage,the evaluate_expression manpage


CATEGORY

util/headers