IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 15, 2006, 3:03:49 PM (20 years ago)
Author:
eugene
Message:

substantial work on the image loop, support for DetDB

File:
1 edited

Legend:

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

    r7522 r7581  
    2929        // mode is 'REFERENCE' to prevent double frees of the fpa
    3030        pmFPAfile *output = psMetadataLookupPtr (&status, config->files, "PPIMAGE.OUTPUT");
    31         input = pmFPAfileDefine (config->files, config->camera, output->fpa, "PSPHOT.INPUT");
     31        input = pmFPAfileDefineInput (config->files, config->camera, output->fpa, "PSPHOT.INPUT");
    3232        input->mode = PM_FPA_MODE_REFERENCE;
    3333
    34         pmFPAfileDefine (config->files, config->camera, input->fpa, "PSPHOT.OUTPUT");
     34        pmFPAfileDefineOutput (config->files, config->camera, input->fpa, "PSPHOT.OUTPUT");
    3535
    3636        // supply the output name (from cmd-line) to all output (WRITE) files
     
    6262        psLogMsg ("ppImagePhot", 4, "Cell %d: %x %x\n", view->cell, cell->file_exists, cell->process);
    6363        if (! cell->process || ! cell->file_exists) { continue; }
    64         pmFPAfileIOChecks (config->files, view, PM_FPA_BEFORE);
     64        pmFPAfileIOChecks (config, view, PM_FPA_BEFORE);
    6565
    6666        // process each of the readouts
    6767        while ((readout = pmFPAviewNextReadout (view, input->fpa, 1)) != NULL) {
    68             pmFPAfileIOChecks (config->files, view, PM_FPA_BEFORE);
     68            pmFPAfileIOChecks (config, view, PM_FPA_BEFORE);
    6969            if (! readout->data_exists) { continue; }
    7070
     
    7272            psphotReadout (config, view);
    7373
    74             pmFPAfileIOChecks (config->files, view, PM_FPA_AFTER);
     74            pmFPAfileIOChecks (config, view, PM_FPA_AFTER);
    7575        }
    76         pmFPAfileIOChecks (config->files, view, PM_FPA_AFTER);
     76        pmFPAfileIOChecks (config, view, PM_FPA_AFTER);
    7777    }
    7878
Note: See TracChangeset for help on using the changeset viewer.