Changeset 9730 for trunk/psModules/src/objects/pmPSFtry.c
- Timestamp:
- Oct 24, 2006, 12:55:05 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/objects/pmPSFtry.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/objects/pmPSFtry.c
r9594 r9730 5 5 * @author EAM, IfA 6 6 * 7 * @version $Revision: 1.2 0$ $Name: not supported by cvs2svn $8 * @date $Date: 2006-10- 17 02:21:03$7 * @version $Revision: 1.21 $ $Name: not supported by cvs2svn $ 8 * @date $Date: 2006-10-24 22:55:05 $ 9 9 * 10 10 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 71 71 test->fitMag = psVectorAlloc (sources->n, PS_TYPE_F64); 72 72 test->mask = psVectorAlloc (sources->n, PS_TYPE_U8); 73 test->metric->n = test->fitMag->n = test->mask->n = sources->n;74 test->modelEXT->n = test->modelPSF->n = sources->n;75 73 76 74 for (int i = 0; i < test->modelEXT->n; i++) { … … 196 194 psVector *chisq = psVectorAlloc (psfTry->sources->n, PS_TYPE_F64); 197 195 psVector *mask = psVectorAlloc (psfTry->sources->n, PS_TYPE_MASK); 198 flux->n = mask->n = chisq->n = psfTry->sources->n;199 196 200 197 // write sources with models first … … 256 253 // r2rflux = radius^2 * ten(0.4*fitMag); 257 254 psVector *r2rflux = psVectorAlloc (psfTry->sources->n, PS_TYPE_F64); 258 r2rflux->n = psfTry->sources->n;259 255 260 256 for (int i = 0; i < psfTry->sources->n; i++) {
Note:
See TracChangeset
for help on using the changeset viewer.
