IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 25042


Ignore:
Timestamp:
Aug 10, 2009, 4:56:27 PM (17 years ago)
Author:
Paul Price
Message:

Don't adjust weight, since that's done by the covariance matrix these days.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/pswarp/src/pswarpLoop.c

    r24491 r25042  
    407407        view->chip = view->cell = view->readout = 0;
    408408
    409         // Need to adjust the weight --- the main operation in psphotReadoutFindPSF is not determining the
    410         // signficance of sources, but looking at the significance of individual pixels.
    411         // We can adjust the weight directly since this is a deep copy
    412         pmReadout *photRO = pmFPAviewThisReadout(view, photFile->fpa);
    413         float vf = psMetadataLookupF32(NULL, photRO->parent->concepts, "CELL.VARFACTOR"); // Variance factor
    414         psBinaryOp(photRO->variance, photRO->variance, "*", psScalarAlloc(vf, PS_TYPE_F32));
    415 
    416409        // grab the sources of interest from the storage location (pmFPAfile PSPHOT.INPUT.CMF)
    417410        psArray *sources = psphotLoadPSFSources (config, view);
Note: See TracChangeset for help on using the changeset viewer.