IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 28, 2020, 1:26:07 PM (6 years ago)
Author:
tdeboer
Message:

gpc2 dynamic masking set up

File:
1 edited

Legend:

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

    r41342 r41348  
    424424                        psastroGhost *ghost = ghosts->data[i];
    425425                        //offset the ghost angles with the astrometric rotation angle
    426                         ghost->inner.theta -= (ROT_PARITY * ROTANGLE);
    427                         ghost->outer.theta -= (ROT_PARITY * ROTANGLE);
     426                        ghost->inner.theta = ghost->inner.theta - AST_T0;
     427                        ghost->outer.theta = ghost->outer.theta - AST_T0;
    428428                        // XXX bright vs faint ghost bits? (OR with SUSPECT)
    429429                        psastroMaskEllipticalAnnulus (readoutMask->mask, ghostMaskValue, ghost->chip->x, ghost->chip->y, ghost->inner, ghost->outer);
     
    444444                        //psastroMaskRectangle (readoutMask->mask, glintMaskValue, glint->x0, glint->y0, glint->x1, glint->y1);
    445445
     446                        psLogMsg ("psastro", 3, "glint: %d %f %f %f %f %f\n",i, glint->data.F32[0], glint->data.F32[1],glint->data.F32[2], glint->data.F32[3], glint->data.F32[4]);
    446447                        psastroMaskBox (readoutMask->mask, glintMaskValue, glint->data.F32[0], glint->data.F32[1],
    447448                                    glint->data.F32[2], glint->data.F32[3], glint->data.F32[4]);
Note: See TracChangeset for help on using the changeset viewer.