Changeset 20568 for trunk/ppSub/src/ppSubReadout.c
- Timestamp:
- Nov 6, 2008, 2:07:23 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/ppSub/src/ppSubReadout.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppSub/src/ppSubReadout.c
r20554 r20568 91 91 int footprint = psMetadataLookupS32(NULL, recipe, "STAMP.FOOTPRINT"); // Stamp half-size 92 92 float threshold = psMetadataLookupF32(NULL, recipe, "STAMP.THRESHOLD"); // Threshold for stmps 93 int stride = psMetadataLookupS32(NULL, recipe, "STRIDE"); // Size of convolution patches 93 94 int iter = psMetadataLookupS32(NULL, recipe, "ITER"); // Rejection iterations 94 95 float rej = psMetadataLookupF32(NULL, recipe, "REJ"); // Rejection threshold … … 191 192 192 193 // Match the PSFs 193 if (!pmSubtractionMatch(inConv, refConv, inRO, refRO, footprint, regionSize, spacing, threshold, sources,194 s tampsName, type, size, order, widths, orders, inner, ringsOrder, binning,195 penalty, optimum, optWidths, optOrder, optThresh, iter, rej, sys, maskVal,196 mask Bad, maskPoor, poorFrac, badFrac, subMode)) {194 if (!pmSubtractionMatch(inConv, refConv, inRO, refRO, footprint, stride, regionSize, spacing, threshold, 195 sources, stampsName, type, size, order, widths, orders, inner, ringsOrder, 196 binning, penalty, optimum, optWidths, optOrder, optThresh, iter, rej, sys, 197 maskVal, maskBad, maskPoor, poorFrac, badFrac, subMode)) { 197 198 psError(PS_ERR_UNKNOWN, false, "Unable to match images."); 198 199 psFree(inConv); … … 580 581 psArray *sources = psMetadataLookupPtr(NULL, photRO->analysis, "PSPHOT.SOURCES"); // Sources 581 582 FILE *sourceFile = fopen("sources.dat", "w"); // File for sources 582 fprintf(sourceFile, "# x y mag mag_err psf_chisq cr_nsigma ext_nsigma psf_qf flags m_x m_y m_xx m_xy m_yy\n"); 583 fprintf(sourceFile, 584 "# x y mag mag_err psf_chisq cr_nsigma ext_nsigma psf_qf flags m_x m_y m_xx m_xy m_yy\n"); 583 585 for (int i = 0; i < sources->n; i++) { 584 586 pmSource *source = sources->data[i];
Note:
See TracChangeset
for help on using the changeset viewer.
