Changeset 7592
- Timestamp:
- Jun 16, 2006, 4:01:17 PM (20 years ago)
- Location:
- trunk/ppImage/src
- Files:
-
- 1 added
- 6 edited
-
Makefile.am (modified) (1 diff)
-
ppImage.h (modified) (1 diff)
-
ppImageAstrom.c (modified) (1 diff)
-
ppImageLoop.c (modified) (2 diffs)
-
ppImageMosaic.c (added)
-
ppImageParseCamera.c (modified) (3 diffs)
-
ppImagePhotom.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppImage/src/Makefile.am
r7531 r7592 19 19 ppImageDetrendNonLinear.c \ 20 20 ppImageRebinReadout.c \ 21 ppImageMosaic.c \ 21 22 ppImagePhotom.c \ 22 23 ppImageAstrom.c -
trunk/ppImage/src/ppImage.h
r7531 r7592 39 39 bool ppImageAstrom (pmConfig *config); 40 40 41 bool ppImageMosaicChip (pmChip *chip, pmConfig *config, const pmFPAview *view); 42 41 43 #endif -
trunk/ppImage/src/ppImageAstrom.c
r7581 r7592 13 13 // mode is 'REFERENCE' to prevent double frees of the fpa 14 14 pmFPAfile *output = psMetadataLookupPtr (&status, config->files, "PSPHOT.OUTPUT"); 15 input = pmFPAfileDefineInput (config ->files, config->camera, output->fpa, "PSASTRO.INPUT");15 input = pmFPAfileDefineInput (config, output->fpa, "PSASTRO.INPUT"); 16 16 input->mode = PM_FPA_MODE_REFERENCE; 17 17 18 pmFPAfileDefineOutput (config ->files, config->camera, input->fpa, "PSPHOT.OUTPUT");18 pmFPAfileDefineOutput (config, input->fpa, "PSPHOT.OUTPUT"); 19 19 20 20 // supply the output name (from cmd-line) to all output (WRITE) files -
trunk/ppImage/src/ppImageLoop.c
r7585 r7592 45 45 } 46 46 47 // ppImageChipMosaic (config, view);47 ppImageMosaicChip (chip, config, view); 48 48 49 49 // we perform photometry on the readouts of this chip in the output … … 51 51 52 52 if (!pmFPAfileIOChecks (config, view, PM_FPA_AFTER)) return false; 53 54 // XXX paul added these frees: make sure the same is happening in the pmFileIOChecks55 // Now I can blow away the mosaic so I can then read more.56 // psFree(inputChip);57 // psFree(biasChip);58 // psFree(darkChip);59 // psFree(maskChip);60 // psFree(flatChip);61 // ppMemUsed();62 53 } 63 54 -
trunk/ppImage/src/ppImageParseCamera.c
r7581 r7592 22 22 23 23 // the following files are output targets 24 pmFPAfileDefineOutput (config->files, config->camera, input->fpa, "PPIMAGE.OUTPUT"); 24 pmFPAfileDefineOutput (config, input->fpa, "PPIMAGE.OUTPUT"); 25 pmFPAfileDefineNewCamera (config, "PPIMAGE.OUTPUT.CHIP"); 25 26 26 27 // the following are defined from the argument list, if given, … … 58 59 pmFPAfile *file = pmFPAfileDefineFromFPA (config, input->fpa, options->xBin1, options->yBin1, "PPIMAGE.BIN1"); 59 60 if (options->doBin1JPG) { 60 pmFPAfileDefineOutput (config ->files, config->camera, file->fpa, "PPIMAGE.JPEG1");61 pmFPAfileDefineOutput (config, file->fpa, "PPIMAGE.JPEG1"); 61 62 } 62 63 } … … 64 65 pmFPAfile *file = pmFPAfileDefineFromFPA (config, input->fpa, options->xBin2, options->yBin2, "PPIMAGE.BIN2"); 65 66 if (options->doBin2JPG) { 66 pmFPAfileDefineOutput (config ->files, config->camera, file->fpa, "PPIMAGE.JPEG2");67 pmFPAfileDefineOutput (config, file->fpa, "PPIMAGE.JPEG2"); 67 68 } 68 69 } -
trunk/ppImage/src/ppImagePhotom.c
r7581 r7592 29 29 // mode is 'REFERENCE' to prevent double frees of the fpa 30 30 pmFPAfile *output = psMetadataLookupPtr (&status, config->files, "PPIMAGE.OUTPUT"); 31 input = pmFPAfileDefineInput (config ->files, config->camera, output->fpa, "PSPHOT.INPUT");31 input = pmFPAfileDefineInput (config, output->fpa, "PSPHOT.INPUT"); 32 32 input->mode = PM_FPA_MODE_REFERENCE; 33 33 34 pmFPAfileDefineOutput (config ->files, config->camera, input->fpa, "PSPHOT.OUTPUT");34 pmFPAfileDefineOutput (config, input->fpa, "PSPHOT.OUTPUT"); 35 35 36 36 // supply the output name (from cmd-line) to all output (WRITE) files
Note:
See TracChangeset
for help on using the changeset viewer.
