Changeset 16084
- Timestamp:
- Jan 15, 2008, 2:45:18 PM (18 years ago)
- Location:
- trunk/ppImage/src
- Files:
-
- 1 added
- 5 edited
-
Makefile.am (modified) (2 diffs)
-
ppImage.h (modified) (7 diffs)
-
ppImageAstrom.c (modified) (3 diffs)
-
ppImageDetrendReadout.c (modified) (1 diff)
-
ppImageMemory.c (added)
-
ppImagePhotom.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppImage/src/Makefile.am
r15933 r16084 30 30 ppImageDefineFile.c \ 31 31 ppImageFileCheck.c \ 32 ppImageVersion.c 32 ppImageVersion.c \ 33 ppImageMemory.c 33 34 34 35 ppFocus_CPPFLAGS = $(PSLIB_CFLAGS) $(PSMODULE_CFLAGS) $(PSPHOT_CFLAGS) $(PSASTRO_CFLAGS) $(PPSTATS_CFLAGS) $(ppImage_CFLAGS) … … 58 59 ppImageDefineFile.c \ 59 60 ppImageFileCheck.c \ 60 ppImageVersion.c 61 ppImageVersion.c \ 62 ppImageMemory.c 61 63 62 64 ppTest_CPPFLAGS = $(PSLIB_CFLAGS) $(PSMODULE_CFLAGS) $(ppImage_CFLAGS) -
trunk/ppImage/src/ppImage.h
r15933 r16084 35 35 bool doAstromChip; // per-chip Astrometry 36 36 bool doAstromMosaic; // full-mosaic Astrometry 37 bool doStats; // call ppStats on the image38 bool replaceMasked; // fill in masked values with background model37 bool doStats; // call ppStats on the image 38 bool replaceMasked; // fill in masked values with background model 39 39 40 40 // output files requested … … 70 70 71 71 // binning parameters 72 int xBin1; // x-binning, scale 173 int yBin1; // y-binning, scale 174 int xBin2; // x-binning, scale 275 int yBin2; // y-binning, scale 272 int xBin1; // x-binning, scale 1 73 int yBin1; // y-binning, scale 1 74 int xBin2; // x-binning, scale 2 75 int yBin2; // y-binning, scale 2 76 76 77 77 // parameters used by the fringe analysis … … 150 150 bool ppImageStats (pmConfig *config, pmChip *chip, const pmFPAview *inputView, const ppImageOptions *options); 151 151 152 // write stats to output file 152 // write stats to output file 153 153 bool ppImageStatsOutput (pmConfig *config, const ppImageOptions *options); 154 154 … … 157 157 bool ppImageDetrendFringeMeasure(pmReadout *readout, // Readout to measure 158 158 pmCell *fringe, // Fringe cell (each readout is a different component) 159 const bool isResidual,159 const bool isResidual, 160 160 const ppImageOptions *options // Options 161 161 ); … … 164 164 bool ppImageDetrendFringeSolve(pmChip *scienceChip, // Chip with science 165 165 const pmChip *refChip, // Chip with reference fringes 166 const bool isResidual,166 const bool isResidual, 167 167 const ppImageOptions *options // Options 168 168 ); … … 171 171 bool ppImageDetrendFringeGenerate(pmCell *science, // Science cell 172 172 pmCell *fringes, // Fringe cell, one readout per fringe component 173 const ppImageOptions *options // Options173 const ppImageOptions *options // Options 174 174 ); 175 175 176 176 177 177 bool ppImageDetrendFringeApply (pmConfig *config, // config 178 pmChip *chip, // science chip179 const pmFPAview *inputView, // current view180 const ppImageOptions *options // options178 pmChip *chip, // science chip 179 const pmFPAview *inputView, // current view 180 const ppImageOptions *options // options 181 181 ); 182 182 … … 200 200 void ppImageFileCheck (pmConfig *config); 201 201 202 /// Dump memory summary to text file 203 void ppImageMemoryDump(const char *description); 204 202 205 #endif -
trunk/ppImage/src/ppImageAstrom.c
r15142 r16084 19 19 PS_ASSERT (input, false); 20 20 21 ppImageMemoryDump("astrom"); 22 21 23 // convert the output sources created by psphot into astrometry objects 22 24 if (!psastroConvertFPA (input->fpa, recipe)) { 23 psError (PSASTRO_ERR_UNKNOWN, false, "error reading input data\n");24 return false;25 psError (PSASTRO_ERR_UNKNOWN, false, "error reading input data\n"); 26 return false; 25 27 } 26 28 27 29 if (!psastroAnalysis (config)) { 28 psError (PSASTRO_ERR_UNKNOWN, false, "failure in psastro analysis\n");29 return false;30 psError (PSASTRO_ERR_UNKNOWN, false, "failure in psastro analysis\n"); 31 return false; 30 32 } 31 33 … … 39 41 while ((chip = pmFPAviewNextChip(view, input->fpa, 1)) != NULL) { 40 42 psLogMsg ("ppImageLoop", 4, "Chip %d: %x %x\n", view->chip, chip->file_exists, chip->process); 43 44 ppImageMemoryDump("astrom"); 41 45 42 46 // Output and Close at Chip level … … 53 57 } 54 58 55 // deactivate the PSASTRO files, re-active all else 59 // deactivate the PSASTRO files, re-active all else 56 60 // XXX do we need a way to activate / deactivate other groups? 57 61 pmFPAfileActivate (config->files, true, NULL); -
trunk/ppImage/src/ppImageDetrendReadout.c
r14223 r16084 92 92 } 93 93 94 ppImageMemoryDump("detrend"); 95 94 96 psFree(detview); 95 97 return true; -
trunk/ppImage/src/ppImagePhotom.c
r15944 r16084 43 43 } 44 44 45 ppImageMemoryDump("photom"); 46 45 47 // the PSPHOT.INPUT file is a temporary file used to carry PPIMAGE.CHIP to psphotReadout 46 48 // XXX not sure that this is needed... 47 pmFPAfileActivate (config->files, false, "PSPHOT.INPUT");49 // pmFPAfileActivate (config->files, false, "PSPHOT.INPUT"); 48 50 49 51 return true;
Note:
See TracChangeset
for help on using the changeset viewer.
