IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 5122


Ignore:
Timestamp:
Sep 25, 2005, 9:17:19 PM (21 years ago)
Author:
eugene
Message:

added code to force local sky to value from moments (not used)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psphot/src/pmObjects_EAM.c

    r5049 r5122  
    66 *  @author EAM, IfA: significant modifications.
    77 *
    8  *  @version $Revision: 1.6 $ $Name: not supported by cvs2svn $
    9  *  @date $Date: 2005-09-14 02:06:55 $
     8 *  @version $Revision: 1.7 $ $Name: not supported by cvs2svn $
     9 *  @date $Date: 2005-09-26 07:17:19 $
    1010 *
    1111 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    16411641                ymodel = modelFunc (NULL, model->params, coord);
    16421642               
    1643                 // this test enhances the weight based on deviation from the model flux
     1643                // this test modifies the weight based on deviation from the model flux
    16441644                Ro = 1.0 + fabs (y->data.F32[tmpCnt] - ymodel) / sqrt(PS_SQR(ymodel - So) + PS_SQR(So));
    16451645
     
    16671667            paramMask->data.U8[i] = 1;
    16681668        }
    1669     } 
     1669    }
     1670    # if (0)
     1671    else {
     1672        // try keeping the moments sky -- unsuccessful
     1673        for (int i = 1; i < paramMask->n; i++) {
     1674            paramMask->data.U8[i] = 0;
     1675        }
     1676        paramMask->data.U8[0] = 1;
     1677    }
     1678    # endif
     1679
    16701680
    16711681    // XXX EAM : I've added three types of parameter range checks
Note: See TracChangeset for help on using the changeset viewer.