Changeset 10815
- Timestamp:
- Dec 20, 2006, 6:44:45 AM (20 years ago)
- Location:
- trunk/psastro/src
- Files:
-
- 2 edited
-
psastroMosaicAstrom.c (modified) (1 diff)
-
psastroMosaicRescaleChips.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psastro/src/psastroMosaicAstrom.c
r10613 r10815 28 28 29 29 // XXX no input distortion model yet; existing fpa distortion is identity: replace it 30 // XXX make this a test if these are NULL; the load step can NULL them if nothing is loaded 31 // XXX if we have an input distortion model, the gradient is measuring the error rel to that model 32 // XXX how does this couple to the individual chip fits? 30 33 psFree (fpa->toTPA); 31 34 psFree (fpa->fromTPA); -
trunk/psastro/src/psastroMosaicRescaleChips.c
r9574 r10815 1 1 # include "psastro.h" 2 3 // XXX what is this doing? 4 // shouldn't it be doing toFPA -> fromFPA 2 5 3 6 bool psastroMosaicRescaleChips (pmFPA *fpa) { … … 7 10 8 11 // this loop selects the matched stars for all chips 12 13 // psRegion region = psMetadataLookupXXX (chip->concepts, "CHIP.TRIMSEC"); 14 // psRegion region = psRegionSet (0, 4000, 0, 4000); 15 // chip->fromFPA = psPlaneTransformInvert(NULL, toFPA, region, 50); 16 9 17 while ((chip = pmFPAviewNextChip (view, fpa, 1)) != NULL) { 10 18 psTrace ("psastro", 4, "Chip %d: %x %x\n", view->chip, chip->file_exists, chip->process); 11 19 if (!chip->process || !chip->file_exists) { continue; } 12 13 psFree (chip->toFPA);14 chip-> toFPA = p_psPlaneTransformLinearInvert(chip->fromFPA);20 21 // XXX make '50' be a fraction of the chip size? 22 chip->fromFPA = psPlaneTransformInvert(chip->fromFPA, chip->toFPA, region, 50); 15 23 } 16 24 psFree (view);
Note:
See TracChangeset
for help on using the changeset viewer.
