Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://www.naic.edu/~phil/aosoft/unpriV.html
Дата изменения: Fri Sep 23 00:06:20 2011 Дата индексирования: Tue Oct 2 05:03:09 2012 Кодировка: Поисковые слова: movie |
unpriV is a program to unpack a single channel of RADAR INTERFACE (RI) binary data to the specified output format type. The input is taken from the standard input (pipe or disc file). The header portion of each record should have been removed (see stripVme(1L)).
The radar interface has 2 channels of 2 digitizers each. The
digitizers can pack the data to 1,2,4,8, or 12 bits.
You specify the number of bits the data has been packed to with the
-b
option.
The -i option specifies how many channels were recorded in the input
file (default 1).
If two channels were recorded than the -f option specifies which
channel to output (1 or 2).
A single digitizer of a channel can be output using
-d i or q (i and q are the two digitizers in a single
channel).
The -t type option specifies the data type for the output (the
default is integer*4).
Let In be the n'th sample from the I digitizer and Qn be the n'th sample from the Q digitizer. For 4 bit packing the input would look like: Q4Q3Q2Q1I4I3I2I1 and the output would be: I1,Q1,I2,Q2,I3,Q3,I4,Q4.....
Unpack 1 file from a data tape. Assume it is 4 bit packed data and has one set of I,Q samplers. The output order will be : I1,Q1,I2,Q2,I3,Q3.... Output the data to junk.out.
Unpack 1 file from disc. Assume it is two bit data with one set of I,Q samplers. Only keep the I digitizer data. Write the data to junk.out. make the output data real*4. The output order will be: I1,I2,I3,I4....
Unpack 1 file from tape. Assume it is 8 bit data and has 2 channels of I,Q digtizers (QA1,IA1,QB1,IB1). Keep channel A. The input order is QA2QA1IA2IA1,QB2QB1IB2IB1,.... The output order will be: IA1,QA1,IA2,QA2,... Write the output to junk.out.
stripVme(1L)
You must tell the program the correct bit packing, number of channels, etc.. If not, you get basura.