Документ взят из кэша поисковой машины. Адрес оригинального документа : http://hea-www.harvard.edu/PROS/PUG/node50.html
Дата изменения: Unknown
Дата индексирования: Mon Oct 1 23:11:04 2012
Кодировка:

Поисковые слова: arp 220
*qpshift* -- Shift qp file by an offset in x and y next up previous contents
Next: *qprotate* Rotate Up: QPOE Utilities Previous: *qpsort* Sort

   
*qpshift* -- Shift qp file by an offset in x and y

Transform a qpoe file according to the specified parameters. Position X1,Y1 is changed to:


X2 = X1 + Xshift
Y2 = Y1 + Yshift

where Xshift, Yshift is the amount of shift in pixels.

Any type of filtering can be applied to the input qpoe file, including region filtering. In addition, the size of the output event record can be different from the size of the input event record. (Of course, usually one makes the output record equal to or smaller than the input. If the output record size is made greater than the input record, a warning is issued and the ``extra'' part of the record is undefined.) The following will shift the x-axis by 3.2 pixels and the y-axis by -1.65 pixels, making the resulting qpoe file of small size:

  cl> qpshift xdata$rp110590.qp rp_shift.qp 3.2 -1.65 eventdef=``small''

The output qp file is generated with the same dimensions as the input, even when a region is applied. If no region is used, the translation may result in the loss of part of the image and a list of discarded events will appear. Note that QPEX warnings can be safely ignored.


next up previous contents
Next: *qprotate* Rotate Up: QPOE Utilities Previous: *qpsort* Sort
rsdc@cfa.harvard.edu
1998-06-10