Changeset 21424
- Timestamp:
- Feb 9, 2009, 11:26:05 AM (17 years ago)
- Location:
- trunk/ppSub/src
- Files:
-
- 4 edited
-
ppSub.c (modified) (2 diffs)
-
ppSubArguments.c (modified) (3 diffs)
-
ppSubReadout.c (modified) (2 diffs)
-
ppSubReadoutSubtract.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppSub/src/ppSub.c
r21360 r21424 6 6 * 7 7 * @author IfA 8 * @version $Revision: 1.1 0$ $Name: not supported by cvs2svn $9 * @date $Date: 2009-02-0 6 01:37:17$8 * @version $Revision: 1.11 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2009-02-09 21:26:05 $ 10 10 * Copyright 2009 Institute for Astronomy, University of Hawaii 11 11 */ … … 66 66 psTimerStop(); 67 67 68 pmSubtractionVisualClose(); //close plot windows, if -visual is set 68 69 psFree(config); 69 70 pmModelClassCleanup(); -
trunk/ppSub/src/ppSubArguments.c
r21396 r21424 6 6 * 7 7 * @author IfA 8 * @version $Revision: 1.5 7$ $Name: not supported by cvs2svn $9 * @date $Date: 2009-02-0 7 00:15:00$8 * @version $Revision: 1.58 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2009-02-09 21:26:05 $ 10 10 * Copyright 2009 Institute for Astronomy, University of Hawaii 11 11 */ … … 252 252 psMetadataAddS32(arguments, PS_LIST_TAIL, "-bin2", 0, "Binning factor for second level", 0); 253 253 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); 254 255 255 256 if (argc == 1 || !psArgumentParse(arguments, &argc, argv) || argc != 4) { … … 365 366 } 366 367 368 if (psMetadataLookupBool(NULL, arguments, "-visual")) { 369 pmSubtractionSetVisual(true); 370 } 371 367 372 // Translate the kernel type 368 373 psString type = psMetadataLookupStr(NULL, arguments, "-type"); // Name of kernel type -
trunk/ppSub/src/ppSubReadout.c
r21360 r21424 6 6 * 7 7 * @author IfA 8 * @version $Revision: 1.11 1$ $Name: not supported by cvs2svn $9 * @date $Date: 2009-02-0 6 01:37:17$8 * @version $Revision: 1.112 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2009-02-09 21:26:05 $ 10 10 * Copyright 2009 Institute for Astronomy, University of Hawaii 11 11 */ … … 52 52 return false; 53 53 } 54 54 55 55 if (!ppSubReadoutPhotometry (config, stats, view)) { 56 56 psError(PS_ERR_UNKNOWN, false, "Unable to subtract background."); -
trunk/ppSub/src/ppSubReadoutSubtract.c
r21374 r21424 6 6 * 7 7 * @author IfA 8 * @version $Revision: 1. 3$ $Name: not supported by cvs2svn $9 * @date $Date: 2009-02-0 6 03:20:02$8 * @version $Revision: 1.4 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2009-02-09 21:26:05 $ 10 10 * Copyright 2009 Institute for Astronomy, University of Hawaii 11 11 */ … … 63 63 outRO->parent->parent->data_exists = true; 64 64 65 pmSubtractionVisualShowSubtraction(minuend->image, subtrahend->image, outRO->image); 66 65 67 // copy concepts from the input to the output (XXX should this always use minuend?) 66 68 pmFPAfile *inFile = psMetadataLookupPtr (&mdok, config->files, "PPSUB.INPUT");
Note:
See TracChangeset
for help on using the changeset viewer.
