Changeset 10185 for trunk/psphot/src/psphotOutput.c
- Timestamp:
- Nov 24, 2006, 11:06:14 AM (20 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/psphotOutput.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psphotOutput.c
r10096 r10185 1 1 # include "psphot.h" 2 3 pmReadout *psphotSelectBackground (pmConfig *config, pmFPAview *view) { 4 5 bool status; 6 pmReadout *background; 7 8 pmFPAfile *file = psMetadataLookupPtr (&status, config->files, "PSPHOT.BACKMDL"); 9 if (!file) return NULL; 10 if (file->mode == PM_FPA_MODE_INTERNAL) { 11 background = file->readout; 12 } else { 13 background = pmFPAviewThisReadout (view, file->fpa); 14 } 15 return background; 16 } 17 18 bool psphotDumpConfig (pmConfig *config) { 19 20 psMetadataConfigWrite (config->site, "site.md"); 21 psMetadataConfigWrite (config->camera, "camera.md"); 22 psMetadataConfigWrite (config->recipes, "recipes.md"); 23 psMetadataConfigWrite (config->arguments, "arguments.md"); 24 psMetadataConfigWrite (config->files, "files.md"); 25 return true; 26 } 2 27 3 28 int psphotSaveImage (psMetadata *header, psImage *image, char *filename) {
Note:
See TracChangeset
for help on using the changeset viewer.
