-
Notifications
You must be signed in to change notification settings - Fork 5
The Scroll routine appears to return incorrect data #4
Description
I ran a simple example -
import vesuvius
scroll = vesuvius.Volume("Scroll1")
img = scroll[1000,5000:5256,5000:5256]
binary_file=open("file1p.raw", "wb")
binary_file.write(img)
binary_file.close()
and I did a histogram of "file1p.raw" -
4704 58 41 46 56 37 57 53 0 0 0 0 0 0 0 0
57 45 47 58 53 52 60 63 0 0 0 0 0 0 0 0
66 72 45 73 58 75 68 75 0 0 0 0 0 0 0 0
95 79 84 102 83 112 103 106 0 0 0 0 0 0 0 0
137 141 148 162 181 176 216 202 0 0 0 0 0 0 0 0
379 328 341 418 405 435 478 526 0 0 0 0 0 0 0 0
891 908 964 1006 1077 1134 1190 1247 0 0 0 0 0 0 0 0
1783 1716 1741 1722 1774 1857 1917 1919 0 0 0 0 0 0 0 0
1852 1982 1911 1806 1816 1811 1709 1614 0 0 0 0 0 0 0 0
1336 1248 1219 1072 1131 1067 987 969 0 0 0 0 0 0 0 0
608 577 530 532 490 510 459 440 0 0 0 0 0 0 0 0
272 246 250 230 225 207 192 170 0 0 0 0 0 0 0 0
113 134 96 109 97 99 96 81 0 0 0 0 0 0 0 0
64 50 47 43 41 33 47 38 0 0 0 0 0 0 0 0
26 27 29 31 28 22 28 28 0 0 0 0 0 0 0 0
12 14 26 18 14 19 13 243 0 0 0 0 0 0 0 0
note that only 128 non zero values appear with gaps of 8 zeros in the results.
The vesuvius-c routines show the same problem.