Changeset 36215
- Timestamp:
- Oct 14, 2013, 7:43:03 AM (13 years ago)
- Location:
- branches/eam_branches/ipp-20130904/psModules/src/objects
- Files:
-
- 2 edited
-
pmModelUtils.c (modified) (2 diffs)
-
pmSourceIO.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20130904/psModules/src/objects/pmModelUtils.c
r35768 r36215 129 129 bool pmModelAxesToParams (float *Sxx, float *Sxy, float *Syy, psEllipseAxes axes, bool useReff) { 130 130 131 // restrict axex to 0.5 here not below 132 if (axes.minor < 0.2) axes.minor = 0.2; 133 if (axes.major < 0.2) axes.major = 0.2; 134 131 135 psEllipseShape shape = psEllipseAxesToShape (axes); 132 136 … … 137 141 // set the shape parameters 138 142 if (useReff) { 139 *Sxx = PS_MAX(0.5, shape.sx); 140 *Syy = PS_MAX(0.5, shape.sy); 143 // *Sxx = PS_MAX(0.5, shape.sx); 144 // *Syy = PS_MAX(0.5, shape.sy); 145 *Sxx = shape.sx; 146 *Syy = shape.sy; 141 147 *Sxy = shape.sxy * 2.0; 142 148 } else { 143 *Sxx = PS_MAX(0.5, M_SQRT2*shape.sx); 144 *Syy = PS_MAX(0.5, M_SQRT2*shape.sy); 149 // *Sxx = PS_MAX(0.5, M_SQRT2*shape.sx); 150 // *Syy = PS_MAX(0.5, M_SQRT2*shape.sy); 151 *Sxx = M_SQRT2*shape.sx; 152 *Syy = M_SQRT2*shape.sy; 145 153 *Sxy = shape.sxy; 146 154 } -
branches/eam_branches/ipp-20130904/psModules/src/objects/pmSourceIO.c
r36205 r36215 482 482 bool XFIT_OUTPUT = psMetadataLookupBool(&status, recipe, "EXTENDED_SOURCE_FITS"); 483 483 bool XRAD_OUTPUT = psMetadataLookupBool(&status, recipe, "RADIAL_APERTURES"); 484 bool XGAL_OUTPUT = psMetadataLookupBool(&status, recipe, "GALAXY_SHAPE ");484 bool XGAL_OUTPUT = psMetadataLookupBool(&status, recipe, "GALAXY_SHAPES"); 485 485 486 486 // define the EXTNAME values for the different data segments:
Note:
See TracChangeset
for help on using the changeset viewer.
