4
MIDDAO/DAOPHOT 21-JUL-2004 KB
7
convert a MIDAS table into a DAOPHOT table
10
Convert x-, y-pixel columns of a MIDAS table into DAOPHOT table
15
table = Midas table containing x-,y-coord columns as
16
frame pixels or world coords, labelled
17
:X_COORDPIX, :Y_COORDPIX or :X_COORD, :Y_COORD
20
DAOPHOT table is created with same name and .coo as file type.
22
DAOPHOT uses pixel coordinates. So, if the MIDAS table contains
23
world coords in :X_COORD, :Y_COORD, the start and step values are
24
needed for the conversion world coords -> frame pixels
25
(assuming a linear world coord system).
27
In that case two start and two step values must be written into
28
a double precision keyword TRANSF, before issueing the command
29
DAOMID/DAOP or MIDDAO/DAOP. Unless altered by the user,
30
these keyword values will not normally change in a session.
31
E.g. WRITE/KEYW TRANSF/D/1/4 3.0,4.0,1.0,1.0
32
for x,ystart = 3.0,4.0 and x,ystep = 1.0,1.0
37
Use Midas table `qq.tbl' and create a DAOPHOT table `qq.coo'.