IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 12, 2008, 10:51:58 AM (18 years ago)
Author:
Paul Price
Message:

Adding the use of an optional dark normalisation concept. This will usually be CELL.DARKTIME if the user wants to fit the dark current with no ordinates specified (old style of doing darks). Otherwise it will be NONE for a full multi-dimensional polynomial fit, which presumably would include CELL.DARKTIME as one of the ordinates.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppMerge/src/ppMergeOptions.c

    r16842 r16950  
    2323    psFree(options->format);
    2424    psFree(options->combine);
     25    psFree(options->darkOrdinates);
     26    psFree(options->darkNorm);
    2527}
    2628
     
    6870    options->growPixels = 0;
    6971    options->darkOrdinates = NULL;
     72    options->darkNorm = NULL;
    7073    return options;
    7174}
     
    309312        }
    310313        psFree(iter);
     314
     315        psString darkNorm = psMetadataLookupStr(NULL, recipe, "DARK.NORM"); // Normalisation concept
     316        if (darkNorm && strcmp(darkNorm, "NONE") != 0) {
     317            options->darkNorm = psStringCopy(darkNorm);
     318        }
    311319    }
    312320
Note: See TracChangeset for help on using the changeset viewer.