Changeset 13971 for trunk/ppStats/src/ppStatsFringe.c
- Timestamp:
- Jun 25, 2007, 2:27:56 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/ppStats/src/ppStatsFringe.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppStats/src/ppStatsFringe.c
r13927 r13971 9 9 #include "ppStatsFringe.h" 10 10 11 bool ppStatsFringe(psMetadata *stats, const pmChip *chip, const char * fringeName)11 bool ppStatsFringe(psMetadata *stats, const pmChip *chip, const char *root, const char *fringeName) 12 12 { 13 13 PS_ASSERT_PTR_NON_NULL(chip, false); … … 28 28 for (int i = 0; i < fringes->nFringeFrames; i++) { 29 29 psString name = NULL; // Name of statistic 30 psStringAppend(&name, " FRINGE_%d", i);30 psStringAppend(&name, "%s_%d", root, i); 31 31 psMetadataAddF32(chipStats, PS_LIST_TAIL, name, 0, "Fringe amplitude", 32 32 fringes->coeff->data.F32[i + 1]); 33 33 psFree(name); 34 34 name = NULL; 35 psStringAppend(&name, " FRINGE_ERR_%d", i);35 psStringAppend(&name, "%s_ERR_%d", root, i); 36 36 psMetadataAddF32(chipStats, PS_LIST_TAIL, name, 0, "Fringe amplitude error", 37 37 fringes->coeffErr->data.F32[i + 1]);
Note:
See TracChangeset
for help on using the changeset viewer.
