IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 14, 2006, 6:33:17 AM (20 years ago)
Author:
eugene
Message:

mods to change from threshold above sky to S/N thresholds

File:
1 edited

Legend:

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

    r6379 r6427  
    33// 2006.02.07 : no leaks!
    44// try PSF models and select best option
    5 pmPSF *psphotChoosePSF (psMetadata *config, psArray *sources, psStats *skystats) {
     5pmPSF *psphotChoosePSF (psMetadata *config, psArray *sources) {
    66
    77    bool            status;
     
    5252    psListIterator *iter = psListIteratorAlloc (list, PS_LIST_HEAD, FALSE);
    5353    for (int i = 0; i < models->n; i++) {
    54         // XXX psListGetAndIncrement does not increment ref counter!?
    55         // XXX if it did, i should free 'item' below
    5654        psMetadataItem *item = psListGetAndIncrement (iter);
    5755        modelName = item->data.V;
    5856        models->data[i] = pmPSFtryModel (stars, modelName, RADIUS);
    59         // psFree (item);
    6057    }
    6158    psFree (iter);
Note: See TracChangeset for help on using the changeset viewer.