Changeset 10855 for trunk/psastro/src/psastroChooseRefstars.c
- Timestamp:
- Dec 29, 2006, 8:36:33 AM (20 years ago)
- File:
-
- 1 edited
-
trunk/psastro/src/psastroChooseRefstars.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psastro/src/psastroChooseRefstars.c
r10830 r10855 56 56 psArray *refstars = psArrayAllocEmpty (100); 57 57 58 FILE *f = fopen ("refstars.dat", "w"); 59 58 60 // select the reference objects within range of this readout 59 61 // project the reference objects to this chip … … 64 66 psPlaneTransformApply (ref->FP, fpa->fromTPA, ref->TP); 65 67 psPlaneTransformApply (ref->chip, chip->fromFPA, ref->FP); 68 69 fprintf (f, "%d %f %f %f %f %f %f %f %f\n", i, 70 ref->sky->r, ref->sky->d, 71 ref->TP->x, ref->TP->y, 72 ref->FP->x, ref->FP->y, 73 ref->chip->x, ref->chip->y); 66 74 67 75 // limit the X,Y range of the refs to the selected chip … … 75 83 psFree (ref); 76 84 } 85 fclose (f); 77 86 psTrace ("psastro", 4, "Added %ld refstars\n", refstars->n); 78 87
Note:
See TracChangeset
for help on using the changeset viewer.
