Changeset 25696
- Timestamp:
- Sep 30, 2009, 2:34:41 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/20090715/psModules/src/objects/pmPSFtryMakePSF.c
r25673 r25696 103 103 } 104 104 105 pmTrend2D *trend = psf->params->data[i]; 106 105 107 // fit the collection of measured parameters to the PSF 2D model 106 108 // the mask is carried from previous steps and updated with this operation 107 109 // the weight is either the flux error or NULL, depending on 'psf->poissonErrorParams' 108 if (!pmTrend2DFit ( psf->params->data[i], srcMask, 0xff, x, y, z, NULL)) {110 if (!pmTrend2DFit (trend, srcMask, 0xff, x, y, z, NULL)) { 109 111 psError(PS_ERR_UNKNOWN, false, "failed to build psf model for parameter %d", i); 110 112 psFree(x); … … 113 115 return false; 114 116 } 117 if (trend->mode == PM_TREND_MAP) { 118 // p_psImagePrint (2, trend->map->map, "param N Before"); // XXX TEST: 119 psImageMapRepair (trend->map->map); 120 // p_psImagePrint (2, trend->map->map, "param N After"); // XXX TEST: 121 } 115 122 } 116 123
Note:
See TracChangeset
for help on using the changeset viewer.
