Changeset 31381
- Timestamp:
- Apr 25, 2011, 5:26:32 PM (15 years ago)
- Location:
- branches/eam_branches/ipp-20110404/psphot/src
- Files:
-
- 3 edited
-
psphotEfficiency.c (modified) (1 diff)
-
psphotFitSourcesLinear.c (modified) (1 diff)
-
psphotMagnitudes.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20110404/psphot/src/psphotEfficiency.c
r31362 r31381 400 400 source->type = PM_SOURCE_TYPE_STAR; 401 401 402 source->modelPSF->fitRadius = sourceRadius; 403 source->apRadius = sourceRadius; 404 402 405 numFound++; 403 406 psArrayAdd(sources, sources->n, source); -
branches/eam_branches/ipp-20110404/psphot/src/psphotFitSourcesLinear.c
r31313 r31381 267 267 } 268 268 } 269 270 # if (0) 271 static int npass = 0; 272 char name[128]; 273 FILE *f1 = NULL; 274 int fd = -1; 275 276 snprintf (name, 128, "sparse.Aij.%02d.dat", npass); 277 f1 = fopen (name, "w"); 278 psAssert (f1, "failed to open file\n"); 279 fd = fileno (f1); 280 p_psVectorPrint (fd, sparse->Aij, "Aij"); 281 fclose (f1); 282 283 snprintf (name, 128, "sparse.Bfj.%02d.dat", npass); 284 f1 = fopen (name, "w"); 285 psAssert (f1, "failed to open file\n"); 286 fd = fileno (f1); 287 p_psVectorPrint (fd, sparse->Bfj, "Bfj"); 288 fclose (f1); 289 290 snprintf (name, 128, "sparse.Qii.%02d.dat", npass); 291 f1 = fopen (name, "w"); 292 psAssert (f1, "failed to open file\n"); 293 fd = fileno (f1); 294 p_psVectorPrint (fd, sparse->Qii, "Qii"); 295 fclose (f1); 296 npass ++; 297 # endif 269 298 270 299 psSparseResort (sparse); -
branches/eam_branches/ipp-20110404/psphot/src/psphotMagnitudes.c
r31364 r31381 210 210 211 211 status = pmSourceMagnitudes (source, psf, photMode, maskVal, markVal, source->apRadius); 212 if (status && isfinite(source->ap Mag)) {212 if (status && isfinite(source->apFlux)) { 213 213 Nap ++; 214 214 } else {
Note:
See TracChangeset
for help on using the changeset viewer.
