Changeset 2782
- Timestamp:
- Dec 21, 2004, 2:54:28 PM (22 years ago)
- Location:
- trunk/psLib
- Files:
-
- 7 edited
-
src/dataManip/psStats.c (modified) (12 diffs)
-
src/math/psStats.c (modified) (12 diffs)
-
test/dataManip/tst_psHist00.c (modified) (1 diff)
-
test/dataManip/tst_psHist01.c (modified) (1 diff)
-
test/dataManip/tst_psHist02.c (modified) (2 diffs)
-
test/dataManip/tst_psHist03.c (modified) (2 diffs)
-
test/dataManip/verified/tst_psHist02.stdout (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/dataManip/psStats.c
r2780 r2782 9 9 * @author GLG, MHPCC 10 10 * 11 * @version $Revision: 1.10 6$ $Name: not supported by cvs2svn $12 * @date $Date: 2004-12-2 1 23:25:14$11 * @version $Revision: 1.107 $ $Name: not supported by cvs2svn $ 12 * @date $Date: 2004-12-22 00:54:28 $ 13 13 * 14 14 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 682 682 robustHistogram->bounds->data.F32[j+1]) / 2.0; 683 683 smooth->data.F32[i] += 684 ((float) robustHistogram->nums->data.U32[j])*684 robustHistogram->nums->data.F32[j] * 685 685 psGaussian(jMid, iMid, sigma, true); 686 686 } … … 1563 1563 modeBinNum = LQBinNum; 1564 1564 modeBinCount = robustHistogramVector->data.F32[LQBinNum]; 1565 sumN50 = (float)robustHistogram->nums->data.U32[LQBinNum];1565 sumN50 = robustHistogram->nums->data.F32[LQBinNum]; 1566 1566 for (i = LQBinNum + 1; i <= UQBinNum; i++) { 1567 1567 if (robustHistogramVector->data.F32[i] > modeBinCount) { … … 1569 1569 modeBinCount = robustHistogramVector->data.F32[i]; 1570 1570 } 1571 sumN50 += (float)robustHistogram->nums->data.U32[i];1571 sumN50 += robustHistogram->nums->data.F32[i]; 1572 1572 } 1573 1573 … … 1587 1587 } 1588 1588 1589 sumNfit += (float)robustHistogram->nums->data.U32[i];1589 sumNfit += robustHistogram->nums->data.F32[i]; 1590 1590 } 1591 1591 // XXX: divide by zero? … … 1796 1796 1797 1797 // Allocate the bins, and initialize them to zero. 1798 newHist->nums = psVectorAlloc(n, PS_TYPE_U32); 1799 newHist->nums->n = newHist->nums->nalloc; 1798 newHist->nums = psVectorAlloc(n, PS_TYPE_F32); 1800 1799 for (i = 0; i < newHist->nums->n; i++) { 1801 newHist->nums->data. U32[i] =0;1800 newHist->nums->data.F32[i] = 0.0; 1802 1801 } 1803 1802 … … 1839 1838 // Allocate the bins, and initialize them to zero. If there are N bounds, 1840 1839 // then there are N-1 bins. 1841 newHist->nums = psVectorAlloc((bounds->n) - 1, PS_TYPE_U32); 1842 newHist->nums->n = newHist->nums->nalloc; 1840 newHist->nums = psVectorAlloc((bounds->n) - 1, PS_TYPE_F32); 1843 1841 for (i = 0; i < newHist->nums->n; i++) { 1844 newHist->nums->data. U32[i] =0;1842 newHist->nums->data.F32[i] = 0.0; 1845 1843 } 1846 1844 … … 1858 1856 psFree(myHist->nums); 1859 1857 } 1858 1859 psS32 UpdateHistogramBins(psS32 binNum, 1860 psHistogram* out, 1861 psF32 data, 1862 psF32 error) 1863 { 1864 PS_PTR_CHECK_NULL(out, -1); 1865 PS_INT_CHECK_RANGE(binNum, 0, out->nums->n-1, -2); 1866 /* 1867 psF32 width = 2.35 * error; 1868 psF32 centerBinWidth = out->bounds->data.F32[binNum+1] - out->bounds->data.F32[binNum] 1869 psF32 boxcarCenter = (out->bounds->data.F32[binNum] + out->bounds->data.F32[binNum+1]) / 2.0; 1870 1871 if (width <= centerBinWidth) { 1872 out->nums->data.F32[binNum]+= 1.0; 1873 } else { 1874 out->nums->data.F32[binNum]+= centerBinWidth / width; 1875 // XXX: walk to the left, adding fractional values. 1876 // XXX: walk to the right, adding fractional values. 1877 1878 1879 } 1880 */ 1881 return(0); 1882 } 1883 1860 1884 1861 1885 /***************************************************************************** … … 1883 1907 PS_PTR_CHECK_NULL(out, NULL); 1884 1908 PS_VECTOR_CHECK_TYPE(out->bounds, PS_TYPE_F32, NULL); 1885 PS_VECTOR_CHECK_TYPE(out->nums, PS_TYPE_ U32, NULL);1909 PS_VECTOR_CHECK_TYPE(out->nums, PS_TYPE_F32, NULL); 1886 1910 PS_INT_CHECK_NON_NEGATIVE(out->nums->n, NULL); 1887 1911 PS_VECTOR_CHECK_NULL(in, out); … … 1913 1937 for (i = 0; i < inF32->n; i++) { 1914 1938 // Check if this pixel is masked, and if so, skip it. 1915 if ((mask == NULL) || 1916 ((mask != NULL) && (!(mask->data.U8[i] & maskVal)))) { 1939 if ((mask == NULL) || ((mask != NULL) && (!(mask->data.U8[i] & maskVal)))) { 1917 1940 if (inF32->data.F32[i] < out->bounds->data.F32[0]) { 1918 1941 // If this pixel is below minimum value, count it, then skip. … … 1927 1950 binSize = out->bounds->data.F32[1] - out->bounds->data.F32[0]; 1928 1951 binNum = (psS32)((inF32->data.F32[i] - out->bounds->data.F32[0]) / binSize); 1929 1930 // XXX: This if-statement really shouldn't be necessary. 1931 // However, due to numerical lack of precision, we 1932 // occasionally produce a binNum outside the range. 1933 if (binNum >= out->nums->n) { 1934 binNum = out->nums->n - 1; 1952 if (errors != NULL) { 1953 // XXX: Check return codes. 1954 UpdateHistogramBins(binNum, out, 1955 inF32->data.F32[i], 1956 errors->data.F32[i]); 1957 } else { 1958 // XXX: This if-statement really shouldn't be necessary. 1959 // However, due to numerical lack of precision, we 1960 // occasionally produce a binNum outside the range. 1961 if (binNum >= out->nums->n) { 1962 binNum = out->nums->n - 1; 1963 } 1964 (out->nums->data.F32[binNum])+= 1.0; 1935 1965 } 1936 1937 (out->nums->data.U32[binNum])++;1938 1966 1939 1967 } else { … … 1946 1974 "WARNING: psVectorHistogram(): element outside histogram bounds.\n"); 1947 1975 } else { 1948 (out->nums->data.U32[tmp])++; 1976 if (errors != NULL) { 1977 // XXX: Check return codes. 1978 UpdateHistogramBins(tmp, out, 1979 inF32->data.F32[i], 1980 errors->data.F32[i]); 1981 } else { 1982 (out->nums->data.F32[tmp])+= 1.0; 1983 } 1949 1984 } 1950 1985 } -
trunk/psLib/src/math/psStats.c
r2780 r2782 9 9 * @author GLG, MHPCC 10 10 * 11 * @version $Revision: 1.10 6$ $Name: not supported by cvs2svn $12 * @date $Date: 2004-12-2 1 23:25:14$11 * @version $Revision: 1.107 $ $Name: not supported by cvs2svn $ 12 * @date $Date: 2004-12-22 00:54:28 $ 13 13 * 14 14 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 682 682 robustHistogram->bounds->data.F32[j+1]) / 2.0; 683 683 smooth->data.F32[i] += 684 ((float) robustHistogram->nums->data.U32[j])*684 robustHistogram->nums->data.F32[j] * 685 685 psGaussian(jMid, iMid, sigma, true); 686 686 } … … 1563 1563 modeBinNum = LQBinNum; 1564 1564 modeBinCount = robustHistogramVector->data.F32[LQBinNum]; 1565 sumN50 = (float)robustHistogram->nums->data.U32[LQBinNum];1565 sumN50 = robustHistogram->nums->data.F32[LQBinNum]; 1566 1566 for (i = LQBinNum + 1; i <= UQBinNum; i++) { 1567 1567 if (robustHistogramVector->data.F32[i] > modeBinCount) { … … 1569 1569 modeBinCount = robustHistogramVector->data.F32[i]; 1570 1570 } 1571 sumN50 += (float)robustHistogram->nums->data.U32[i];1571 sumN50 += robustHistogram->nums->data.F32[i]; 1572 1572 } 1573 1573 … … 1587 1587 } 1588 1588 1589 sumNfit += (float)robustHistogram->nums->data.U32[i];1589 sumNfit += robustHistogram->nums->data.F32[i]; 1590 1590 } 1591 1591 // XXX: divide by zero? … … 1796 1796 1797 1797 // Allocate the bins, and initialize them to zero. 1798 newHist->nums = psVectorAlloc(n, PS_TYPE_U32); 1799 newHist->nums->n = newHist->nums->nalloc; 1798 newHist->nums = psVectorAlloc(n, PS_TYPE_F32); 1800 1799 for (i = 0; i < newHist->nums->n; i++) { 1801 newHist->nums->data. U32[i] =0;1800 newHist->nums->data.F32[i] = 0.0; 1802 1801 } 1803 1802 … … 1839 1838 // Allocate the bins, and initialize them to zero. If there are N bounds, 1840 1839 // then there are N-1 bins. 1841 newHist->nums = psVectorAlloc((bounds->n) - 1, PS_TYPE_U32); 1842 newHist->nums->n = newHist->nums->nalloc; 1840 newHist->nums = psVectorAlloc((bounds->n) - 1, PS_TYPE_F32); 1843 1841 for (i = 0; i < newHist->nums->n; i++) { 1844 newHist->nums->data. U32[i] =0;1842 newHist->nums->data.F32[i] = 0.0; 1845 1843 } 1846 1844 … … 1858 1856 psFree(myHist->nums); 1859 1857 } 1858 1859 psS32 UpdateHistogramBins(psS32 binNum, 1860 psHistogram* out, 1861 psF32 data, 1862 psF32 error) 1863 { 1864 PS_PTR_CHECK_NULL(out, -1); 1865 PS_INT_CHECK_RANGE(binNum, 0, out->nums->n-1, -2); 1866 /* 1867 psF32 width = 2.35 * error; 1868 psF32 centerBinWidth = out->bounds->data.F32[binNum+1] - out->bounds->data.F32[binNum] 1869 psF32 boxcarCenter = (out->bounds->data.F32[binNum] + out->bounds->data.F32[binNum+1]) / 2.0; 1870 1871 if (width <= centerBinWidth) { 1872 out->nums->data.F32[binNum]+= 1.0; 1873 } else { 1874 out->nums->data.F32[binNum]+= centerBinWidth / width; 1875 // XXX: walk to the left, adding fractional values. 1876 // XXX: walk to the right, adding fractional values. 1877 1878 1879 } 1880 */ 1881 return(0); 1882 } 1883 1860 1884 1861 1885 /***************************************************************************** … … 1883 1907 PS_PTR_CHECK_NULL(out, NULL); 1884 1908 PS_VECTOR_CHECK_TYPE(out->bounds, PS_TYPE_F32, NULL); 1885 PS_VECTOR_CHECK_TYPE(out->nums, PS_TYPE_ U32, NULL);1909 PS_VECTOR_CHECK_TYPE(out->nums, PS_TYPE_F32, NULL); 1886 1910 PS_INT_CHECK_NON_NEGATIVE(out->nums->n, NULL); 1887 1911 PS_VECTOR_CHECK_NULL(in, out); … … 1913 1937 for (i = 0; i < inF32->n; i++) { 1914 1938 // Check if this pixel is masked, and if so, skip it. 1915 if ((mask == NULL) || 1916 ((mask != NULL) && (!(mask->data.U8[i] & maskVal)))) { 1939 if ((mask == NULL) || ((mask != NULL) && (!(mask->data.U8[i] & maskVal)))) { 1917 1940 if (inF32->data.F32[i] < out->bounds->data.F32[0]) { 1918 1941 // If this pixel is below minimum value, count it, then skip. … … 1927 1950 binSize = out->bounds->data.F32[1] - out->bounds->data.F32[0]; 1928 1951 binNum = (psS32)((inF32->data.F32[i] - out->bounds->data.F32[0]) / binSize); 1929 1930 // XXX: This if-statement really shouldn't be necessary. 1931 // However, due to numerical lack of precision, we 1932 // occasionally produce a binNum outside the range. 1933 if (binNum >= out->nums->n) { 1934 binNum = out->nums->n - 1; 1952 if (errors != NULL) { 1953 // XXX: Check return codes. 1954 UpdateHistogramBins(binNum, out, 1955 inF32->data.F32[i], 1956 errors->data.F32[i]); 1957 } else { 1958 // XXX: This if-statement really shouldn't be necessary. 1959 // However, due to numerical lack of precision, we 1960 // occasionally produce a binNum outside the range. 1961 if (binNum >= out->nums->n) { 1962 binNum = out->nums->n - 1; 1963 } 1964 (out->nums->data.F32[binNum])+= 1.0; 1935 1965 } 1936 1937 (out->nums->data.U32[binNum])++;1938 1966 1939 1967 } else { … … 1946 1974 "WARNING: psVectorHistogram(): element outside histogram bounds.\n"); 1947 1975 } else { 1948 (out->nums->data.U32[tmp])++; 1976 if (errors != NULL) { 1977 // XXX: Check return codes. 1978 UpdateHistogramBins(tmp, out, 1979 inF32->data.F32[i], 1980 errors->data.F32[i]); 1981 } else { 1982 (out->nums->data.F32[tmp])+= 1.0; 1983 } 1949 1984 } 1950 1985 } -
trunk/psLib/test/dataManip/tst_psHist00.c
r2718 r2782 50 50 51 51 for (i=0;i<numBins;i++) { 52 if (myHist->nums->data. U32[i] !=0) {52 if (myHist->nums->data.F32[i] != 0.0) { 53 53 printf("ERROR: myHist->nums->data.U32[%d] not initialized to 0.\n", i); 54 54 testStatus = false; 55 55 } 56 myHist->nums->data. U32[i] =0;56 myHist->nums->data.F32[i] = 0.0; 57 57 } 58 58 -
trunk/psLib/test/dataManip/tst_psHist01.c
r2392 r2782 56 56 57 57 for (i=0;i<numBins;i++) { 58 if (myHist->nums->data. U32[i] !=0) {59 printf("ERROR: myHist->nums->data. U32[%d] not initialized to 0.\n", i);58 if (myHist->nums->data.F32[i] != 0.0) { 59 printf("ERROR: myHist->nums->data.F32[%d] not initialized to 0.\n", i); 60 60 testStatus = false; 61 61 } 62 myHist->nums->data. U32[i] =0;62 myHist->nums->data.F32[i] = 0.0; 63 63 } 64 64 -
trunk/psLib/test/dataManip/tst_psHist02.c
r2780 r2782 69 69 70 70 for ( i = 0;i < numBins;i++ ) { 71 printf( "Bin number %d bounds: (%.2f - %.2f) data (% d)\n", i,71 printf( "Bin number %d bounds: (%.2f - %.2f) data (%f)\n", i, 72 72 myHist->bounds->data.F32[ i ], 73 73 myHist->bounds->data.F32[ i + 1 ], 74 myHist->nums->data. U32[ i ] );74 myHist->nums->data.F32[ i ] ); 75 75 } 76 76 psMemCheckCorruption( 1 ); … … 94 94 95 95 for ( i = 0;i < numBins;i++ ) { 96 printf( "Bin number %d bounds: (%6.3f - %6.3f) data (% d)\n", i,96 printf( "Bin number %d bounds: (%6.3f - %6.3f) data (%f)\n", i, 97 97 myHist->bounds->data.F32[ i ], 98 98 myHist->bounds->data.F32[ i + 1 ], 99 myHist->nums->data. U32[ i ] );99 myHist->nums->data.F32[ i ] ); 100 100 } 101 101 psMemCheckCorruption( 1 ); -
trunk/psLib/test/dataManip/tst_psHist03.c
r2780 r2782 67 67 68 68 for (i=0;i<numBins;i++) { 69 if (myHist->nums->data. U32[i] !=0) {70 printf("ERROR: myHist->nums->data. U32[%d] not initialized to 0.\n", i);69 if (myHist->nums->data.F32[i] != 0.0) { 70 printf("ERROR: myHist->nums->data.F32[%d] not initialized to 0.\n", i); 71 71 testStatus = false; 72 72 } 73 myHist->nums->data. U32[i] =0;73 myHist->nums->data.F32[i] = 0.0; 74 74 } 75 75 … … 91 91 myHist = psVectorHistogram( myHist, myData, NULL, NULL, 0 ); 92 92 for (i=0;i<numBins;i++) { 93 printf("Bin number %d bounds: (%6.3f - %6.3f): data: (% d)\n", i,93 printf("Bin number %d bounds: (%6.3f - %6.3f): data: (%f)\n", i, 94 94 myHist->bounds->data.F32[i], 95 95 myHist->bounds->data.F32[i+1], 96 myHist->nums->data. S32[i]);96 myHist->nums->data.F32[i]); 97 97 } 98 98 -
trunk/psLib/test/dataManip/verified/tst_psHist02.stdout
r2721 r2782 5 5 \**********************************************************************************/ 6 6 7 Bin number 0 bounds: (20.00 - 30.00) data (10000 )7 Bin number 0 bounds: (20.00 - 30.00) data (10000.000000) 8 8 9 9 ---> TESTPOINT PASSED (psStats functions{Allocate and Perform Histogram, no mask} | tst_psHist02.c) … … 15 15 \**********************************************************************************/ 16 16 17 Bin number 0 bounds: (20.000 - 30.000) data (5000 )17 Bin number 0 bounds: (20.000 - 30.000) data (5000.000000) 18 18 19 19 ---> TESTPOINT PASSED (psStats functions{Allocate and Perform Histogram with mask} | tst_psHist02.c) … … 25 25 \**********************************************************************************/ 26 26 27 Bin number 0 bounds: (20.00 - 25.00) data (5000 )28 Bin number 1 bounds: (25.00 - 30.00) data (5000 )27 Bin number 0 bounds: (20.00 - 25.00) data (5000.000000) 28 Bin number 1 bounds: (25.00 - 30.00) data (5000.000000) 29 29 30 30 ---> TESTPOINT PASSED (psStats functions{Allocate and Perform Histogram, no mask} | tst_psHist02.c) … … 36 36 \**********************************************************************************/ 37 37 38 Bin number 0 bounds: (20.000 - 25.000) data (5000 )39 Bin number 1 bounds: (25.000 - 30.000) data (0 )38 Bin number 0 bounds: (20.000 - 25.000) data (5000.000000) 39 Bin number 1 bounds: (25.000 - 30.000) data (0.000000) 40 40 41 41 ---> TESTPOINT PASSED (psStats functions{Allocate and Perform Histogram with mask} | tst_psHist02.c) … … 47 47 \**********************************************************************************/ 48 48 49 Bin number 0 bounds: (20.00 - 21.00) data (1000 )50 Bin number 1 bounds: (21.00 - 22.00) data (1000 )51 Bin number 2 bounds: (22.00 - 23.00) data (1000 )52 Bin number 3 bounds: (23.00 - 24.00) data (1000 )53 Bin number 4 bounds: (24.00 - 25.00) data (1000 )54 Bin number 5 bounds: (25.00 - 26.00) data (1000 )55 Bin number 6 bounds: (26.00 - 27.00) data (1000 )56 Bin number 7 bounds: (27.00 - 28.00) data (1000 )57 Bin number 8 bounds: (28.00 - 29.00) data (1000 )58 Bin number 9 bounds: (29.00 - 30.00) data (1000 )49 Bin number 0 bounds: (20.00 - 21.00) data (1000.000000) 50 Bin number 1 bounds: (21.00 - 22.00) data (1000.000000) 51 Bin number 2 bounds: (22.00 - 23.00) data (1000.000000) 52 Bin number 3 bounds: (23.00 - 24.00) data (1000.000000) 53 Bin number 4 bounds: (24.00 - 25.00) data (1000.000000) 54 Bin number 5 bounds: (25.00 - 26.00) data (1000.000000) 55 Bin number 6 bounds: (26.00 - 27.00) data (1000.000000) 56 Bin number 7 bounds: (27.00 - 28.00) data (1000.000000) 57 Bin number 8 bounds: (28.00 - 29.00) data (1000.000000) 58 Bin number 9 bounds: (29.00 - 30.00) data (1000.000000) 59 59 60 60 ---> TESTPOINT PASSED (psStats functions{Allocate and Perform Histogram, no mask} | tst_psHist02.c) … … 66 66 \**********************************************************************************/ 67 67 68 Bin number 0 bounds: (20.000 - 21.000) data (1000 )69 Bin number 1 bounds: (21.000 - 22.000) data (1000 )70 Bin number 2 bounds: (22.000 - 23.000) data (1000 )71 Bin number 3 bounds: (23.000 - 24.000) data (1000 )72 Bin number 4 bounds: (24.000 - 25.000) data (1000 )73 Bin number 5 bounds: (25.000 - 26.000) data (0 )74 Bin number 6 bounds: (26.000 - 27.000) data (0 )75 Bin number 7 bounds: (27.000 - 28.000) data (0 )76 Bin number 8 bounds: (28.000 - 29.000) data (0 )77 Bin number 9 bounds: (29.000 - 30.000) data (0 )68 Bin number 0 bounds: (20.000 - 21.000) data (1000.000000) 69 Bin number 1 bounds: (21.000 - 22.000) data (1000.000000) 70 Bin number 2 bounds: (22.000 - 23.000) data (1000.000000) 71 Bin number 3 bounds: (23.000 - 24.000) data (1000.000000) 72 Bin number 4 bounds: (24.000 - 25.000) data (1000.000000) 73 Bin number 5 bounds: (25.000 - 26.000) data (0.000000) 74 Bin number 6 bounds: (26.000 - 27.000) data (0.000000) 75 Bin number 7 bounds: (27.000 - 28.000) data (0.000000) 76 Bin number 8 bounds: (28.000 - 29.000) data (0.000000) 77 Bin number 9 bounds: (29.000 - 30.000) data (0.000000) 78 78 79 79 ---> TESTPOINT PASSED (psStats functions{Allocate and Perform Histogram with mask} | tst_psHist02.c) … … 85 85 \**********************************************************************************/ 86 86 87 Bin number 0 bounds: (20.00 - 20.50) data (500 )88 Bin number 1 bounds: (20.50 - 21.00) data (500 )89 Bin number 2 bounds: (21.00 - 21.50) data (500 )90 Bin number 3 bounds: (21.50 - 22.00) data (500 )91 Bin number 4 bounds: (22.00 - 22.50) data (500 )92 Bin number 5 bounds: (22.50 - 23.00) data (500 )93 Bin number 6 bounds: (23.00 - 23.50) data (500 )94 Bin number 7 bounds: (23.50 - 24.00) data (500 )95 Bin number 8 bounds: (24.00 - 24.50) data (500 )96 Bin number 9 bounds: (24.50 - 25.00) data (500 )97 Bin number 10 bounds: (25.00 - 25.50) data (500 )98 Bin number 11 bounds: (25.50 - 26.00) data (500 )99 Bin number 12 bounds: (26.00 - 26.50) data (500 )100 Bin number 13 bounds: (26.50 - 27.00) data (500 )101 Bin number 14 bounds: (27.00 - 27.50) data (500 )102 Bin number 15 bounds: (27.50 - 28.00) data (500 )103 Bin number 16 bounds: (28.00 - 28.50) data (500 )104 Bin number 17 bounds: (28.50 - 29.00) data (500 )105 Bin number 18 bounds: (29.00 - 29.50) data (500 )106 Bin number 19 bounds: (29.50 - 30.00) data (500 )87 Bin number 0 bounds: (20.00 - 20.50) data (500.000000) 88 Bin number 1 bounds: (20.50 - 21.00) data (500.000000) 89 Bin number 2 bounds: (21.00 - 21.50) data (500.000000) 90 Bin number 3 bounds: (21.50 - 22.00) data (500.000000) 91 Bin number 4 bounds: (22.00 - 22.50) data (500.000000) 92 Bin number 5 bounds: (22.50 - 23.00) data (500.000000) 93 Bin number 6 bounds: (23.00 - 23.50) data (500.000000) 94 Bin number 7 bounds: (23.50 - 24.00) data (500.000000) 95 Bin number 8 bounds: (24.00 - 24.50) data (500.000000) 96 Bin number 9 bounds: (24.50 - 25.00) data (500.000000) 97 Bin number 10 bounds: (25.00 - 25.50) data (500.000000) 98 Bin number 11 bounds: (25.50 - 26.00) data (500.000000) 99 Bin number 12 bounds: (26.00 - 26.50) data (500.000000) 100 Bin number 13 bounds: (26.50 - 27.00) data (500.000000) 101 Bin number 14 bounds: (27.00 - 27.50) data (500.000000) 102 Bin number 15 bounds: (27.50 - 28.00) data (500.000000) 103 Bin number 16 bounds: (28.00 - 28.50) data (500.000000) 104 Bin number 17 bounds: (28.50 - 29.00) data (500.000000) 105 Bin number 18 bounds: (29.00 - 29.50) data (500.000000) 106 Bin number 19 bounds: (29.50 - 30.00) data (500.000000) 107 107 108 108 ---> TESTPOINT PASSED (psStats functions{Allocate and Perform Histogram, no mask} | tst_psHist02.c) … … 114 114 \**********************************************************************************/ 115 115 116 Bin number 0 bounds: (20.000 - 20.500) data (500 )117 Bin number 1 bounds: (20.500 - 21.000) data (500 )118 Bin number 2 bounds: (21.000 - 21.500) data (500 )119 Bin number 3 bounds: (21.500 - 22.000) data (500 )120 Bin number 4 bounds: (22.000 - 22.500) data (500 )121 Bin number 5 bounds: (22.500 - 23.000) data (500 )122 Bin number 6 bounds: (23.000 - 23.500) data (500 )123 Bin number 7 bounds: (23.500 - 24.000) data (500 )124 Bin number 8 bounds: (24.000 - 24.500) data (500 )125 Bin number 9 bounds: (24.500 - 25.000) data (500 )126 Bin number 10 bounds: (25.000 - 25.500) data (0 )127 Bin number 11 bounds: (25.500 - 26.000) data (0 )128 Bin number 12 bounds: (26.000 - 26.500) data (0 )129 Bin number 13 bounds: (26.500 - 27.000) data (0 )130 Bin number 14 bounds: (27.000 - 27.500) data (0 )131 Bin number 15 bounds: (27.500 - 28.000) data (0 )132 Bin number 16 bounds: (28.000 - 28.500) data (0 )133 Bin number 17 bounds: (28.500 - 29.000) data (0 )134 Bin number 18 bounds: (29.000 - 29.500) data (0 )135 Bin number 19 bounds: (29.500 - 30.000) data (0 )116 Bin number 0 bounds: (20.000 - 20.500) data (500.000000) 117 Bin number 1 bounds: (20.500 - 21.000) data (500.000000) 118 Bin number 2 bounds: (21.000 - 21.500) data (500.000000) 119 Bin number 3 bounds: (21.500 - 22.000) data (500.000000) 120 Bin number 4 bounds: (22.000 - 22.500) data (500.000000) 121 Bin number 5 bounds: (22.500 - 23.000) data (500.000000) 122 Bin number 6 bounds: (23.000 - 23.500) data (500.000000) 123 Bin number 7 bounds: (23.500 - 24.000) data (500.000000) 124 Bin number 8 bounds: (24.000 - 24.500) data (500.000000) 125 Bin number 9 bounds: (24.500 - 25.000) data (500.000000) 126 Bin number 10 bounds: (25.000 - 25.500) data (0.000000) 127 Bin number 11 bounds: (25.500 - 26.000) data (0.000000) 128 Bin number 12 bounds: (26.000 - 26.500) data (0.000000) 129 Bin number 13 bounds: (26.500 - 27.000) data (0.000000) 130 Bin number 14 bounds: (27.000 - 27.500) data (0.000000) 131 Bin number 15 bounds: (27.500 - 28.000) data (0.000000) 132 Bin number 16 bounds: (28.000 - 28.500) data (0.000000) 133 Bin number 17 bounds: (28.500 - 29.000) data (0.000000) 134 Bin number 18 bounds: (29.000 - 29.500) data (0.000000) 135 Bin number 19 bounds: (29.500 - 30.000) data (0.000000) 136 136 137 137 ---> TESTPOINT PASSED (psStats functions{Allocate and Perform Histogram with mask} | tst_psHist02.c)
Note:
See TracChangeset
for help on using the changeset viewer.
