IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 10952


Ignore:
Timestamp:
Jan 5, 2007, 6:41:08 PM (19 years ago)
Author:
eugene
Message:

compiles without working transformation

Location:
trunk/pswarp/src
Files:
1 added
6 edited

Legend:

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

    r10946 r10952  
    77    fprintf (stderr, "    [-mask mask.fits] : provide a corresponding mask image\n");
    88    fprintf (stderr, "    [-weight weight.fits] : provide a corresponding weight image (pixel varience)\n");
    9     psErrorStackPrint(stderr, "");
     9    psErrorStackPrint(stderr, "\n");
    1010    exit (2);
    1111}
  • trunk/pswarp/src/pswarp.h

    r10946 r10952  
    1313# define PSWARP_RECIPE "PSWARP" // Name of the recipe to use
    1414
     15pmConfig *pswarpArguments (int argc, char **argv);
     16bool pswarpParseCamera (pmConfig *config);
     17bool pswarpDefine (pmConfig *config);
     18bool pswarpDataLoad (pmConfig *config);
     19bool pswarpDataSave (pmConfig *config);
     20void pswarpCleanup (pmConfig *config);
  • trunk/pswarp/src/pswarpCleanup.c

    r10946 r10952  
    33void pswarpCleanup (pmConfig *config) {
    44
    5     psFree (refs);
    65    psFree (config);
    76
  • trunk/pswarp/src/pswarpDataLoad.c

    r10946 r10952  
    1717    if (!input) {
    1818        psError(PSWARP_ERR_CONFIG, true, "Can't find input data!\n");
     19        return false;
     20    }
     21
     22    // select the output readout
     23    pmFPAview *outView = pmFPAviewAlloc (0);
     24    outView->chip = 0;
     25    outView->cell = 0;
     26    outView->readout = 0;
     27    pmReadout  *output = pmFPAfileThisReadout (config->files, outView, "PSWARP.OUTPUT");
     28    if (!output) {
     29        psError(PSWARP_ERR_CONFIG, true, "Can't find output data!\n");
    1930        return false;
    2031    }
     
    4556                if (! readout->data_exists) { continue; }
    4657
    47                 pswarpConvertReadout (readout, config);
     58                pswarpConvertReadout (output, readout, config);
    4859
    4960                pmFPAfileIOChecks (config, view, PM_FPA_AFTER);
  • trunk/pswarp/src/pswarpDefine.c

    r10946 r10952  
    3030    }
    3131
    32     pmFPAfileCreate (output, view, config);
     32    pmFPAfileCreate (output, view);
    3333
    3434    psFree (view);
  • trunk/pswarp/src/pswarpParseCamera.c

    r10832 r10952  
    1111        return false;
    1212    }
    13 
    14     // select recipe options supplied on command line
    15     psMetadata *recipe  = psMetadataLookupPtr (&status, config->recipes, PSWARP_RECIPE);
    1613
    1714    // the input skycell is a required argument: it defines the output image
Note: See TracChangeset for help on using the changeset viewer.