IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 25481


Ignore:
Timestamp:
Sep 22, 2009, 3:22:14 PM (17 years ago)
Author:
Paul Price
Message:

Output PSF parameters.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/imcombine/pmPSFEnvelope.c

    r25313 r25481  
    122122            continue;
    123123        }
     124
     125        if (psTraceGetLevel("psModules.imcombine") >= 1) {
     126            psString string = NULL;     // String with values
     127            psStringAppend(&string, "PSF %d: ", i);
     128            for (int j = 0; j < psf->params->n; j++) {
     129                double val = pmTrend2DEval(psf->params->data[j], numCols/2.0, numRows/2.0);
     130                psStringAppend(&string, "%f ", val);
     131            }
     132            psTrace("psModules.imcombine", 1, "%s\n", string);
     133            psFree(string);
     134        }
     135
    124136        pmResiduals *resid = psf->residuals;// PSF residuals
    125137        psf->residuals = NULL;
     
    357369
    358370        pmReadout *generated = pmReadoutAlloc(NULL); // Generated image
    359         pmReadoutFakeFromSources(generated, numCols, numRows, fakes, NULL, NULL, psf, NAN, radius,
     371        pmReadoutFakeFromSources(generated, numCols, numRows, fakes, 0, NULL, NULL, psf, NAN, radius,
    360372                                 false, true);
    361373        {
Note: See TracChangeset for help on using the changeset viewer.