IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 21212


Ignore:
Timestamp:
Jan 28, 2009, 2:48:33 PM (17 years ago)
Author:
Paul Price
Message:

Found some more bits that should be 'variance' instead of 'weight'. Not completely necessary, but will help in understanding.

Location:
branches/pap_branch_20090128/psModules/src/objects
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/pap_branch_20090128/psModules/src/objects/pmResiduals.c

    r21183 r21212  
    44 *
    55 * @author EAM, IfA
    6  * @version $Revision: 1.4 $ $Name: not supported by cvs2svn $
    7  * @date $Date: 2009-01-27 06:39:38 $
     6 * @version $Revision: 1.4.2.1 $ $Name: not supported by cvs2svn $
     7 * @date $Date: 2009-01-29 00:48:33 $
    88 * Copyright 2004 IfA, University of Hawaii
    99 */
     
    2323    psFree (resid->Rx);
    2424    psFree (resid->Ry);
    25     psFree (resid->weight);
     25    psFree (resid->variance);
    2626    psFree (resid->mask);
    2727    return;
     
    4242    resid->Rx  = psImageAlloc (nX, nY, PS_TYPE_F32);
    4343    resid->Ry  = psImageAlloc (nX, nY, PS_TYPE_F32);
    44     resid->weight = psImageAlloc (nX, nY, PS_TYPE_F32);
     44    resid->variance = psImageAlloc (nX, nY, PS_TYPE_F32);
    4545    resid->mask   = psImageAlloc (nX, nY, PM_TYPE_RESID_MASK);
    4646
     
    4949    resid->xBin = xBin;
    5050    resid->yBin = yBin;
    51     resid->xCenter = 0.5*(nX - 1); 
     51    resid->xCenter = 0.5*(nX - 1);
    5252    resid->yCenter = 0.5*(nY - 1);
    5353    return resid;
  • branches/pap_branch_20090128/psModules/src/objects/pmResiduals.h

    r21183 r21212  
    44 *
    55 * @author EAM, IfA
    6  * @version $Revision: 1.4 $ $Name: not supported by cvs2svn $
    7  * @date $Date: 2009-01-27 06:39:38 $
     6 * @version $Revision: 1.4.2.1 $ $Name: not supported by cvs2svn $
     7 * @date $Date: 2009-01-29 00:48:33 $
    88 * Copyright 2004 IfA, University of Hawaii
    99 */
     
    1414/// @{
    1515
    16 /** residual tables for sources 
     16/** residual tables for sources
    1717 */
    1818typedef struct {
     
    2020    psImage *Rx;
    2121    psImage *Ry;
    22     psImage *weight;
     22    psImage *variance;
    2323    psImage *mask;
    2424    int xBin;
     
    3131bool psMemCheckResiduals(psPtr ptr);
    3232
    33 // macros to abstract the resid mask type : these values must be consistent 
     33// macros to abstract the resid mask type : these values must be consistent
    3434#define PM_TYPE_RESID_MASK PS_TYPE_U8        /**< the psElemType to use for mask image */
    3535#define PM_TYPE_RESID_MASK_DATA U8           /**< the data member to use for mask image */
  • branches/pap_branch_20090128/psModules/src/objects/pmSourceExtendedPars.c

    r20937 r21212  
    66 *  @author EAM, IfA: significant modifications.
    77 *
    8  *  @version $Revision: 1.4 $ $Name: not supported by cvs2svn $
    9  *  @date $Date: 2008-12-08 02:51:14 $
     8 *  @version $Revision: 1.4.8.1 $ $Name: not supported by cvs2svn $
     9 *  @date $Date: 2009-01-29 00:48:33 $
    1010 *
    1111 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    7171    psFree(profile->radius);
    7272    psFree(profile->flux);
    73     psFree(profile->weight);
     73    psFree(profile->variance);
    7474    return;
    7575}
     
    8282    profile->radius = NULL;
    8383    profile->flux = NULL;
    84     profile->weight = NULL;
     84    profile->variance = NULL;
    8585
    8686    return profile;
  • branches/pap_branch_20090128/psModules/src/objects/pmSourceExtendedPars.h

    r15980 r21212  
    33 * @author EAM, IfA
    44 *
    5  * @version $Revision: 1.3 $ $Name: not supported by cvs2svn $
    6  * @date $Date: 2008-01-02 20:39:04 $
     5 * @version $Revision: 1.3.54.1 $ $Name: not supported by cvs2svn $
     6 * @date $Date: 2009-01-29 00:48:33 $
    77 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii
    88 */
     
    1717  psVector *radius;
    1818  psVector *flux;
    19   psVector *weight;
     19  psVector *variance;
    2020} pmSourceRadialProfile;
    2121
Note: See TracChangeset for help on using the changeset viewer.