IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 5, 2024, 12:29:41 PM (2 years ago)
Author:
eugene
Message:

add option in psphot to fit the PSF star positions as well as shapes (default is false); add option to use robustMedian vs clippedMean for moments-based source sizes and PSF star selection; reduce chance of choosing galaxies for PSF stars

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20230313/psModules/src/objects/pmSourceFitModel.c

    r42093 r42710  
    189189        constraint->paramMask->data.PS_TYPE_VECTOR_MASK_DATA[PM_PAR_XPOS] = 0;
    190190        constraint->paramMask->data.PS_TYPE_VECTOR_MASK_DATA[PM_PAR_YPOS] = 0;
     191        break;
     192      case PM_SOURCE_FIT_FULL:
     193        // PSFstar Full model fits all shape params and Xo, Yo, Io (not sky)
     194        nParams = params->n - 1;
     195        psVectorInit (constraint->paramMask, 0);
     196        constraint->paramMask->data.PS_TYPE_VECTOR_MASK_DATA[PM_PAR_SKY] = 1;
    191197        break;
    192198      case PM_SOURCE_FIT_EXT:
     
    270276    model->nPar = nParams;
    271277
    272     psTrace ("psModules.objects", 4, "niter: %d, chisq: %f", myMin->iter, myMin->value);
     278    psTrace ("psModules.objects", 4, "niter: %d, chisq: %f, status: %d", myMin->iter, myMin->value, fitStatus);
    273279
    274280    // save the resulting chisq, nDOF, nIter
Note: See TracChangeset for help on using the changeset viewer.