-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplot1DCTF.py
More file actions
80 lines (50 loc) · 1.98 KB
/
plot1DCTF.py
File metadata and controls
80 lines (50 loc) · 1.98 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
import numpy as np
import matplotlib.pyplot as plt
import os
'''
arr = np.loadtxt(os.path.join("bin", "Debug", "Refinement", "current", "GaussTable.txt"), delimiter="\t")
plt.figure()
plt.title("GaussTable")
plt.plot(arr[:])
arr = np.loadtxt(os.path.join("bin", "Debug", "Refinement", "current", "1DCTFs.txt"), delimiter="\t")
plt.figure()
plt.title("1DCTFs")
plt.plot(arr[:])
arr = np.loadtxt(os.path.join("bin", "Debug", "Refinement", "current", "GaussTableConvolved.txt"), delimiter="\t")
plt.figure()
plt.title("GaussTableConvolved")
plt.plot(arr[::10])
arr = np.loadtxt(os.path.join("bin", "Debug", "Refinement", "current", "testImageConvolvedSelf.txt"), delimiter="\t")
plt.figure()
plt.title("testImageConvolvedSelf")
plt.plot(arr[:])
arr = np.loadtxt(os.path.join("bin", "Debug", "Refinement", "current", "testImageConvolved.txt"), delimiter="\t")
plt.figure()
plt.title("testImageConvolved")
plt.plot(arr[:])
arr = np.loadtxt(os.path.join("bin", "Debug", "Refinement", "current", "testImageFT.txt"), delimiter="\t")
plt.figure()
plt.title("testImageFT")
plt.plot(arr[:])
arr = np.loadtxt(os.path.join("bin", "Debug", "Refinement", "current", "testImageSelfConstructed.txt"), delimiter="\t")
plt.figure()
plt.title("testImageSelfConstructed")
plt.plot(arr[:])
arr = np.loadtxt(os.path.join("bin", "Debug", "Refinement", "current", "GaussTableFT.txt"), delimiter="\t")
plt.figure()
plt.title("GaussTableFT")
plt.plot(arr[::1])
'''
arr = np.loadtxt(os.path.join("bin", "Debug", "Refinement", "20200127_9204feb", "testImage2.txt"), delimiter="\t")
plt.figure()
plt.title("testImage2")
plt.plot(arr[:])
arr = np.loadtxt(os.path.join("bin", "Debug", "Refinement", "20200127_9204feb", "testImage2SelfConvolved.txt"), delimiter="\t")
plt.figure()
plt.title("testImage2SelfConvolved")
plt.plot(arr[:])
arr = np.loadtxt(os.path.join("bin", "Debug", "Refinement", "20200127_9204feb", "testImage2Convolved.txt"), delimiter="\t")
plt.figure()
plt.title("testImage2Convolved")
plt.plot(arr[:])
plt.show()