Changeset 13035 for trunk/psphot/src/psphotFitSet.c
- Timestamp:
- Apr 25, 2007, 3:35:50 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/psphotFitSet.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psphotFitSet.c
r12792 r13035 1 1 # include "psphotInternal.h" 2 2 3 // XXX this is not used in main psphot code3 // This is not used in main psphot code (only in psphotModelTest.c) 4 4 bool psphotFitSet (pmSource *source, pmModel *oneModel, char *fitset, pmSourceFitMode mode) { 5 5 … … 24 24 } 25 25 26 // XXX pmSourceFitSet must cache the modelFlux? 26 27 pmSourceFitSet (source, modelSet, mode); 27 28 … … 32 33 for (int i = 0; i < modelSet->n; i++) { 33 34 pmModel *model = modelSet->data[i]; 34 pmModelSub (source->pixels, source->mask , model, false, false);35 pmModelSub (source->pixels, source->maskObj, model, PM_MODEL_OP_FULL); 35 36 36 37 fprintf (stderr, "output parameters (obj %d):\n", i); … … 42 43 // write out 43 44 psphotSaveImage (NULL, source->pixels, "resid.fits"); 44 psphotSaveImage (NULL, source->mask , "mask.fits");45 psphotSaveImage (NULL, source->maskObj, "mask.fits"); 45 46 return true; 46 47 }
Note:
See TracChangeset
for help on using the changeset viewer.
