IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 2, 2007, 3:26:52 PM (19 years ago)
Author:
eugene
Message:

fixed mosaic analysis; cleaned up test code (some in traces, some removed), general output cleanups

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psastro/src/psastroChooseRefstars.c

    r10855 r10880  
    5656                psArray *refstars = psArrayAllocEmpty (100);
    5757
    58                 FILE *f = fopen ("refstars.dat", "w");
    59 
    6058                // select the reference objects within range of this readout
    6159                // project the reference objects to this chip
     
    6664                    psPlaneTransformApply (ref->FP, fpa->fromTPA, ref->TP);
    6765                    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);
    7466
    7567                    // limit the X,Y range of the refs to the selected chip
     
    8375                    psFree (ref);
    8476                }
    85                 fclose (f);
    8677                psTrace ("psastro", 4, "Added %ld refstars\n", refstars->n);
    8778
Note: See TracChangeset for help on using the changeset viewer.