- Timestamp:
- Jul 17, 2014, 12:30:45 PM (12 years ago)
- Location:
- branches/eam_branches/ipp-ops-20130712/psphot
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-ops-20130712/psphot
- Property svn:mergeinfo deleted
-
branches/eam_branches/ipp-ops-20130712/psphot/src
- Property svn:ignore
-
old new 24 24 psphotModelTest 25 25 psphotMinimal 26 psphotFullForce 27 psmakecff 28 psphotFullForceSummary
-
- Property svn:mergeinfo deleted
- Property svn:ignore
-
branches/eam_branches/ipp-ops-20130712/psphot/src/psphotRadialBins.c
r34226 r37066 44 44 psVector *radMin = psMetadataLookupPtr (&status, recipe, "RADIAL.ANNULAR.BINS.LOWER"); 45 45 psVector *radMax = psMetadataLookupPtr (&status, recipe, "RADIAL.ANNULAR.BINS.UPPER"); 46 if (!radMin || !radMin->n) { 47 psError (PSPHOT_ERR_CONFIG, true, "error in definition of annular bins (radMin missing or empty)"); 48 return false; 49 } 50 if (!radMax || !radMax->n) { 51 psError (PSPHOT_ERR_CONFIG, true, "error in definition of annular bins (radMax missing or empty)"); 52 return false; 53 } 46 psAssert (radMin, "RADIAL.ANNULAR.BINS.LOWER is missing from recipe"); 47 psAssert (radMin->n, "RADIAL.ANNULAR.BINS.LOWER is empty in recipe"); 48 psAssert (radMax, "RADIAL.ANNULAR.BINS.UPPER is missing from recipe"); 49 psAssert (radMax->n, "RADIAL.ANNULAR.BINS.UPPER is empty in recipe"); 54 50 55 51 psVector *binSB = psVectorAllocEmpty(radMin->n, PS_TYPE_F32); // surface brightness of radial bin … … 161 157 psFree(values); 162 158 psFree(stats); 159 source->mode2 |= PM_SOURCE_MODE2_RADBIN_NAN_CENTER; 163 160 return true; 164 161 }
Note:
See TracChangeset
for help on using the changeset viewer.
