Arg | Value | Description |
-h | print this messages | |
-d | yymmdd | output starting at this date. def:(current day) |
-n | ndays | number of days to output. default:1. if n<0 then start at ndays-1 days before yymmdd |
-v | v1,v2 | vertical scale for degree plot. def:-.06,.06deg |
-p | If set then generate a .pdf file filename: azencdif.pdf | |
-q | run quietly. By default it lists the days as they are input |
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
output the current day
azencdif
output 01nov19 to 10nov19
azencdif -d 191101 -n 10
output today and the 2 previous days
azencdif -n -3
return to: filter_programs return to: home_~phil