IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 15258


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)

Location:
trunk/psastro/src
Files:
3 edited

Legend:

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

    r13656 r15258  
    6161        for (int j = 0; j <= fpa->toTPA->x->nY; j++) {
    6262            if (i + j > order) {
    63                 fpa->toTPA->x->mask[i][j] = 1;
    64                 fpa->toTPA->y->mask[i][j] = 1;
     63                fpa->toTPA->x->coeffMask[i][j] = PS_POLY_MASK_SET;
     64                fpa->toTPA->y->coeffMask[i][j] = PS_POLY_MASK_SET;
    6565            }
    6666        }
  • trunk/psastro/src/psastroOneChip.c

    r15201 r15258  
    108108            for (int j = 0; j <= chip->toFPA->x->nY; j++) {
    109109                if (i + j > order) {
    110                     chip->toFPA->x->mask[i][j] = 1;
    111                     chip->toFPA->y->mask[i][j] = 1;
     110                    chip->toFPA->x->coeffMask[i][j] = PS_POLY_MASK_SET;
     111                    chip->toFPA->y->coeffMask[i][j] = PS_POLY_MASK_SET;
    112112                }
    113113            }
  • 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.