Skip to content

Commit 2d468f9

Browse files
authored
Merge pull request #693 from rozenn1/nikonang
fix small bug in NikonDataLoader
2 parents 2c168cc + e869e2d commit 2d468f9

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

Frontispiece/FAQ.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ COMPFLAGS="-gencode=arch=compute_35,code=sm_35 -gencode=arch=compute_50,code=sm_
3030

3131
**Q: TIGRE successfully compiles but I get `texture memory fail` when I run the code**
3232

33-
*A: It is likely you are running on a GPU that has compute capability older than 3.5, which is not supported.\
33+
*A: It is likely you are running on a GPU that has compute capability older than 3.5, which is not supported.*
3434

3535
**Q: I get a fair amount of warnings when I compile the code, what is happening?**
3636

@@ -64,9 +64,9 @@ this. Hopefully we can find a solution for this without the need of restarting M
6464

6565
*A: No. CUDA only allows windows compilation using Visual Studio. The free versions are good enough, however.*
6666

67-
**Q: Is the pyhton version available for Windows?**
67+
**Q: Is the python version available for Windows?**
6868

69-
*A: Yes, but there are particular versions of python 3 that had caused problems, so please report back to us if you had issues. *
69+
*A: Yes, but there are particular versions of python 3 that had caused problems, so please report back to us if you had issues.*
7070

7171
**Q: Can I use your code for XXXXXX**
7272

Python/demos/d03_generateData.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131

3232
# define projection angles (in radians)
3333
angles = np.linspace(0, 2 * np.pi, 50)
34-
# load phatnom image
34+
# load phantom image
3535
head = sample_loader.load_head_phantom(geo.nVoxel)
3636

3737
# Simulate forward projection.

Python/tigre/utilities/io/NikonDataLoader.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ def readXtekctGeometry(filepath):
116116
# TODO: detect header lines automatically
117117
file.readline()
118118
for line in file:
119-
angles.append(math.radians(line.split("\t")[1]))
119+
angles.append(math.radians(float(line.split("\t")[1])))
120120
return folder, geometry, numpy.array(angles)
121121

122122
# .txt

0 commit comments

Comments
 (0)