IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 22, 2006, 2:29:31 AM (20 years ago)
Author:
rhl
Message:

[Start to] provide symbolic names for parameters

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/objects/pmSourceIO_SX.c

    r8815 r8882  
    33 *  @author EAM, IfA
    44 *
    5  *  @version $Revision: 1.4 $ $Name: not supported by cvs2svn $
    6  *  @date $Date: 2006-09-15 09:49:01 $
     5 *  @version $Revision: 1.5 $ $Name: not supported by cvs2svn $
     6 *  @date $Date: 2006-09-22 12:24:38 $
    77 *
    88 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    6060        // pmSourceSextractType (source, &type, &flags);
    6161
    62         shape.sx  = PAR[4];
    63         shape.sy  = PAR[5];
    64         shape.sxy = PAR[6];
     62        shape.sx  = PAR[PM_PAR_SXX];
     63        shape.sy  = PAR[PM_PAR_SYY];
     64        shape.sxy = PAR[PM_PAR_SXY];
    6565        axes = psEllipseShapeToAxes (shape);
    6666
    6767        psLineInit (line);
    6868        psLineAdd (line, "%5.2f",  0.0); // should be type
    69         psLineAdd (line, "%11.3f", PAR[2]);
    70         psLineAdd (line, "%11.3f", PAR[3]);
     69        psLineAdd (line, "%11.3f", PAR[PM_PAR_XPOS]);
     70        psLineAdd (line, "%11.3f", PAR[PM_PAR_YPOS]);
    7171        psLineAdd (line, "%9.4f",  source->psfMag);
    7272        psLineAdd (line, "%9.4f",  source->errMag);
    73         psLineAdd (line, "%13.4f", PAR[0]);
     73        psLineAdd (line, "%13.4f", PAR[PM_PAR_SKY]);
    7474        psLineAdd (line, "%9.2f",  axes.major);
    7575        psLineAdd (line, "%9.2f",  axes.minor);
Note: See TracChangeset for help on using the changeset viewer.