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_SMPDATA.c

    r31451 r32149  
    9292            lsky = (source->sky < 1.0) ? 0.0 : log10(source->sky);
    9393
    94             axes = pmPSF_ModelToAxes (PAR, 20.0);
     94            axes = pmPSF_ModelToAxes (PAR, 20.0, model->type);
    9595
    9696        } else {
     
    190190        axes.theta       = psMetadataLookupF32 (&status, row, "THETA");
    191191
    192         pmPSF_AxesToModel (PAR, axes);
     192        pmPSF_AxesToModel (PAR, axes, modelType);
    193193
    194194        source->psfMag = psMetadataLookupF32 (&status, row, "MAG_RAW") - ZERO_POINT;
Note: See TracChangeset for help on using the changeset viewer.