IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 35643


Ignore:
Timestamp:
Jun 11, 2013, 8:59:28 AM (13 years ago)
Author:
eugene
Message:

pmPSF_ModelToAxes no longer passes the maxAspectRatio (this was always set to 20.0; perhaps remove as an argument to psEllipseMoments/ShapeToAxes

Location:
branches/eam_branches/ipp-20130509/psModules/src/objects
Files:
10 edited

Legend:

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

    r35038 r35643  
    851851                    psMetadataAddF32 (row, PS_LIST_TAIL, "EXT_THETA_ERR",     0, "EXT angle err (SXY, isnan)", dPAR[PM_PAR_SXY]);
    852852                } else {
    853                     psEllipseAxes axes = pmPSF_ModelToAxes (PAR, 20.0, model->type);
     853                    psEllipseAxes axes = pmPSF_ModelToAxes (PAR, model->type);
    854854                    psMetadataAddF32 (row, PS_LIST_TAIL, "EXT_WIDTH_MAJ",    0, "EXT width (major axis), length for trail", axes.major);
    855855                    psMetadataAddF32 (row, PS_LIST_TAIL, "EXT_WIDTH_MIN",    0, "EXT width (minor axis), sigma for trail",  axes.minor);
  • branches/eam_branches/ipp-20130509/psModules/src/objects/pmSourceIO_CMP.c

    r34403 r35643  
    135135        lsky = (source->sky < 1.0) ? 0.0 : log10(source->sky);
    136136
    137         axes = pmPSF_ModelToAxes (PAR, 20.0, model->type);
     137        axes = pmPSF_ModelToAxes (PAR, model->type);
    138138
    139139        float psfMagErr = isfinite(source->psfMagErr) ? source->psfMagErr : 999;
  • branches/eam_branches/ipp-20130509/psModules/src/objects/pmSourceIO_OBJ.c

    r34403 r35643  
    9292        }
    9393
    94         axes = pmPSF_ModelToAxes (PAR, 20.0, model->type);
     94        axes = pmPSF_ModelToAxes (PAR, model->type);
    9595
    9696        psLineInit (line);
  • branches/eam_branches/ipp-20130509/psModules/src/objects/pmSourceIO_PS1_CAL_0.c

    r34403 r35643  
    114114            yErr = dPAR[PM_PAR_YPOS];
    115115            if (isfinite(PAR[PM_PAR_SXX]) && isfinite(PAR[PM_PAR_SXX]) && isfinite(PAR[PM_PAR_SXX])) {
    116                 axes = pmPSF_ModelToAxes (PAR, 20.0, model->type);
     116                axes = pmPSF_ModelToAxes (PAR, model->type);
    117117            } else {
    118118                axes.major = NAN;
     
    623623            yErr = dPAR[PM_PAR_YPOS];
    624624
    625             axes = pmPSF_ModelToAxes (PAR, 20.0, model->type);
     625            axes = pmPSF_ModelToAxes (PAR, model->type);
    626626
    627627            // generate RA,DEC
  • branches/eam_branches/ipp-20130509/psModules/src/objects/pmSourceIO_PS1_DEV_0.c

    r34403 r35643  
    9090            yErr = dPAR[PM_PAR_YPOS];
    9191
    92             axes = pmPSF_ModelToAxes (PAR, 20.0, model->type);
     92            axes = pmPSF_ModelToAxes (PAR, model->type);
    9393        } else {
    9494            // XXX: This code seg faults if source->peak is NULL.
  • branches/eam_branches/ipp-20130509/psModules/src/objects/pmSourceIO_PS1_DEV_1.c

    r34403 r35643  
    9696            yErr = dPAR[PM_PAR_YPOS];
    9797            if (isfinite(PAR[PM_PAR_SXX]) && isfinite(PAR[PM_PAR_SXX]) && isfinite(PAR[PM_PAR_SXX])) {
    98                 axes = pmPSF_ModelToAxes (PAR, 20.0, model->type);
     98                axes = pmPSF_ModelToAxes (PAR, model->type);
    9999            } else {
    100100                axes.major = NAN;
     
    523523            yErr = dPAR[PM_PAR_YPOS];
    524524
    525             axes = pmPSF_ModelToAxes (PAR, 20.0, model->type);
     525            axes = pmPSF_ModelToAxes (PAR, model->type);
    526526
    527527            row = psMetadataAlloc ();
  • branches/eam_branches/ipp-20130509/psModules/src/objects/pmSourceIO_SMPDATA.c

    r34403 r35643  
    9292            lsky = (source->sky < 1.0) ? 0.0 : log10(source->sky);
    9393
    94             axes = pmPSF_ModelToAxes (PAR, 20.0, model->type);
     94            axes = pmPSF_ModelToAxes (PAR, model->type);
    9595
    9696        } else {
  • branches/eam_branches/ipp-20130509/psModules/src/objects/pmSourceIO_SX.c

    r34403 r35643  
    8181        // pmSourceSextractType (source, &type, &flags);
    8282
    83         axes = pmPSF_ModelToAxes (PAR, 20.0, model->type);
     83        axes = pmPSF_ModelToAxes (PAR, model->type);
    8484
    8585        psLineInit (line);
  • branches/eam_branches/ipp-20130509/psModules/src/objects/pmSourceOutputs.c

    r34515 r35643  
    107107        }
    108108        if (isfinite(PAR[PM_PAR_SXX]) && isfinite(PAR[PM_PAR_SXY]) && isfinite(PAR[PM_PAR_SYY])) {
    109             axes = pmPSF_ModelToAxes (PAR, 20.0, model->type);
     109            axes = pmPSF_ModelToAxes (PAR, model->type);
    110110            outputs->psfMajor = axes.major;
    111111            outputs->psfMinor = axes.minor;
  • branches/eam_branches/ipp-20130509/psModules/src/objects/pmSourcePlotPSFModel.c

    r34403 r35643  
    146146        // force the axis ratio to be < 20.0
    147147        psEllipseAxes axes_mnt = psEllipseMomentsToAxes (moments, 20.0);
    148         psEllipseAxes axes_psf = pmPSF_ModelToAxes (PAR, 20.0, model->type);
     148        psEllipseAxes axes_psf = pmPSF_ModelToAxes (PAR, model->type);
    149149
    150150        // moments major axis
Note: See TracChangeset for help on using the changeset viewer.