Changeset 6950
- Timestamp:
- Apr 21, 2006, 11:50:52 AM (20 years ago)
- Location:
- trunk/psphot/src
- Files:
-
- 6 edited
-
psphotBasicDeblend.c (modified) (2 diffs)
-
psphotChoosePSF.c (modified) (1 diff)
-
psphotFindPeaks.c (modified) (1 diff)
-
psphotFitSet.c (modified) (1 diff)
-
psphotImageMedian.c (modified) (1 diff)
-
psphotSourceStats.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psphotBasicDeblend.c
r6900 r6950 42 42 // temporary array for overlapping objects we find 43 43 psArray *overlap = psArrayAlloc (100); 44 overlap->n = 0;44 // DROP overlap->n = 0; 45 45 46 46 // search backwards for overlapping sources … … 112 112 if (source->blends == NULL) { 113 113 source->blends = psArrayAlloc (16); 114 source->blends->n = 0;114 // DROP source->blends->n = 0; 115 115 } 116 116 psArrayAdd (source->blends, 16, testSource); -
trunk/psphot/src/psphotChoosePSF.c
r6900 r6950 29 29 30 30 stars = psArrayAlloc (sources->n); 31 stars->n = 0;31 // DROP stars->n = 0; 32 32 33 33 // select the candidate PSF stars (pointers to original sources) -
trunk/psphot/src/psphotFindPeaks.c
r6922 r6950 22 22 psImageSmooth (smooth_wt, SIGMA, NSIGMA); 23 23 psLogMsg ("psphot", 4, "smooth weight: %f sec\n", psTimerMark ("psphot")); 24 25 // psphotSaveImage (NULL, smooth_im, "imsmooth.fits"); 26 // psphotSaveImage (NULL, smooth_wt, "wtsmooth.fits"); 24 27 25 28 psTimerStart ("psphot"); -
trunk/psphot/src/psphotFitSet.c
r6851 r6950 9 9 10 10 psArray *modelSet = psArrayAlloc (16); 11 modelSet->n = 0;11 // DROP modelSet->n = 0; 12 12 13 13 while (fscanf (f, "%lf %lf %lf", &x, &y, &Io) == 3) { -
trunk/psphot/src/psphotImageMedian.c
r6922 r6950 107 107 pmReadout *backSub = pmFPAfileThisReadout (config->files, view, "PSPHOT.BACKSUB"); 108 108 109 // psphotSaveImage (NULL, image, "image.fits"); 110 // psphotSaveImage (NULL, background->image, "back.fits"); 111 // psphotSaveImage (NULL, mask, "mask.fits"); 112 109 113 // subtract the background model (save in backSub, if requested) 110 114 for (int j = 0; j < image->numRows; j++) { -
trunk/psphot/src/psphotSourceStats.c
r6862 r6950 16 16 17 17 sources = psArrayAlloc (peaks->n); 18 sources->n = 0;18 // DROP sources->n = 0; 19 19 20 20 for (int i = 0; i < peaks->n; i++) {
Note:
See TracChangeset
for help on using the changeset viewer.
