Changeset 10880 for trunk/psastro/src/psastroChooseRefstars.c
- Timestamp:
- Jan 2, 2007, 3:26:52 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/psastro/src/psastroChooseRefstars.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psastro/src/psastroChooseRefstars.c
r10855 r10880 56 56 psArray *refstars = psArrayAllocEmpty (100); 57 57 58 FILE *f = fopen ("refstars.dat", "w");59 60 58 // select the reference objects within range of this readout 61 59 // project the reference objects to this chip … … 66 64 psPlaneTransformApply (ref->FP, fpa->fromTPA, ref->TP); 67 65 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);74 66 75 67 // limit the X,Y range of the refs to the selected chip … … 83 75 psFree (ref); 84 76 } 85 fclose (f);86 77 psTrace ("psastro", 4, "Added %ld refstars\n", refstars->n); 87 78
Note:
See TracChangeset
for help on using the changeset viewer.
