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/ppSim/src/ppSimInsertGalaxies.c

    r34261 r36884  
    145145            axes.minor       = galaxy->Rmin;
    146146            axes.theta       = galaxy->theta;
    147             pmPSF_AxesToModel (PAR, axes, type);
     147            pmPSF_AxesToModel (PAR, axes, model->class->useReff);
    148148        }
    149149        psF64 Area = 2.0 * M_PI * galaxy->Rmaj * galaxy->Rmin;
     
    154154
    155155        // XXX let the flux limit be a user-defined number of sky sigmas (not just 1.0)
    156         float radius = model->modelRadius (model->params, 0.1*roughNoise);
     156        float radius = model->class->modelRadius (model->params, 0.1*roughNoise);
    157157        radius = PS_MAX (radius, 1.0);
    158158
     
    163163        pmSource *source = pmSourceFromModel (model, readout, radius, PM_SOURCE_TYPE_EXTENDED);
    164164
    165         galaxy->flux = model->modelFlux (model->params);
     165        galaxy->flux = model->class->modelFlux (model->params);
    166166
    167167        // XXX set the mag & err values (should this be done in pmSourceFromModel?)
Note: See TracChangeset for help on using the changeset viewer.