Changeset 34172
- Timestamp:
- Jul 17, 2012, 1:25:52 PM (14 years ago)
- Location:
- branches/eam_branches/ipp-20120627/psphot/src
- Files:
-
- 2 added
- 6 edited
-
Makefile.am (modified) (3 diffs)
-
psphot.h (modified) (2 diffs)
-
psphotForced.c (modified) (1 diff)
-
psphotImageLoop.c (modified) (1 diff)
-
psphotMinimal.c (added)
-
psphotMinimalArguments.c (added)
-
psphotReadoutMinimal.c (modified) (1 diff)
-
psphotSourceSize.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20120627/psphot/src/Makefile.am
r34086 r34172 25 25 libpsphot_la_LDFLAGS = $(PSPHOT_LIBS) $(PSMODULE_LIBS) $(PSLIB_LIBS) 26 26 27 bin_PROGRAMS = psphot psphotForced psphotM akePSF psphotStack psphotModelTest27 bin_PROGRAMS = psphot psphotForced psphotMinimal psphotMakePSF psphotStack psphotModelTest 28 28 # bin_PROGRAMS = psphotPetrosianStudy psphotTest psphotMomentsStudy 29 29 … … 35 35 psphotForced_LDFLAGS = $(PSPHOT_LIBS) $(PSMODULE_LIBS) $(PSLIB_LIBS) 36 36 psphotForced_LDADD = libpsphot.la 37 38 psphotMinimal_CFLAGS = $(PSPHOT_CFLAGS) $(PSMODULE_CFLAGS) $(PSLIB_CFLAGS) 39 psphotMinimal_LDFLAGS = $(PSPHOT_LIBS) $(PSMODULE_LIBS) $(PSLIB_LIBS) 40 psphotMinimal_LDADD = libpsphot.la 37 41 38 42 psphotMakePSF_CFLAGS = $(PSPHOT_CFLAGS) $(PSMODULE_CFLAGS) $(PSLIB_CFLAGS) … … 73 77 psphotForced.c \ 74 78 psphotForcedArguments.c \ 79 psphotParseCamera.c \ 80 psphotImageLoop.c \ 81 psphotMosaicChip.c \ 82 psphotCleanup.c 83 84 # forced photometry of specified positions given a specified psf 85 psphotMinimal_SOURCES = \ 86 psphotMinimal.c \ 87 psphotMinimalArguments.c \ 75 88 psphotParseCamera.c \ 76 89 psphotImageLoop.c \ -
branches/eam_branches/ipp-20120627/psphot/src/psphot.h
r34086 r34172 20 20 PSPHOT_MAKE_PSF, 21 21 PSPHOT_MODEL_TEST, 22 PSPHOT_MINIMAL, 22 23 } psphotImageLoopMode; 23 24 … … 331 332 bool psphotForcedReadout(pmConfig *config, const pmFPAview *view, const char *filerule); 332 333 334 pmConfig *psphotMinimalArguments(int argc, char **argv); 335 bool psphotReadoutMinimal(pmConfig *config, const pmFPAview *view, const char *filerule); 336 333 337 pmConfig *psphotMakePSFArguments(int argc, char **argv); 334 338 bool psphotMakePSFReadout(pmConfig *config, const pmFPAview *view, const char *filerule); -
branches/eam_branches/ipp-20120627/psphot/src/psphotForced.c
r31154 r34172 1 1 # include "psphotStandAlone.h" 2 # define FORCED_PHOTOMETRY 13 2 4 3 int main (int argc, char **argv) { -
branches/eam_branches/ipp-20120627/psphot/src/psphotImageLoop.c
r34086 r34172 118 118 } 119 119 break; 120 case PSPHOT_MINIMAL: 121 if (!psphotReadoutMinimal (config, view, "PSPHOT.INPUT")) { 122 psError(psErrorCodeLast(), false, "failure in psphotReadout for chip %d, cell %d, readout %d\n", view->chip, view->cell, view->readout); 123 psFree (view); 124 return false; 125 } 126 break; 120 127 case PSPHOT_FORCED: 121 128 if (!psphotForcedReadout (config, view, "PSPHOT.INPUT")) { -
branches/eam_branches/ipp-20120627/psphot/src/psphotReadoutMinimal.c
r33842 r34172 72 72 psphotFitSourcesLinear (config, view, filerule, false); 73 73 74 // XXX eventually, add the extended source fits here75 # if (0)76 74 // measure source size for the remaining sources 77 psphotSourceSize (config, view, filerule );75 psphotSourceSize (config, view, filerule, false); 78 76 79 psphotExtendedSourceAnalysis (config, view, filerule); 77 // NOTE: Petrosian and Isophotal mags are not relevant at this time 78 // psphotExtendedSourceAnalysis (config, view, filerule); 80 79 80 // in ppSub context, this is used to fit TRAILs (and maybe EXP for comets) 81 81 psphotExtendedSourceFits (config, view, filerule); 82 # endif83 82 84 83 // calculate source magnitudes -
branches/eam_branches/ipp-20120627/psphot/src/psphotSourceSize.c
r32633 r34172 520 520 continue; 521 521 } 522 523 // XXX in the ppSub context, do we get sensible values for ApResid? 522 524 523 525 // set nSigmaMAG to include both systematic and poisson error terms. we include a hard
Note:
See TracChangeset
for help on using the changeset viewer.
