Changeset 5735 for trunk/psModules/src/objects
- Timestamp:
- Dec 7, 2005, 11:36:05 AM (20 years ago)
- Location:
- trunk/psModules/src/objects
- Files:
-
- 2 edited
-
pmObjects.c (modified) (7 diffs)
-
pmPSF.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/objects/pmObjects.c
r5435 r5735 6 6 * @author EAM, IfA: significant modifications. 7 7 * 8 * @version $Revision: 1. 3$ $Name: not supported by cvs2svn $9 * @date $Date: 2005-1 0-20 23:06:24$8 * @version $Revision: 1.4 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2005-12-07 21:35:35 $ 10 10 * 11 11 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 1107 1107 bool big = (sigX > (clump.X - clump.dX)) && (sigY > (clump.Y - clump.dY)); 1108 1108 if ((Nsatpix > 1) && big) { 1109 tmpSrc->type |= PM_SOURCE_SATSTAR;1109 tmpSrc->type = PM_SOURCE_SATSTAR; 1110 1110 Nsatstar ++; 1111 1111 continue; … … 1114 1114 // saturated object (not a star, eg bleed trails, hot pixels) 1115 1115 if (Nsatpix > 1) { 1116 tmpSrc->type |= PM_SOURCE_SATURATED;1116 tmpSrc->type = PM_SOURCE_SATURATED; 1117 1117 Nsat ++; 1118 1118 continue; … … 1123 1123 // only set candidate defects if 1124 1124 if ((sigX < 0.05) || (sigY < 0.05)) { 1125 tmpSrc->type |= PM_SOURCE_DEFECT;1125 tmpSrc->type = PM_SOURCE_DEFECT; 1126 1126 Ncr ++; 1127 1127 continue; … … 1130 1130 // likely unsaturated galaxy (too large to be stellar) 1131 1131 if ((sigX > (clump.X + 3*clump.dX)) || (sigY > (clump.Y + 3*clump.dY))) { 1132 tmpSrc->type |= PM_SOURCE_GALAXY;1132 tmpSrc->type = PM_SOURCE_GALAXY; 1133 1133 Ngal ++; 1134 1134 continue; … … 1143 1143 psF32 radius = hypot ((sigX-clump.X)/clump.dX, (sigY-clump.Y)/clump.dY); 1144 1144 if ((SN > PSF_SN_LIM) && (radius < 1.5)) { 1145 tmpSrc->type |= PM_SOURCE_PSFSTAR;1145 tmpSrc->type = PM_SOURCE_PSFSTAR; 1146 1146 Npsf ++; 1147 1147 continue; … … 1149 1149 1150 1150 // random type of star 1151 tmpSrc->type |= PM_SOURCE_OTHER;1151 tmpSrc->type = PM_SOURCE_OTHER; 1152 1152 } 1153 1153 -
trunk/psModules/src/objects/pmPSF.c
r5255 r5735 6 6 * @author EAM, IfA 7 7 * 8 * @version $Revision: 1. 1$ $Name: not supported by cvs2svn $9 * @date $Date: 2005-1 0-10 19:53:40$8 * @version $Revision: 1.2 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2005-12-07 21:35:35 $ 10 10 * 11 11 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 94 94 for (int i = 0; i < psf->params->n; i++) { 95 95 // XXX EAM : make this a user-defined value? 96 // XXX EAM : future version (0.7.0?) psf->params->data[i] = psPolynomial2DAlloc(PS_POLYNOMIAL_ORD, 1, 1); 97 psf->params->data[i] = psPolynomial2DAlloc(PS_POLYNOMIAL_ORD, 1, 1); 96 psf->params->data[i] = psPolynomial2DAlloc(1, 1, PS_POLYNOMIAL_ORD); 98 97 } 99 98
Note:
See TracChangeset
for help on using the changeset viewer.
