Changeset 17870 for trunk/psphot/src/psphotReadout.c
- Timestamp:
- May 30, 2008, 4:09:46 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/psphotReadout.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psphotReadout.c
r17828 r17870 117 117 psphotFitSourcesLinear (readout, sources, recipe, psf, FALSE); 118 118 119 if (0) { 120 FILE *out = fopen ("out.dat", "w"); 121 122 for (int i = 0; i < sources->n; i++) { 123 pmSource *source = sources->data[i]; 124 if (!source) continue; 125 pmPeak *peak = source->peak; 126 if (!peak) continue; 127 pmModel *model = source->modelPSF; 128 if (!model) continue; 129 if (!model->params) continue; 130 131 fprintf (out, "%d %f %f %f %f %f %f\n", 132 i, peak->xf, peak->yf, peak->flux, peak->SN, 133 model->params->data.F32[PM_PAR_I0], 134 model->dparams->data.F32[PM_PAR_I0]); 135 } 136 fclose (out); 137 } 138 119 139 // identify CRs and extended sources 120 140 psphotSourceSize (readout, sources, recipe, 0);
Note:
See TracChangeset
for help on using the changeset viewer.
