\se SECTION./DAOPHOT \es\co DAOMID/DAOPHOT 22-JUL-2004 KB \oc\su DAOMID/DAOPHOT table convert a DAOPHOT table to a MIDAS table \us\pu Purpose: Convert DAOPHOT table of type .coo, .pk, .nst or .als to MIDAS table \up\sy Syntax: DAOMID/DAOP table \ys\pa table = ASCII input table in DAOPHOT format, with extension .coo, .pk, .nst or .als. produces xxxcoo.tbl, xxxpk.tbl, xxxnst.tbl, or xxxals.tbl as Midas output table, respectively \ap\no Note: DAOPHOT uses pixel coordinates, and the INVENTORY and MIDAS uses both world and pixel coordinates. Hence, in converting to MIDAS, the user can give start and step size values via double keyword TRANSF to convert pixel coords from DAOPHOT to world coords (assuming a linear world coord system). If keyword TRANSF does not exist, the pixel coords are kept as pixel coords (frame pixels) and stored in columns labelled :X_COORDPIX, :Y_COORDPIX of Midas table. If keyword TRANSF has been written before, e.g. via WRITE/KEY TRANSF/D/1/4 3.0,4.0,1.0,1.0 it is used and world coords are stored in columns labelled :X_COORD, :Y_COORD of Midas table. \on\exs Examples: \ex DAOMID/DAOP qq.coo Read the DAOPHOT table `qq.coo' and create a Midas table `qqcoo.tbl', depending upon the existence of keyword TRANSF, the pixel coords of DAOPHOT are stored as world coords or frame pixels in the Midas table. \xe \sxe