IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 22, 2005, 4:20:27 PM (21 years ago)
Author:
eugene
Message:

various cleanups, fixes, additions...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psphot/src/psphotImageBackground.c

    r5772 r5828  
    3838    }
    3939    x->n = y->n = z->n = Nout;
    40     psLogMsg ("psphot", 5, "back: %f sec (select %d points)\n", psTimerMark ("psphot"), Nout);
    4140
    4241    psPolynomial2D *skyModel = psPolynomial2DAlloc(1, 1, PS_POLYNOMIAL_ORD);
     
    4948
    5049    skyModel = psVectorFitPolynomial2D (skyModel, NULL, 0, z, NULL, x, y);
    51     psLogMsg ("psphot", 5, "back: %f sec (fit model)\n", psTimerMark ("psphot"));
    52     fprintf (stderr, "model: %f %f %f %f\n",
    53              skyModel->coeff[0][0], skyModel->coeff[1][0],
    54              skyModel->coeff[0][1], skyModel->coeff[1][1]);
    5550             
    5651    // this is a very inefficient way to evaluate the function..
     
    6661    sky->sampleMean = 0.0;
    6762
    68     psLogMsg ("psphot", 5, "back: %f sec (fit model)\n", psTimerMark ("psphot"));
    69 
    70     psphotSaveImage (imdata->header, imdata->image, "backsub.fits");
     63    psLogMsg ("psphot", 3, "fit background model: %f sec\n", psTimerMark ("psphot"));
    7164    return (skyModel);
    7265}
Note: See TracChangeset for help on using the changeset viewer.