IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 17, 2005, 8:07:54 AM (21 years ago)
Author:
eugene
Message:

changes to sync with v0.8.0: PS_META_* to PS_DATA_*, etc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psphot/src/psphotSetup.c

    r5134 r5350  
    2121    // XXX EAM - shouldn't this be part of the basic FITS concept?
    2222    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);
    2525
    2626    // read header and image data from INPUT
     
    3838    float RDNOISE  = pmConfigLookupF32 (&status, config, header, "RDNOISE");
    3939    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);
    4242
    4343    // load the weight image if it is supplied, otherwise build from input
Note: See TracChangeset for help on using the changeset viewer.