Changeset 4251 for trunk/psphot/src/pspsf.c
- Timestamp:
- Jun 14, 2005, 3:23:24 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/pspsf.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/pspsf.c
r4216 r4251 46 46 } 47 47 48 pmPSF_Test *pmPSF_TestModel (psArray *sources, char *modelName, float RADIUS) { 48 pmPSF_Test *pmPSF_TestModel (psArray *sources, char *modelName, float RADIUS) 49 { 49 50 51 float x; 52 float y; 53 bool status; 50 54 int Nflt = 0; 51 55 int Npsf = 0; … … 102 106 } 103 107 psModel *modelPSF = psModelFromPSF (modelFLT, test->psf); // set shape for this model 104 105 psImageKeepCircle (source->mask, RADIUS, OR, 0x80); 108 x = source->peak->x; 109 y = source->peak->y; 110 111 psImageKeepCircle (source->mask, x, y, RADIUS, OR, 0x80); 106 112 status = pmSourceFitModel (source, modelPSF, true); 107 psImageKeepCircle (source->mask, RADIUS, AND, 0x7f);113 psImageKeepCircle (source->mask, x, y, RADIUS, AND, 0x7f); 108 114 109 115 // skip poor fits
Note:
See TracChangeset
for help on using the changeset viewer.
