IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 7, 2007, 4:14:29 PM (19 years ago)
Author:
eugene
Message:

working version with locally-linear map

File:
1 edited

Legend:

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

    r10954 r10958  
    1212    pmCell *cell;
    1313    pmReadout *readout;
     14    pmFPAview *view;
    1415
    1516    // select the input data sources
     
    2122
    2223    // 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");
     24    view = pmFPAviewAlloc (0);
     25    view->chip = 0;
     26    view->cell = 0;
     27    view->readout = 0;
     28    pmReadout  *output = pmFPAfileThisReadout (config->files, view, "PSWARP.OUTPUT");
    2829    if (!output) {
    2930        psError(PSWARP_ERR_CONFIG, true, "Can't find output data!\n");
    3031        return false;
    3132    }
     33    psFree (view);
    3234
    3335    // de-activate PSWARP.SKYCELL and PSWARP.OUTPUT
     
    3537    pmFPAfileActivate (config->files, false, "PSWARP.OUTPUT");
    3638
    37     pmFPAview *view = pmFPAviewAlloc (0);
     39    view = pmFPAviewAlloc (0);
    3840
    3941    // find the FPA phu
     
    8183                if (! readout->data_exists) { continue; }
    8284
    83                 pswarpTransformReadout (output, readout, config);
     85                // XXX _Opt version uses locally-linear map
     86                // pswarpTransformReadout (output, readout, config);
     87                pswarpTransformReadout_Opt (output, readout, config);
    8488
    8589                pmFPAfileIOChecks (config, view, PM_FPA_AFTER);
Note: See TracChangeset for help on using the changeset viewer.