IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 6, 2010, 12:42:20 PM (15 years ago)
Author:
eugene
Message:

tie positive sources to input images not output images.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppSub/src/ppSubCamera.c

    r29937 r29954  
    418418        if (data->forcedPhot1) {
    419419            // this pmFPAfile is used to carry sources detected in the positive image #1
    420             pmFPAfile *posSources1 = defineOutputFile(config, output, true, "PPSUB.POS1.SOURCES", PM_FPA_FILE_CMF);
     420            pmFPAfile *posSources1 = defineOutputFile(config, input, true, "PPSUB.POS1.SOURCES", PM_FPA_FILE_CMF);
    421421            if (!posSources1) {
    422422                psError(psErrorCodeLast(), false, "Unable to set up forced source file.");
     
    426426
    427427            // this pmFPAfile is used to carry sources detected in the diff image @ the positions from positive image #1
    428             pmFPAfile *frcSources1 = defineOutputFile(config, output, true, "PPSUB.FORCED1.SOURCES", PM_FPA_FILE_CMF);
     428            pmFPAfile *frcSources1 = defineOutputFile(config, input, true, "PPSUB.FORCED1.SOURCES", PM_FPA_FILE_CMF);
    429429            if (!frcSources1) {
    430430                psError(psErrorCodeLast(), false, "Unable to set up forced source file.");
     
    436436        if (data->forcedPhot2) {
    437437            // this pmFPAfile is used to carry sources detected in the positive image #2
    438             pmFPAfile *posSources2 = defineOutputFile(config, inverse, true, "PPSUB.POS2.SOURCES", PM_FPA_FILE_CMF);
     438            pmFPAfile *posSources2 = defineOutputFile(config, ref, true, "PPSUB.POS2.SOURCES", PM_FPA_FILE_CMF);
    439439            if (!posSources2) {
    440440                psError(psErrorCodeLast(), false, "Unable to set up forced source file.");
     
    444444
    445445            // this pmFPAfile is used to carry sources detected in the diff image @ the positions from positive image #2
    446             pmFPAfile *frcSources2 = defineOutputFile(config, inverse, true, "PPSUB.FORCED2.SOURCES", PM_FPA_FILE_CMF);
     446            pmFPAfile *frcSources2 = defineOutputFile(config, ref, true, "PPSUB.FORCED2.SOURCES", PM_FPA_FILE_CMF);
    447447            if (!frcSources2) {
    448448                psError(psErrorCodeLast(), false, "Unable to set up forced source file.");
Note: See TracChangeset for help on using the changeset viewer.