IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 23, 2007, 10:54:53 AM (19 years ago)
Author:
eugene
Message:

adding pieces for astrometry table I/O, extended source analysis

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branch_20071023/psModules/src/objects/pmModel.c

    r14938 r15359  
    66 *  @author EAM, IfA
    77 *
    8  *  @version $Revision: 1.15 $ $Name: not supported by cvs2svn $
    9  *  @date $Date: 2007-09-21 00:04:07 $
     8 *  @version $Revision: 1.15.6.1 $ $Name: not supported by cvs2svn $
     9 *  @date $Date: 2007-10-23 20:54:53 $
    1010 *
    1111 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    217217        Ro = psImageInterpolateOptionsAlloc(
    218218            PS_INTERPOLATE_BILINEAR,
    219             model->residuals->Ro, NULL, NULL, 0, 0.0, 0.0, 1, 0, 0.0);
     219            model->residuals->Ro, NULL, model->mask, 0, 0.0, 0.0, 1, 0, 0.0);
    220220        Rx = psImageInterpolateOptionsAlloc(
    221221            PS_INTERPOLATE_BILINEAR,
     
    257257                float oy = yBin*(imageRow + 0.5 - yCenter) + yResidCenter;
    258258
     259                psU8 mflux = 0;
    259260                if (mode & PM_MODEL_OP_RES0) {
    260                     psU8 mflux = 0;
    261261                    double Fo = 0.0;
    262262                    psImageInterpolate (&Fo, NULL, &mflux, ox, oy, Ro);
     
    265265                    }
    266266                }
    267                 if (mode & PM_MODEL_OP_RES1) {
    268                     psU8 mflux = 0;
     267                // skip Rx,Ry if Ro is masked
     268                if (!mflux && (mode & PM_MODEL_OP_RES1)) {
    269269                    double Fx = 0.0;
    270270                    double Fy = 0.0;
Note: See TracChangeset for help on using the changeset viewer.