NAME

azencdif - plot daily average of az encoder differences

SYNTAX

azencdif -h -d yymmdd -n ndays -v v1,v2 -p -q

ARGS

ArgValueDescription
-hprint this messages
-dyymmddoutput starting at this date. def:(current day)
-nndaysnumber of days to output. default:1.
if n<0 then start at ndays-1 days before yymmdd
-vv1,v2vertical scale for degree plot. def:-.06,.06deg
-pIf set then generate a .pdf file
filename: azencdif.pdf
-qrun quietly. By default it lists the days as they are input
 

DESCRIPTION

Output the daily average of the azimuth encoder difference for the specified days. The daily average is computed for each deg of azimuth and then plotted vs azimuth. The top frame plots the difference in degrees. The bottom frame plots the difference in encoder units. The default vertical scaling is -.06,.06. It can be changed with the -v option : -v v1,v2 where v1,v2 are in degrees (make sure you leave no spaces in v1,v2). The bottom plot is scaled to the same range in encoder counts.

Only points when the azimuth is in motion are used in the daily average. If multiple days are requested then each day is overplotted in a different color. Red lines +/- .01 degrees from the oct19 average values are also plotted

If an encoder jumps by one tooth, you should see a .02 degree offset of the average values on the following days.

The output is sent to the screen by default. If the -p option is provided, then the output is sent to the file azencdif.pdf in the current directory

By default the routine will output the current day. The user can specify a different start date using -d yymmdd. The number of days plotted can be controled by -n ndays. If ndays is less than 0, then it will output the n-1 previous days (1 and -1 are always the current day)

Warning: it takes awhile to input the vertex data. You probably want to keep the number of days to say < 50

RELATED PROGRAMS

EXAMPLES

output the current day
azencdif

output 01nov19 to 10nov19
azencdif -d 191101 -n 10

output today and the 2 previous days
azencdif -n -3

FILES

svn/aosoft/common/bin/azencdif
svn/aosoft/common/etc/azencdif.idl
svn/idl/agc/agcazencdifinpavg.pro, agcazencdifplot.pro

ARCHITECTURES

    azencdif runs on any machine with access to bash and idl (and phil's idl libs)

SEE ALSO

NOTES

return to: filter_programs
return to: home_~phil