IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 37321 for trunk/psphot/src


Ignore:
Timestamp:
Aug 27, 2014, 12:20:33 PM (12 years ago)
Author:
bills
Message:

In psphotFullForce, add code to read the warp to chip transformations stored in the
warp headers and identify the chip that generated the pixels for each source and
the chip coordinates of the peak.
Save this information in PS1_V5 cmf if the lensing parameters are also being saved.
(full force only)

Location:
trunk/psphot/src
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/psphot/src/Makefile.am

    r36623 r37321  
    9797# generalized forced photometry (including Kron, Petro, and Models) of specified positions given a specified psf
    9898psphotFullForce_SOURCES = \
    99         psphotFullForce.c             \
    100         psphotFullForceArguments.c    \
     99        psphotFullForce.c          \
     100        psphotFullForceArguments.c \
    101101        psphotParseCamera.c        \
    102102        psphotImageLoop.c          \
     
    259259        psphotEfficiency.c             \
    260260        psphotSetNFrames.c             \
    261         psphotSourceMemory.c
     261        psphotSourceMemory.c           \
     262        psphotChipParams.c
    262263
    263264# not currently used
  • trunk/psphot/src/psphot.h

    r36757 r37321  
    571571bool psphotSourceMemoryReadout(pmConfig *config, const pmFPAview *view, const char *filerule, int index);
    572572
     573bool psphotChipParams(pmConfig *config, const pmFPAview *view, const char *filerule);
     574bool psphotChipParams_Threaded(psThreadJob *job);
     575
    573576const char * psphotGetFilerule(const char *baseRule);
    574577extern bool psphotINpsphotStack;
    575578
     579
    576580#endif
  • trunk/psphot/src/psphotFullForceReadout.c

    r36663 r37321  
    106106    psphotKronFlux (config, view, filerule);
    107107
     108    psphotChipParams (config, view, filerule);
     109
    108110    // measure petro fluxes
    109111    psphotPetroFlux (config, view, filerule);
  • trunk/psphot/src/psphotSetThreads.c

    r36375 r37321  
    8787    psFree(task);
    8888
     89    task = psThreadTaskAlloc("PSPHOT_CHIP_PARAMS", 2);
     90    task->function = &psphotChipParams_Threaded;
     91    psThreadTaskAdd(task);
     92    psFree(task);
     93
    8994    return true;
    9095}
Note: See TracChangeset for help on using the changeset viewer.