IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 5, 2009, 5:03:33 PM (17 years ago)
Author:
Paul Price
Message:

Merging pap_branch_20090128. Resolved a small number of conflicts. Compiles, but not tested in detail.

File:
1 edited

Legend:

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

    r21248 r21366  
    1919
    2020    // Generate the mask and weight images, including the user-defined analysis region of interest
    21     psphotSetMaskAndWeight (config, readout, recipe);
     21    psphotSetMaskAndVariance (config, readout, recipe);
    2222
    2323    // display the image, weight, mask (ch 1,2,3)
     
    4141    // use the peak measured in the moments analysis:
    4242    for (int i = 0; i < sources->n; i++) {
    43         pmSource *source = sources->data[i];
    44         source->peak->flux = source->moments->Peak;
     43        pmSource *source = sources->data[i];
     44        source->peak->flux = source->moments->Peak;
    4545    }
    46    
     46
    4747    // classify sources based on moments, brightness (psf is not known)
    4848    if (!psphotRoughClass (readout, sources, recipe, false)) {
     
    5353    pmPSF *psf = psphotChoosePSF (readout, sources, recipe);
    5454    if (!psf) {
    55         psLogMsg ("psphot", 3, "failure to construct a psf model");
    56         return psphotReadoutCleanup (config, readout, recipe, detections, psf, sources);
     55        psLogMsg ("psphot", 3, "failure to construct a psf model");
     56        return psphotReadoutCleanup (config, readout, recipe, detections, psf, sources);
    5757    }
    5858    psphotVisualShowPSFModel (readout, psf);
Note: See TracChangeset for help on using the changeset viewer.