Changeset 37321
- Timestamp:
- Aug 27, 2014, 12:20:33 PM (12 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 7 edited
-
psModules/src/objects/pmSource.c (modified) (1 diff)
-
psModules/src/objects/pmSource.h (modified) (1 diff)
-
psModules/src/objects/pmSourceIO_CMF.c.in (modified) (1 diff)
-
psphot/src/Makefile.am (modified) (2 diffs)
-
psphot/src/psphot.h (modified) (1 diff)
-
psphot/src/psphotChipParams.c (added)
-
psphot/src/psphotFullForceReadout.c (modified) (1 diff)
-
psphot/src/psphotSetThreads.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/objects/pmSource.c
r36860 r37321 176 176 source->parent = NULL; 177 177 source->tmpPtr = NULL; 178 source->chipNum = -1; 179 source->chipX = -1000; 180 source->chipY = -1000; 178 181 source->imageID = -1; 179 182 source->nFrames = 0; -
trunk/psModules/src/objects/pmSource.h
r36860 r37321 127 127 pmSource *parent; ///< reference to the master source from which this is derived 128 128 psPtr *tmpPtr; ///< pointer that may be used to store data in a particular module. e.g. psphotKronIterate. 129 short chipNum; ///< camera dependent of chip suppling pixels for fullforce source 130 short chipX; ///< chip space X coord of fullforce source 131 short chipY; ///< chip space Y coord of fullforce source 129 132 int imageID; 130 133 psU16 nFrames; -
trunk/psModules/src/objects/pmSourceIO_CMF.c.in
r37245 r37321 221 221 @>PS1_V4@ psMetadataAdd (row, PS_LIST_TAIL, "LENS_E2_SH_PSF", PS_DATA_F32, "shear polarizability element (objects)", source->lensingPSF->shear->e2); 222 222 } 223 224 // if lensing params exist also include the backmapped chipID and chip coordinates 225 if (source->lensingPSF && source->lensingPSF->shear) { 226 @>PS1_V4@ psMetadataAdd (row, PS_LIST_TAIL, "SRC_CHIP_NUM", PS_DATA_S16, "id of warp input chip", source->chipNum); 227 @>PS1_V4@ psMetadataAdd (row, PS_LIST_TAIL, "SRC_CHIP_X", PS_DATA_S16, "x coord in warp input chip", source->chipX); 228 @>PS1_V4@ psMetadataAdd (row, PS_LIST_TAIL, "SRC_CHIP_Y", PS_DATA_S16, "y coord in warp input chip", source->chipY); 229 @>PS1_V4@ psMetadataAdd (row, PS_LIST_TAIL, "PADDING3", PS_DATA_S16, "more padding", 0); 230 } 223 231 224 232 @>PS1_V2,PS1_SV?,>PS1_DV1@ psMetadataAdd (row, PS_LIST_TAIL, "MOMENTS_R1", PS_DATA_F32, "first radial moment", moments.Mrf); -
trunk/psphot/src/Makefile.am
r36623 r37321 97 97 # generalized forced photometry (including Kron, Petro, and Models) of specified positions given a specified psf 98 98 psphotFullForce_SOURCES = \ 99 psphotFullForce.c \100 psphotFullForceArguments.c \99 psphotFullForce.c \ 100 psphotFullForceArguments.c \ 101 101 psphotParseCamera.c \ 102 102 psphotImageLoop.c \ … … 259 259 psphotEfficiency.c \ 260 260 psphotSetNFrames.c \ 261 psphotSourceMemory.c 261 psphotSourceMemory.c \ 262 psphotChipParams.c 262 263 263 264 # not currently used -
trunk/psphot/src/psphot.h
r36757 r37321 571 571 bool psphotSourceMemoryReadout(pmConfig *config, const pmFPAview *view, const char *filerule, int index); 572 572 573 bool psphotChipParams(pmConfig *config, const pmFPAview *view, const char *filerule); 574 bool psphotChipParams_Threaded(psThreadJob *job); 575 573 576 const char * psphotGetFilerule(const char *baseRule); 574 577 extern bool psphotINpsphotStack; 575 578 579 576 580 #endif -
trunk/psphot/src/psphotFullForceReadout.c
r36663 r37321 106 106 psphotKronFlux (config, view, filerule); 107 107 108 psphotChipParams (config, view, filerule); 109 108 110 // measure petro fluxes 109 111 psphotPetroFlux (config, view, filerule); -
trunk/psphot/src/psphotSetThreads.c
r36375 r37321 87 87 psFree(task); 88 88 89 task = psThreadTaskAlloc("PSPHOT_CHIP_PARAMS", 2); 90 task->function = &psphotChipParams_Threaded; 91 psThreadTaskAdd(task); 92 psFree(task); 93 89 94 return true; 90 95 }
Note:
See TracChangeset
for help on using the changeset viewer.
