Changeset 8672
- Timestamp:
- Aug 29, 2006, 11:56:41 AM (20 years ago)
- Location:
- trunk/psphot/src
- Files:
-
- 10 edited
-
psphot.c (modified) (1 diff)
-
psphotApResid.c (modified) (1 diff)
-
psphotBlendFit.c (modified) (1 diff)
-
psphotChoosePSF.c (modified) (1 diff)
-
psphotEnsemblePSF.c (modified) (1 diff)
-
psphotFindPeaks.c (modified) (1 diff)
-
psphotMagnitudes.c (modified) (1 diff)
-
psphotReplaceUnfit.c (modified) (1 diff)
-
psphotSourceFits.c (modified) (2 diffs)
-
psphotSourceStats.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psphot.c
r7730 r8672 24 24 // load input data (config and images (signal, noise, mask) 25 25 if (!psphotParseCamera (config)) { 26 psErrorStackPrint(stderr, " ");26 psErrorStackPrint(stderr, " "); 27 27 exit(1); 28 28 } -
trunk/psphot/src/psphotApResid.c
r8411 r8672 84 84 Npsf ++; 85 85 } 86 psLogMsg ("psphot.apresid", 4, "measure aperture residuals : %f sec for %d objects (%d skipped, %d failed, % d invalid)\n",86 psLogMsg ("psphot.apresid", 4, "measure aperture residuals : %f sec for %d objects (%d skipped, %d failed, %ld invalid)\n", 87 87 psTimerMark ("psphot"), Npsf, Nskip, Nfail, sources->n - Npsf - Nskip - Nfail); 88 88 -
trunk/psphot/src/psphotBlendFit.c
r8138 r8672 84 84 } 85 85 86 psLogMsg ("psphot", 3, "fit models: %f sec for %d objects (%d psf, %d ext, %d failed, % d skipped)\n", psTimerMark ("psphot"), Nfit, Npsf, Next, Nfail, sources->n - Nfit);86 psLogMsg ("psphot", 3, "fit models: %f sec for %d objects (%d psf, %d ext, %d failed, %ld skipped)\n", psTimerMark ("psphot"), Nfit, Npsf, Next, Nfail, sources->n - Nfit); 87 87 return (true); 88 88 } -
trunk/psphot/src/psphotChoosePSF.c
r8470 r8672 35 35 if (source->mode & PM_SOURCE_MODE_PSFSTAR) psArrayAdd (stars, 200, source); 36 36 } 37 psLogMsg ("psphot.pspsf", 4, "selected candidate % d PSF objects\n", stars->n);37 psLogMsg ("psphot.pspsf", 4, "selected candidate %ld PSF objects\n", stars->n); 38 38 39 39 if (stars->n == 0) { -
trunk/psphot/src/psphotEnsemblePSF.c
r8470 r8672 130 130 psFree (otSource); 131 131 } 132 psLogMsg ("psphot.emsemble", 4, "built models: %f (% d objects)\n", psTimerMark ("psphot"), sources->n);132 psLogMsg ("psphot.emsemble", 4, "built models: %f (%ld objects)\n", psTimerMark ("psphot"), sources->n); 133 133 134 134 // fill out the sparse matrix -
trunk/psphot/src/psphotFindPeaks.c
r7758 r8672 63 63 pmPeaksWriteText (peaks, output); 64 64 } 65 psLogMsg ("psphot", 3, "% d peaks: %f sec\n", peaks->n, psTimerMark ("psphot"));65 psLogMsg ("psphot", 3, "%ld peaks: %f sec\n", peaks->n, psTimerMark ("psphot")); 66 66 67 67 return (peaks); -
trunk/psphot/src/psphotMagnitudes.c
r6866 r8672 17 17 } 18 18 19 psLogMsg ("psphot.magnitudes", 4, "measure magnitudes : %f sec for % d objects (%d with apertures)\n", psTimerMark ("psphot"), sources->n, Nap);19 psLogMsg ("psphot.magnitudes", 4, "measure magnitudes : %f sec for %ld objects (%d with apertures)\n", psTimerMark ("psphot"), sources->n, Nap); 20 20 return true; 21 21 } -
trunk/psphot/src/psphotReplaceUnfit.c
r7330 r8672 20 20 source->mode &= ~PM_SOURCE_MODE_TEMPSUB; 21 21 } 22 psLogMsg ("psphot.replace", 3, "replace unfitted models: %f sec (% d objects)\n", psTimerMark ("psphot"), sources->n);22 psLogMsg ("psphot.replace", 3, "replace unfitted models: %f sec (%ld objects)\n", psTimerMark ("psphot"), sources->n); 23 23 return true; 24 24 } -
trunk/psphot/src/psphotSourceFits.c
r8470 r8672 79 79 // if this one failed, skip it 80 80 if (!psphotEvalPSF (blend, model)) { 81 psTrace ("psphot.blend", 5, "failed on blend %d of % d\n", i, modelSet->n);81 psTrace ("psphot.blend", 5, "failed on blend %d of %ld\n", i, modelSet->n); 82 82 continue; 83 83 } … … 96 96 // evaluate the primary object 97 97 if (!psphotEvalPSF (source, PSF)) { 98 psTrace ("psphot.blend", 5, "failed on blend 0 of % d\n", modelSet->n);98 psTrace ("psphot.blend", 5, "failed on blend 0 of %ld\n", modelSet->n); 99 99 psFree (PSF); 100 100 return false; -
trunk/psphot/src/psphotSourceStats.c
r8470 r8672 71 71 } 72 72 73 psLogMsg ("psphot", 3, "% d moments: %f sec\n", sources->n, psTimerMark ("psphot"));73 psLogMsg ("psphot", 3, "%ld moments: %f sec\n", sources->n, psTimerMark ("psphot")); 74 74 75 75 return (sources);
Note:
See TracChangeset
for help on using the changeset viewer.
