Changeset 5350 for trunk/psphot/src/psphotSetup.c
- Timestamp:
- Oct 17, 2005, 8:07:54 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/psphotSetup.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psphotSetup.c
r5134 r5350 21 21 // XXX EAM - shouldn't this be part of the basic FITS concept? 22 22 header = psMetadataAlloc (); 23 psMetadataAdd (header, PS_LIST_HEAD, "COMMENT", PS_ META_MULTI, "folder for comment", NULL);24 psMetadataAdd (header, PS_LIST_HEAD, "HISTORY", PS_ META_MULTI, "folder for history", NULL);23 psMetadataAdd (header, PS_LIST_HEAD, "COMMENT", PS_DATA_METADATA_MULTI, "folder for comment", NULL); 24 psMetadataAdd (header, PS_LIST_HEAD, "HISTORY", PS_DATA_METADATA_MULTI, "folder for history", NULL); 25 25 26 26 // read header and image data from INPUT … … 38 38 float RDNOISE = pmConfigLookupF32 (&status, config, header, "RDNOISE"); 39 39 float GAIN = pmConfigLookupF32 (&status, config, header, "GAIN"); 40 psMetadataAdd (config, PS_LIST_TAIL, "RDNOISE", PS_ META_F32 | PS_META_REPLACE, "read noise value used", RDNOISE);41 psMetadataAdd (config, PS_LIST_TAIL, "GAIN", PS_ META_F32 | PS_META_REPLACE, "gain value used", GAIN);40 psMetadataAdd (config, PS_LIST_TAIL, "RDNOISE", PS_DATA_F32 | PS_META_REPLACE, "read noise value used", RDNOISE); 41 psMetadataAdd (config, PS_LIST_TAIL, "GAIN", PS_DATA_F32 | PS_META_REPLACE, "gain value used", GAIN); 42 42 43 43 // load the weight image if it is supplied, otherwise build from input
Note:
See TracChangeset
for help on using the changeset viewer.
