IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 10, 2008, 11:32:26 AM (18 years ago)
Author:
Paul Price
Message:

Allow sources not to be specified if we aren't convolving.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppStack/src/ppStackMatch.c

    r17426 r17428  
    2020    assert(regions && !*regions);
    2121    assert(kernels && !*kernels);
    22     assert(sourcesRO);
    2322    assert(config);
    2423
     
    3130    bool mdok;                          // Status of MD lookup
    3231    bool renorm = psMetadataLookupBool(&mdok, config->arguments, "RENORM"); // Renormalise variances?
    33     psStatsOptions renormMean = psMetadataLookupS32(&mdok, config->arguments, "RENORM.MEAN"); // Statistic for mean
    34     psStatsOptions renormStdev = psMetadataLookupS32(&mdok, config->arguments, "RENORM.STDEV"); // Statistic for stdev
    35     int renormWidth = psMetadataLookupS32(&mdok, config->arguments, "RENORM.WIDTH"); // Width for renormalisation box
     32    psStatsOptions renormMean = psMetadataLookupS32(&mdok, config->arguments,
     33                                                    "RENORM.MEAN"); // Statistic for mean
     34    psStatsOptions renormStdev = psMetadataLookupS32(&mdok, config->arguments,
     35                                                     "RENORM.STDEV"); // Statistic for stdev
     36    int renormWidth = psMetadataLookupS32(&mdok, config->arguments,
     37                                          "RENORM.WIDTH"); // Width for renormalisation box
    3638
    3739    if (psMetadataLookupBool(&mdok, config->arguments, "HAVE.PSF")) {
    3840        assert(psf);
     41        assert(sourcesRO);
     42
    3943        int order = psMetadataLookupS32(NULL, recipe, "SPATIAL.ORDER"); // Spatial polynomial order
    4044        float regionSize = psMetadataLookupF32(NULL, recipe, "REGION.SIZE"); // Size of iso-kernel regs
     
    4448        int iter = psMetadataLookupS32(NULL, recipe, "ITER"); // Rejection iterations
    4549        float rej = psMetadataLookupF32(NULL, recipe, "REJ"); // Rejection threshold
    46         pmSubtractionKernelsType type =
    47             pmSubtractionKernelsTypeFromString(psMetadataLookupStr(NULL, recipe, "KERNEL.TYPE")); // Kernel type
     50        pmSubtractionKernelsType type = pmSubtractionKernelsTypeFromString(
     51            psMetadataLookupStr(NULL, recipe, "KERNEL.TYPE")); // Kernel type
    4852        psVector *widths = psMetadataLookupPtr(NULL, recipe, "ISIS.WIDTHS"); // ISIS Gaussian widths
    4953        psVector *orders = psMetadataLookupPtr(NULL, recipe, "ISIS.ORDERS"); // ISIS Polynomial orders
     
    6266
    6367        // These values are specified specifically for stacking
    64         const char *stampsName = psMetadataLookupStr(NULL, config->arguments, "STAMPS"); // Filename for stamps
     68        const char *stampsName = psMetadataLookupStr(NULL, config->arguments, "STAMPS"); // Stamps filename
    6569
    6670        psVector *optWidths = NULL;         // Vector with FWHMs for optimum search
Note: See TracChangeset for help on using the changeset viewer.