\se
SECTION./DAOPHOT
\es\co
MIDDAO/DAOPHOT                                                21-JUL-2004 KB
\oc\su
MIDDAO/DAOPHOT table  
	convert a MIDAS table into a DAOPHOT table
\us\pu  
Purpose:      
            Convert x-, y-pixel columns of a MIDAS table into DAOPHOT table
\up\sy
Syntax:       
            MIDDAO/DAOP table 
\ys\pa 
            table = Midas table containing x-,y-coord columns as
		    frame pixels or world coords, labelled 
                    :X_COORDPIX, :Y_COORDPIX or :X_COORD, :Y_COORD
\ap\no
Note:         
            DAOPHOT table is created with same name and .coo as file type.

            DAOPHOT uses pixel coordinates. So, if the MIDAS table contains
            world coords in :X_COORD, :Y_COORD, the start and step values are
	    needed for the conversion world coords -> frame pixels 
	    (assuming a linear world coord system).

            In that case two start and two step values must be written into
	    a double precision keyword TRANSF, before issueing the command
	    DAOMID/DAOP or MIDDAO/DAOP. Unless altered by the user, 
	    these keyword values will not normally change in a session.
            E.g.    WRITE/KEYW TRANSF/D/1/4 3.0,4.0,1.0,1.0 
	            for x,ystart = 3.0,4.0 and x,ystep = 1.0,1.0
\on\exs 
Examples:
\ex                                                                            
            MIDDAO/DAOP qq
              Use Midas table `qq.tbl' and create a DAOPHOT table `qq.coo'. 
\xe \sxe                                                                        
