IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 3, 2009, 11:58:24 AM (17 years ago)
Author:
Paul Price
Message:

Committing changes in progress. Attempting to make ppSub spit out not just the regular subtracted image and sources, but the inverse with sources in the inverse (for the warp-warp difference). Does not compile yet.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/pap/ppSub/src/ppSub.c

    r23242 r23704  
    4949    }
    5050
    51     if (!ppSubArgumentsSetup(argc, argv, config)) {
     51    ppSubData *data = ppSubDataAlloc(); // Processing data
     52
     53    if (!ppSubArgumentsSetup(argc, argv, config, data)) {
    5254        psErrorStackPrint(stderr, "Error reading arguments.\n");
    5355        exitValue = PS_EXIT_CONFIG_ERROR;
     
    5557    }
    5658
    57     if (!ppSubCamera(config)) {
     59    if (!ppSubCamera(config, data)) {
    5860        psErrorStackPrint(stderr, "Error setting up camera.\n");
    5961        exitValue = PS_EXIT_CONFIG_ERROR;
     
    6163    }
    6264
    63     if (!ppSubArgumentsParse(config)) {
    64         psErrorStackPrint(stderr, "Error reading arguments.\n");
    65         exitValue = PS_EXIT_CONFIG_ERROR;
    66         goto die;
    67     }
    68 
    69     if (!ppSubLoop(config)) {
     65    if (!ppSubLoop(config, data)) {
    7066        psErrorStackPrint(stderr, "Error performing subtraction.\n");
    7167        exitValue = PS_EXIT_SYS_ERROR;
Note: See TracChangeset for help on using the changeset viewer.