IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 32315


Ignore:
Timestamp:
Sep 5, 2011, 8:48:34 AM (15 years ago)
Author:
eugene
Message:

simplify options to actually needed set

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20110710/psphot/src/psphotStackOptions.c

    r28160 r32315  
    1919    psFree (options->norm);
    2020    psFree (options->matchChi2);
    21     psFree (options->weightings);
     21    psFree (options->targetSeeing);
    2222
    2323    return;
     
    3636    options->convolve = false;
    3737    options->convolveSource = PSPHOT_CNV_SRC_NONE;
    38     options->targetSeeing = NAN;
     38    options->targetSeeing = NULL;
    3939
    4040    options->psfs        = psArrayAlloc(num);
     
    4747    options->norm        = psVectorAlloc(num, PS_TYPE_F32);
    4848    options->matchChi2   = psVectorAlloc(num, PS_TYPE_F32); // chi^2 for stamps when matching
    49     options->weightings  = psVectorAlloc(num, PS_TYPE_F32); // Combination weightings for images (1/noise^2)
    5049
    5150    psVectorInit(options->inputMask,   0);
     
    5352    psVectorInit(options->norm,        NAN);
    5453    psVectorInit(options->matchChi2,   NAN);
    55     psVectorInit(options->weightings,  NAN);
    5654
    5755    return options;
Note: See TracChangeset for help on using the changeset viewer.