IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 19, 2007, 3:33:48 PM (18 years ago)
Author:
eugene
Message:

update boresite model to fit boresite path

File:
1 edited

Legend:

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

    r15880 r15887  
    4545
    4646    // temp data vectors
    47     psVector *posZero = psVectorAlloc (files->n, PS_TYPE_F32);
    48     psVector *Lo      = psVectorAlloc (files->n, PS_TYPE_F32);
    49     psVector *Mo      = psVectorAlloc (files->n, PS_TYPE_F32);
     47    psVector *posZero  = psVectorAlloc (files->n, PS_TYPE_F32);
     48    psVector *Po       = psVectorAlloc (files->n, PS_TYPE_F32);
     49    psVector *Lo       = psVectorAlloc (files->n, PS_TYPE_F32);
     50    psVector *Mo       = psVectorAlloc (files->n, PS_TYPE_F32);
    5051
    5152    int n = 0;
     
    7172        while (posZero->data.F32[n] <   0.0) posZero->data.F32[n] += 360.0;
    7273
     74        Po->data.F32[n] = POSANGLE * PM_RAD_DEG;
    7375        Lo->data.F32[n] = chip->toFPA->x->coeff[0][0];
    7476        Mo->data.F32[n] = chip->toFPA->y->coeff[0][0];
     
    7981    Lo->n = n;
    8082    Mo->n = n;
     83    Po->n = n;
    8184    posZero->n = n;
    8285
     
    8689    fprintf (stderr, "pos zero %f +/- %f\n", stats->sampleMedian, stats->sampleStdev);
    8790
     91    psastroModelFitBoresite (Lo, Mo, Po);
     92
    8893    return true;
    8994}
Note: See TracChangeset for help on using the changeset viewer.