IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 6, 2006, 3:00:08 PM (20 years ago)
Author:
eugene
Message:

fixed header interaction with pmSourceIO_CMP

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psastro/src/psastroChipAstrom.c

    r8780 r9367  
    5252                if (refstars == NULL) { continue; }
    5353
    54                 psastroOneChip (fpa, chip, refstars, rawstars, recipe);
     54                // save WCS and analysis metadata in update header
     55                psMetadata *updates = psMetadataAlloc();
    5556
    56                 // read WCS data from the corresponding header
    57                 pmHDU *hdu = pmFPAviewThisHDU (view, fpa);
    58                 pmAstromWriteWCS (chip->toFPA, fpa->toSky, hdu->header, plateScale);
     57                psastroOneChip (fpa, chip, refstars, rawstars, recipe, updates);
     58                pmAstromWriteWCS (chip->toFPA, fpa->toSky, updates, plateScale);
     59                psMetadataAdd (readout->analysis, PS_LIST_TAIL, "PSASTRO.HEADER",  PS_DATA_METADATA, "psastro header stats", updates);
    5960            }
    6061        }
Note: See TracChangeset for help on using the changeset viewer.