Changeset 5122 for trunk/psphot/src/pmObjects_EAM.c
- Timestamp:
- Sep 25, 2005, 9:17:19 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/pmObjects_EAM.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/pmObjects_EAM.c
r5049 r5122 6 6 * @author EAM, IfA: significant modifications. 7 7 * 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 $ 10 10 * 11 11 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 1641 1641 ymodel = modelFunc (NULL, model->params, coord); 1642 1642 1643 // this test enhances the weight based on deviation from the model flux1643 // this test modifies the weight based on deviation from the model flux 1644 1644 Ro = 1.0 + fabs (y->data.F32[tmpCnt] - ymodel) / sqrt(PS_SQR(ymodel - So) + PS_SQR(So)); 1645 1645 … … 1667 1667 paramMask->data.U8[i] = 1; 1668 1668 } 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 1670 1680 1671 1681 // XXX EAM : I've added three types of parameter range checks
Note:
See TracChangeset
for help on using the changeset viewer.
