Changeset 11472
- Timestamp:
- Jan 30, 2007, 5:50:04 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/psastro/src/psastroUtils.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psastro/src/psastroUtils.c
r10880 r11472 80 80 81 81 // XXX this region needs to be defined more intelligently 82 psRegion region = {0, 0, 2000, 4500}; 82 // psRegion *region = pmChipExtent (chip); 83 psRegion *region = psRegionAlloc (0, 2000, 0, 2000); 84 83 85 psFree (chip->fromFPA); 84 chip->fromFPA = psPlaneTransformInvert (NULL, chip->toFPA, region, 20); 86 chip->fromFPA = psPlaneTransformInvert (NULL, chip->toFPA, *region, 20); 87 88 // PS_POLY_PRINT_2D(chip->toFPA->x); 89 // PS_POLY_PRINT_2D(chip->toFPA->y); 90 91 // PS_POLY_PRINT_2D(chip->fromFPA->x); 92 // PS_POLY_PRINT_2D(chip->fromFPA->y); 85 93 86 94 for (int i = 0; i < rawstars->n; i++) { … … 97 105 } 98 106 107 psFree (region); 99 108 return true; 100 109 }
Note:
See TracChangeset
for help on using the changeset viewer.
