Changeset 35643
- Timestamp:
- Jun 11, 2013, 8:59:28 AM (13 years ago)
- Location:
- branches/eam_branches/ipp-20130509/psModules/src/objects
- Files:
-
- 10 edited
-
pmSourceIO_CMF.c.in (modified) (1 diff)
-
pmSourceIO_CMP.c (modified) (1 diff)
-
pmSourceIO_OBJ.c (modified) (1 diff)
-
pmSourceIO_PS1_CAL_0.c (modified) (2 diffs)
-
pmSourceIO_PS1_DEV_0.c (modified) (1 diff)
-
pmSourceIO_PS1_DEV_1.c (modified) (2 diffs)
-
pmSourceIO_SMPDATA.c (modified) (1 diff)
-
pmSourceIO_SX.c (modified) (1 diff)
-
pmSourceOutputs.c (modified) (1 diff)
-
pmSourcePlotPSFModel.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20130509/psModules/src/objects/pmSourceIO_CMF.c.in
r35038 r35643 851 851 psMetadataAddF32 (row, PS_LIST_TAIL, "EXT_THETA_ERR", 0, "EXT angle err (SXY, isnan)", dPAR[PM_PAR_SXY]); 852 852 } else { 853 psEllipseAxes axes = pmPSF_ModelToAxes (PAR, 20.0,model->type);853 psEllipseAxes axes = pmPSF_ModelToAxes (PAR, model->type); 854 854 psMetadataAddF32 (row, PS_LIST_TAIL, "EXT_WIDTH_MAJ", 0, "EXT width (major axis), length for trail", axes.major); 855 855 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 135 135 lsky = (source->sky < 1.0) ? 0.0 : log10(source->sky); 136 136 137 axes = pmPSF_ModelToAxes (PAR, 20.0,model->type);137 axes = pmPSF_ModelToAxes (PAR, model->type); 138 138 139 139 float psfMagErr = isfinite(source->psfMagErr) ? source->psfMagErr : 999; -
branches/eam_branches/ipp-20130509/psModules/src/objects/pmSourceIO_OBJ.c
r34403 r35643 92 92 } 93 93 94 axes = pmPSF_ModelToAxes (PAR, 20.0,model->type);94 axes = pmPSF_ModelToAxes (PAR, model->type); 95 95 96 96 psLineInit (line); -
branches/eam_branches/ipp-20130509/psModules/src/objects/pmSourceIO_PS1_CAL_0.c
r34403 r35643 114 114 yErr = dPAR[PM_PAR_YPOS]; 115 115 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); 117 117 } else { 118 118 axes.major = NAN; … … 623 623 yErr = dPAR[PM_PAR_YPOS]; 624 624 625 axes = pmPSF_ModelToAxes (PAR, 20.0,model->type);625 axes = pmPSF_ModelToAxes (PAR, model->type); 626 626 627 627 // generate RA,DEC -
branches/eam_branches/ipp-20130509/psModules/src/objects/pmSourceIO_PS1_DEV_0.c
r34403 r35643 90 90 yErr = dPAR[PM_PAR_YPOS]; 91 91 92 axes = pmPSF_ModelToAxes (PAR, 20.0,model->type);92 axes = pmPSF_ModelToAxes (PAR, model->type); 93 93 } else { 94 94 // 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 96 96 yErr = dPAR[PM_PAR_YPOS]; 97 97 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); 99 99 } else { 100 100 axes.major = NAN; … … 523 523 yErr = dPAR[PM_PAR_YPOS]; 524 524 525 axes = pmPSF_ModelToAxes (PAR, 20.0,model->type);525 axes = pmPSF_ModelToAxes (PAR, model->type); 526 526 527 527 row = psMetadataAlloc (); -
branches/eam_branches/ipp-20130509/psModules/src/objects/pmSourceIO_SMPDATA.c
r34403 r35643 92 92 lsky = (source->sky < 1.0) ? 0.0 : log10(source->sky); 93 93 94 axes = pmPSF_ModelToAxes (PAR, 20.0,model->type);94 axes = pmPSF_ModelToAxes (PAR, model->type); 95 95 96 96 } else { -
branches/eam_branches/ipp-20130509/psModules/src/objects/pmSourceIO_SX.c
r34403 r35643 81 81 // pmSourceSextractType (source, &type, &flags); 82 82 83 axes = pmPSF_ModelToAxes (PAR, 20.0,model->type);83 axes = pmPSF_ModelToAxes (PAR, model->type); 84 84 85 85 psLineInit (line); -
branches/eam_branches/ipp-20130509/psModules/src/objects/pmSourceOutputs.c
r34515 r35643 107 107 } 108 108 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); 110 110 outputs->psfMajor = axes.major; 111 111 outputs->psfMinor = axes.minor; -
branches/eam_branches/ipp-20130509/psModules/src/objects/pmSourcePlotPSFModel.c
r34403 r35643 146 146 // force the axis ratio to be < 20.0 147 147 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); 149 149 150 150 // moments major axis
Note:
See TracChangeset
for help on using the changeset viewer.
