Changeset 9517
- Timestamp:
- Oct 12, 2006, 11:46:03 AM (20 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/psphotChoosePSF.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psphotChoosePSF.c
r9317 r9517 126 126 psEllipseAxes axes; 127 127 128 PS_ASSERT_PTR_NON_NULL(readout, false); 129 PS_ASSERT_PTR_NON_NULL(recipe, false); 130 PS_ASSERT_PTR_NON_NULL(psf, false); 131 128 132 psImage *image = readout->image; 133 PS_ASSERT_PTR_NON_NULL(image, false); 129 134 130 135 pmModel *modelEXT = pmModelAlloc (psf->type); 136 PS_ASSERT_PTR_NON_NULL(modelEXT, false); 131 137 132 138 // make a model with unit central intensity at the image center … … 138 144 // construct a PSF model at this coordinate 139 145 pmModel *modelPSF = pmModelFromPSF (modelEXT, psf); 146 PS_ASSERT_PTR_NON_NULL(modelPSF, false); 140 147 141 148 // get the correct model-radius function … … 175 182 psEllipseAxes axes; 176 183 184 PS_ASSERT_PTR_NON_NULL(readout, false); 185 PS_ASSERT_PTR_NON_NULL(recipe, false); 186 PS_ASSERT_PTR_NON_NULL(sources, false); 187 177 188 for (int i = 0; i < sources->n; i++) { 178 189 pmSource *source = sources->data[i]; 190 if (!source) continue; 179 191 if (!(source->mode & PM_SOURCE_MODE_PSFSTAR)) continue; 180 192
Note:
See TracChangeset
for help on using the changeset viewer.
