Changeset 9367
- Timestamp:
- Oct 6, 2006, 3:00:08 PM (20 years ago)
- Location:
- trunk/psastro/src
- Files:
-
- 3 edited
-
psastroChipAstrom.c (modified) (1 diff)
-
psastroMosaicChipAstrom.c (modified) (1 diff)
-
psastroOneChip.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psastro/src/psastroChipAstrom.c
r8780 r9367 52 52 if (refstars == NULL) { continue; } 53 53 54 psastroOneChip (fpa, chip, refstars, rawstars, recipe); 54 // save WCS and analysis metadata in update header 55 psMetadata *updates = psMetadataAlloc(); 55 56 56 // read WCS data from the corresponding header57 pm HDU *hdu = pmFPAviewThisHDU (view, fpa);58 p mAstromWriteWCS (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); 59 60 } 60 61 } -
trunk/psastro/src/psastroMosaicChipAstrom.c
r8780 r9367 36 36 if (match == NULL) { continue; } 37 37 38 pmAstromMatchFit (chip->toFPA, rawstars, refstars, match, recipe); 38 // need to pass in an update header, sent in from above 39 pmAstromMatchFit (chip->toFPA, rawstars, refstars, match, recipe, NULL); 39 40 } 40 41 } -
trunk/psastro/src/psastroOneChip.c
r8780 r9367 5 5 # include "psastro.h" 6 6 7 bool psastroOneChip (pmFPA *fpa, pmChip *chip, psArray *refstars, psArray *rawstars, psMetadata *recipe ) {7 bool psastroOneChip (pmFPA *fpa, pmChip *chip, psArray *refstars, psArray *rawstars, psMetadata *recipe, psMetadata *updates) { 8 8 9 9 // bool status; … … 31 31 32 32 // improved fit for astrometric terms 33 pmAstromMatchFit (chip->toFPA, rawstars, refstars, match, recipe );33 pmAstromMatchFit (chip->toFPA, rawstars, refstars, match, recipe, updates); 34 34 psastroUpdateChipToFPA (fpa, chip, rawstars, refstars); 35 35
Note:
See TracChangeset
for help on using the changeset viewer.
