IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 17, 2014, 5:58:38 AM (12 years ago)
Author:
eugene
Message:

merge in changes from trunk (up through pv3 tag)

Location:
branches/eam_branches/ipp-20140610
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20140610

  • branches/eam_branches/ipp-20140610/psModules/src/objects/pmSourceIO_CFF.c

    r36757 r36884  
    3737#include "pmMoments.h"
    3838#include "pmModelFuncs.h"
     39#include "pmModelClass.h"
    3940#include "pmModel.h"
    4041#include "pmModelUtils.h"
    41 #include "pmModelClass.h"
    4242#include "pmSourceMasks.h"
    4343#include "pmSourceExtendedPars.h"
     
    208208            axes.minor        = 1.0;
    209209            axes.theta        = 0.0;
    210             pmPSF_AxesToModel (PAR, axes, modelType);
     210            pmPSF_AxesToModel (PAR, axes, model->class->useReff);
    211211
    212212            // peak->detValue, rawFlux, smoothFlux are all set to the flux argument which is counts per second
     
    273273            galaxyAxes.theta = theta * PS_RAD_DEG;
    274274
    275             pmPSF_AxesToModel (xPAR, galaxyAxes, galaxyModelType);
     275            pmPSF_AxesToModel (xPAR, galaxyAxes, model->class->useReff);
    276276            if (model->params->n > 7) {
    277277                xPAR[PM_PAR_7] = 0.5 / Sindex;
     
    403403                        yPos[n_rows] = PAR[PM_PAR_YPOS];
    404404
    405                         psEllipseAxes axes = pmPSF_ModelToAxes (PAR, model->type);
     405                        psEllipseAxes axes = pmPSF_ModelToAxes (PAR, model->class->useReff);
    406406                        rMajor[n_rows] = axes.major;
    407407                        rMinor[n_rows] = axes.minor;
     
    461461                        yPos[0] = PAR[PM_PAR_YPOS];
    462462
    463                         psEllipseAxes axes = pmPSF_ModelToAxes (PAR, model->type);
     463                        psEllipseAxes axes = pmPSF_ModelToAxes (PAR, model->class->useReff);
    464464                        rMajor[0] = axes.major;
    465465                        rMinor[0] = axes.minor;
     
    490490                                yPos[1] = PAR[PM_PAR_YPOS];
    491491
    492                                 psEllipseAxes axes = pmPSF_ModelToAxes (PAR, model->type);
     492                                psEllipseAxes axes = pmPSF_ModelToAxes (PAR, model->class->useReff);
    493493                                rMajor[1] = axes.major;
    494494                                rMinor[1] = axes.minor;
Note: See TracChangeset for help on using the changeset viewer.