IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

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

modifiy pmPSF_AxesToModel to take model type

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20110710/psModules/src/objects/pmSourceIO_CMF.c.in

    r31992 r32149  
    292292        @ALL@     dPAR[PM_PAR_I0]   = (isfinite(source->psfMag)) ? PAR[PM_PAR_I0] * source->psfMagErr : NAN;
    293293
    294         pmPSF_AxesToModel (PAR, axes);
     294        pmPSF_AxesToModel (PAR, axes, modelType);
    295295
    296296        @ALL@     float peakMag     = psMetadataLookupF32 (&status, row, "PEAK_FLUX_AS_MAG");
     
    607607            yErr = dPAR[PM_PAR_YPOS];
    608608
    609             axes = pmPSF_ModelToAxes (PAR, 20.0);
     609            axes = pmPSF_ModelToAxes (PAR, 20.0, model->type);
    610610
    611611            row = psMetadataAlloc ();
Note: See TracChangeset for help on using the changeset viewer.