- Timestamp:
- Apr 19, 2013, 4:45:57 PM (13 years ago)
- Location:
- branches/eam_branches/ipp-20130419
- Files:
-
- 4 edited
-
. (modified) (1 prop)
-
psphot (modified) (1 prop)
-
psphot/src (modified) (1 prop)
-
psphot/src/psphotSourceFits.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20130419
-
branches/eam_branches/ipp-20130419/psphot
- Property svn:mergeinfo changed
/branches/eam_branches/ipp-20130307/psphot (added) merged: 35322,35350,35377,35413
- Property svn:mergeinfo changed
-
branches/eam_branches/ipp-20130419/psphot/src
- Property svn:mergeinfo changed
/branches/eam_branches/ipp-20130307/psphot/src (added) merged: 35322,35350,35377,35413
- Property svn:mergeinfo changed
-
branches/eam_branches/ipp-20130419/psphot/src/psphotSourceFits.c
r34258 r35421 457 457 458 458 // use the source moments, etc to guess basic model parameters 459 pmModel *model = pmSourceModelGuess (source, modelType );459 pmModel *model = pmSourceModelGuess (source, modelType, maskVal, markVal); 460 460 if (!model) { 461 461 psTrace ("psphot", 5, "failed to generate a model for source: moments: %f %f\n", source->moments->Mxx, source->moments->Myy); … … 625 625 model->params->data.F32[PM_PAR_7] = 0.5/indexGuess[i]; 626 626 627 if (!model->modelGuess(model, source )) {627 if (!model->modelGuess(model, source, maskVal, markVal)) { 628 628 model->flags |= PM_MODEL_STATUS_BADARGS; 629 629 return false; … … 648 648 model->flags = PM_MODEL_STATUS_NONE; // do not attempt to handle failures here, let the next iteration deal with it 649 649 model->params->data.F32[PM_PAR_7] = 0.5/indexGuess[iMin]; 650 model->modelGuess(model, source );650 model->modelGuess(model, source, maskVal, markVal); 651 651 652 652 return true; … … 677 677 model->params->data.F32[PM_PAR_7] = indexGuess[i]; 678 678 679 if (!model->modelGuess(model, source )) {679 if (!model->modelGuess(model, source, maskVal, markVal)) { 680 680 model->flags |= PM_MODEL_STATUS_BADARGS; 681 681 return false;
Note:
See TracChangeset
for help on using the changeset viewer.
