IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 21, 2007, 6:24:29 PM (19 years ago)
Author:
Paul Price
Message:

Trying to incorporate psphot into ppSub. It doesn't work yet; waiting on Gene's input.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppSub/src/ppSubReadout.c

    r13393 r13462  
    66#include <pslib.h>
    77#include <psmodules.h>
     8#include <psphot.h>
    89
    910#include "ppSub.h"
     
    174175#endif
    175176
     177    psFree(kernels);
     178    psFree(stamps);
     179    psFree(solution);
    176180
    177         psFree(kernels);
    178         psFree(stamps);
    179         psFree(solution);
    180         return true;
     181    pmFPAfile *photFile = psMetadataLookupPtr(NULL, config->files, "PSPHOT.INPUT");
     182    pmFPACopy(photFile->fpa, inRO->parent->parent->parent);
    181183
    182     ERROR:
    183         psFree(kernels);
    184         psFree(stamps);
    185         psFree(solution);
    186         return false;
     184    psphotReadout(config, view);
     185
     186    pmFPAfileActivate(config->files, false, "PSPHOT.INPUT");
     187
     188    return true;
     189
     190ERROR:
     191    psFree(kernels);
     192    psFree(stamps);
     193    psFree(solution);
     194    return false;
    187195}
Note: See TracChangeset for help on using the changeset viewer.