@@ -33,14 +33,17 @@ def initUI(self):
33
33
self .cutted = (
34
34
False # denotes whether cutoff frequencies are applied to dataset
35
35
)
36
- self .transcutted = False # denotes whether cutoff frequencies are applied and Fourier transformed
36
+ self .transcutted = (
37
+ False # denotes whether cutoff frequencies are applied
38
+ )
39
+ # and Fourier transformed
37
40
38
41
self .master .title ("FouriGUI" )
39
42
self .pack (fill = tk .BOTH , expand = True )
40
43
41
44
print ("\n New Session started ..." )
42
45
print (
43
- "Enjoy exploring the beautiful reconstructions in real and in reciprocal space!"
46
+ "Enjoy exploring the beautiful reconstructions in real and in reciprocal space!" # noqa: E501
44
47
)
45
48
46
49
# 4 frames:
@@ -170,9 +173,7 @@ def initUI(self):
170
173
anibutton .grid (row = 8 , column = 4 )
171
174
172
175
# row 10-12 Fourier transformation
173
- separator = tk .Label (
174
- frame00 , text = " "
175
- ) # __________________________________________________________________")
176
+ separator = tk .Label (frame00 , text = " " )
176
177
separator .grid (row = 9 , column = 0 , columnspan = 5 )
177
178
cutofflabel = tk .Label (frame00 , text = "cutoff frequency" )
178
179
cutofflabel .grid (row = 10 , column = 2 , columnspan = 2 )
@@ -503,8 +504,8 @@ def ifft(self):
503
504
def applycutoff (self ):
504
505
"""Shape the reciprocal-space array.
505
506
506
- reassign all voxels with distance smaller than qmin and greater than qmax
507
- to np.nan.
507
+ reassign all voxels with distance smaller than qmin and greater than
508
+ qmax to np.nan.
508
509
509
510
parameters:
510
511
-----------
@@ -605,7 +606,7 @@ def animation(self):
605
606
anispeed = self .anientry .get ()
606
607
except ValueError :
607
608
print (
608
- "Oops... animation speed must be an integer > 0 or empty string."
609
+ "Oops... animation speed must be an integer > 0 or empty string." # noqa: E501
609
610
)
610
611
n = self .plane_num .get () - 1
611
612
while n is not self .plane_num .get ():
0 commit comments