Changeset 21212
- Timestamp:
- Jan 28, 2009, 2:48:33 PM (17 years ago)
- Location:
- branches/pap_branch_20090128/psModules/src/objects
- Files:
-
- 4 edited
-
pmResiduals.c (modified) (4 diffs)
-
pmResiduals.h (modified) (4 diffs)
-
pmSourceExtendedPars.c (modified) (3 diffs)
-
pmSourceExtendedPars.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/pap_branch_20090128/psModules/src/objects/pmResiduals.c
r21183 r21212 4 4 * 5 5 * @author EAM, IfA 6 * @version $Revision: 1.4 $ $Name: not supported by cvs2svn $7 * @date $Date: 2009-01-2 7 06:39:38$6 * @version $Revision: 1.4.2.1 $ $Name: not supported by cvs2svn $ 7 * @date $Date: 2009-01-29 00:48:33 $ 8 8 * Copyright 2004 IfA, University of Hawaii 9 9 */ … … 23 23 psFree (resid->Rx); 24 24 psFree (resid->Ry); 25 psFree (resid-> weight);25 psFree (resid->variance); 26 26 psFree (resid->mask); 27 27 return; … … 42 42 resid->Rx = psImageAlloc (nX, nY, PS_TYPE_F32); 43 43 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); 45 45 resid->mask = psImageAlloc (nX, nY, PM_TYPE_RESID_MASK); 46 46 … … 49 49 resid->xBin = xBin; 50 50 resid->yBin = yBin; 51 resid->xCenter = 0.5*(nX - 1); 51 resid->xCenter = 0.5*(nX - 1); 52 52 resid->yCenter = 0.5*(nY - 1); 53 53 return resid; -
branches/pap_branch_20090128/psModules/src/objects/pmResiduals.h
r21183 r21212 4 4 * 5 5 * @author EAM, IfA 6 * @version $Revision: 1.4 $ $Name: not supported by cvs2svn $7 * @date $Date: 2009-01-2 7 06:39:38$6 * @version $Revision: 1.4.2.1 $ $Name: not supported by cvs2svn $ 7 * @date $Date: 2009-01-29 00:48:33 $ 8 8 * Copyright 2004 IfA, University of Hawaii 9 9 */ … … 14 14 /// @{ 15 15 16 /** residual tables for sources 16 /** residual tables for sources 17 17 */ 18 18 typedef struct { … … 20 20 psImage *Rx; 21 21 psImage *Ry; 22 psImage * weight;22 psImage *variance; 23 23 psImage *mask; 24 24 int xBin; … … 31 31 bool psMemCheckResiduals(psPtr ptr); 32 32 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 34 34 #define PM_TYPE_RESID_MASK PS_TYPE_U8 /**< the psElemType to use for mask image */ 35 35 #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 6 6 * @author EAM, IfA: significant modifications. 7 7 * 8 * @version $Revision: 1.4 $ $Name: not supported by cvs2svn $9 * @date $Date: 200 8-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 $ 10 10 * 11 11 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 71 71 psFree(profile->radius); 72 72 psFree(profile->flux); 73 psFree(profile-> weight);73 psFree(profile->variance); 74 74 return; 75 75 } … … 82 82 profile->radius = NULL; 83 83 profile->flux = NULL; 84 profile-> weight= NULL;84 profile->variance = NULL; 85 85 86 86 return profile; -
branches/pap_branch_20090128/psModules/src/objects/pmSourceExtendedPars.h
r15980 r21212 3 3 * @author EAM, IfA 4 4 * 5 * @version $Revision: 1.3 $ $Name: not supported by cvs2svn $6 * @date $Date: 200 8-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 $ 7 7 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii 8 8 */ … … 17 17 psVector *radius; 18 18 psVector *flux; 19 psVector * weight;19 psVector *variance; 20 20 } pmSourceRadialProfile; 21 21
Note:
See TracChangeset
for help on using the changeset viewer.
