IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 21424


Ignore:
Timestamp:
Feb 9, 2009, 11:26:05 AM (17 years ago)
Author:
Paul Price
Message:

Merging cnb_branch_20090113. One major conflict (ppSubReadout, due to recent major reorg of this file) easily resolved. Compiles, but not tested.

Location:
trunk/ppSub/src
Files:
4 edited

Legend:

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

    r21360 r21424  
    66 *
    77 *  @author IfA
    8  *  @version $Revision: 1.10 $ $Name: not supported by cvs2svn $
    9  *  @date $Date: 2009-02-06 01:37:17 $
     8 *  @version $Revision: 1.11 $ $Name: not supported by cvs2svn $
     9 *  @date $Date: 2009-02-09 21:26:05 $
    1010 *  Copyright 2009 Institute for Astronomy, University of Hawaii
    1111 */
     
    6666    psTimerStop();
    6767
     68    pmSubtractionVisualClose(); //close plot windows, if -visual is set
    6869    psFree(config);
    6970    pmModelClassCleanup();
  • trunk/ppSub/src/ppSubArguments.c

    r21396 r21424  
    66 *
    77 *  @author IfA
    8  *  @version $Revision: 1.57 $ $Name: not supported by cvs2svn $
    9  *  @date $Date: 2009-02-07 00:15:00 $
     8 *  @version $Revision: 1.58 $ $Name: not supported by cvs2svn $
     9 *  @date $Date: 2009-02-09 21:26:05 $
    1010 *  Copyright 2009 Institute for Astronomy, University of Hawaii
    1111 */
     
    252252    psMetadataAddS32(arguments, PS_LIST_TAIL, "-bin2", 0, "Binning factor for second level", 0);
    253253    psMetadataAddStr(arguments, PS_LIST_TAIL, "-dumpconfig", 0, "file to dump configuration to", NULL);
     254    psMetadataAddBool(arguments, PS_LIST_TAIL, "-visual", 0, "Show diagnostic plots", NULL);
    254255
    255256    if (argc == 1 || !psArgumentParse(arguments, &argc, argv) || argc != 4) {
     
    365366    }
    366367
     368    if (psMetadataLookupBool(NULL, arguments, "-visual")) {
     369        pmSubtractionSetVisual(true);
     370    }
     371
    367372    // Translate the kernel type
    368373    psString type = psMetadataLookupStr(NULL, arguments, "-type"); // Name of kernel type
  • trunk/ppSub/src/ppSubReadout.c

    r21360 r21424  
    66 *
    77 *  @author IfA
    8  *  @version $Revision: 1.111 $ $Name: not supported by cvs2svn $
    9  *  @date $Date: 2009-02-06 01:37:17 $
     8 *  @version $Revision: 1.112 $ $Name: not supported by cvs2svn $
     9 *  @date $Date: 2009-02-09 21:26:05 $
    1010 *  Copyright 2009 Institute for Astronomy, University of Hawaii
    1111 */
     
    5252        return false;
    5353    }
    54  
     54
    5555    if (!ppSubReadoutPhotometry (config, stats, view)) {
    5656        psError(PS_ERR_UNKNOWN, false, "Unable to subtract background.");
  • trunk/ppSub/src/ppSubReadoutSubtract.c

    r21374 r21424  
    66 *
    77 *  @author IfA
    8  *  @version $Revision: 1.3 $ $Name: not supported by cvs2svn $
    9  *  @date $Date: 2009-02-06 03:20:02 $
     8 *  @version $Revision: 1.4 $ $Name: not supported by cvs2svn $
     9 *  @date $Date: 2009-02-09 21:26:05 $
    1010 *  Copyright 2009 Institute for Astronomy, University of Hawaii
    1111 */
     
    6363    outRO->parent->parent->data_exists = true;
    6464
     65    pmSubtractionVisualShowSubtraction(minuend->image, subtrahend->image, outRO->image);
     66
    6567    // copy concepts from the input to the output (XXX should this always use minuend?)
    6668    pmFPAfile *inFile = psMetadataLookupPtr (&mdok, config->files, "PPSUB.INPUT");
Note: See TracChangeset for help on using the changeset viewer.