IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 11, 2006, 11:08:59 AM (20 years ago)
Author:
eugene
Message:

re-org / re-name to make more parallel with psphot

File:
1 edited

Legend:

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

    r6849 r7522  
    99    // Determine camera, format from header if not already defined
    1010    // Construct camera in preparation for reading
    11     pmConfig *config = ppImageConfig(&argc, argv);
     11    pmConfig *config = ppImageArguments(&argc, argv);
     12    if (config == NULL) {
     13        psErrorStackPrint(stderr, "");
     14        exit(1);
     15    }
    1216
    13     // Set various tasks (define optional operations)
    14     ppImageOptions *options = ppImageOptionsParse(config);
    15 
     17    // define recipe options
    1618    // define the active I/O files
    17     ppImageParseDetrend(options, config);
     19    ppImageOptions *options = ppImageParseCamera(config);
     20    if (options == NULL) {
     21        psErrorStackPrint(stderr, "");
     22        exit(1);
     23    }
    1824
    1925    // Image Arithmetic Loop
    20     ppImageLoop(options, config);
     26    ppImageLoop(config, options);
     27
     28    psLogMsg ("psphot", 3, "complete psphot run: %f sec\n", psTimerMark ("complete"));
    2129
    2230    // Cleaning up
    23     psFree(options);
    24     psFree(config);
    25     psTimerStop();
    26     psTraceReset();
    27     pmConceptsDone();
    28     pmConfigDone();
    29     // ppMemCheck();
    30     fprintf (stderr, "found %d leaks at %s\n", psMemCheckLeaks (0, NULL, NULL, false), "ppImage");
     31    ppImageCleanup(config, options);
    3132    return EXIT_SUCCESS;
    3233}
Note: See TracChangeset for help on using the changeset viewer.