IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 19, 2007, 3:46:30 PM (20 years ago)
Author:
eugene
Message:

changed SKY_STDEV to SKY_SIG to fit in FITS keyword

File:
1 edited

Legend:

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

    r11189 r11200  
    3636
    3737    // supply the measured sky variance for optional constant errors (non-poissonian)
    38     float SKY_STDEV = psMetadataLookupF32 (&status, recipe, "SKY_STDEV");
    39     if (!status) {
    40         SKY_STDEV = 1.0;
    41         psWarning("SKY_STDEV is not set --- defaulting to %f\n", SKY_STDEV);
     38    float SKY_SIG = psMetadataLookupF32 (&status, recipe, "SKY_SIG");
     39    if (!status) {
     40        SKY_SIG = 1.0;
     41        psWarning("SKY_SIG is not set --- defaulting to %f\n", SKY_SIG);
    4242    }
    4343    // use poissonian errors or local-sky errors
     
    4747        psWarning("POISSON_ERRORS is not set in the recipe --- defaulting to true.\n");
    4848    }
    49     pmSourceFitModelInit (15, 0.01, PS_SQR(SKY_STDEV), POISSON_ERRORS);
     49    pmSourceFitModelInit (15, 0.01, PS_SQR(SKY_SIG), POISSON_ERRORS);
    5050
    5151    // use poissonian errors or local-sky errors
Note: See TracChangeset for help on using the changeset viewer.