IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 9, 2007, 9:57:44 AM (19 years ago)
Author:
eugene
Message:

changed mask to coeffMask, define PS_POLY_MASK_FIT,SET; distinguish between coeffs masked for fitting (FIT) and masked for evaluation (SET)

File:
1 edited

Legend:

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

    r12806 r15258  
    3131    for (int i = 0; i < map->x->nX + 1; i++) {
    3232        for (int j = 0; j < map->x->nY + 1; j++) {
    33             if (map->x->mask[i][j]) continue;
     33            if (map->x->coeffMask[i][j] & PS_POLY_MASK_SET) continue;
    3434            psLogMsg ("psastro", 4, "x term %d,%d: %f +/- %f\n", i, j, map->x->coeff[i][j], map->x->coeffErr[i][j]);
    3535        }
     
    3838    for (int i = 0; i < map->y->nX + 1; i++) {
    3939        for (int j = 0; j < map->y->nY + 1; j++) {
    40             if (map->y->mask[i][j]) continue;
     40            if (map->y->coeffMask[i][j] & PS_POLY_MASK_SET) continue;
    4141            psLogMsg ("psastro", 4, "y term %d,%d: %f +/- %f\n", i, j, map->y->coeff[i][j], map->y->coeffErr[i][j]);
    4242        }
Note: See TracChangeset for help on using the changeset viewer.