IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 21, 2011, 10:27:18 AM (15 years ago)
Author:
eugene
Message:

0.5 pixel error in pmPCM fitting; update sersic-like models to use a more-accurate central pixel flux value; update sersic-like models to have consistent Sxx / axes.major relationship (axes.major is effective radius, not sigma); fix flux integration (sersic-like models have an analytical form, other models were not correctly integrating f(r) rdr)

Location:
branches/eam_branches/ipp-20110710/psModules/src/objects
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20110710/psModules/src/objects

    • Property svn:ignore
      •  

        old new  
        55*.la
        66*.lo
         7pmSourceIO_CMF_PS1_V1.c
         8pmSourceIO_CMF_PS1_V2.c
         9pmSourceIO_CMF_PS1_V3.c
  • branches/eam_branches/ipp-20110710/psModules/src/objects/pmPCM_MinimizeChisq.c

    r31926 r32153  
    290290
    291291            // Convert i/j to image space:
    292             coord->data.F32[0] = (psF32) (j + source->pixels->col0);
    293             coord->data.F32[1] = (psF32) (i + source->pixels->row0);
     292            coord->data.F32[0] = (psF32) (j + 0.5 + source->pixels->col0);
     293            coord->data.F32[1] = (psF32) (i + 0.5 + source->pixels->row0);
    294294
    295295            pcm->modelFlux->data.F32[i][j] = pcm->modelConv->modelFunc (deriv, params, coord);
Note: See TracChangeset for help on using the changeset viewer.