@@ -33,14 +33,17 @@ def initUI(self):
3333 self .cutted = (
3434 False # denotes whether cutoff frequencies are applied to dataset
3535 )
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
3740
3841 self .master .title ("FouriGUI" )
3942 self .pack (fill = tk .BOTH , expand = True )
4043
4144 print ("\n New Session started ..." )
4245 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
4447 )
4548
4649 # 4 frames:
@@ -170,9 +173,7 @@ def initUI(self):
170173 anibutton .grid (row = 8 , column = 4 )
171174
172175 # row 10-12 Fourier transformation
173- separator = tk .Label (
174- frame00 , text = " "
175- ) # __________________________________________________________________")
176+ separator = tk .Label (frame00 , text = " " )
176177 separator .grid (row = 9 , column = 0 , columnspan = 5 )
177178 cutofflabel = tk .Label (frame00 , text = "cutoff frequency" )
178179 cutofflabel .grid (row = 10 , column = 2 , columnspan = 2 )
@@ -503,8 +504,8 @@ def ifft(self):
503504 def applycutoff (self ):
504505 """Shape the reciprocal-space array.
505506
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.
508509
509510 parameters:
510511 -----------
@@ -605,7 +606,7 @@ def animation(self):
605606 anispeed = self .anientry .get ()
606607 except ValueError :
607608 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
609610 )
610611 n = self .plane_num .get () - 1
611612 while n is not self .plane_num .get ():
0 commit comments