Skip to content

Commit c9f5100

Browse files
committed
Remove cutdur - time variable
1 parent 3394b53 commit c9f5100

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/diffpy/fourigui/fourigui.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -477,20 +477,18 @@ def applycutoff(self):
477477
R2 = (XS - X // 2) ** 2 + (YS - Y // 2) ** 2 + (ZS - Z // 2) ** 2
478478
mask = (R2 <= r2_inner) | (R2 >= r2_outer)
479479
sphere[mask] = np.nan
480-
480+
481481
if self.space.get():
482482
self.cube_real = self.cube
483483
self.cube = self.cube_reci * sphere
484484
self.cube_recicut = self.cube
485-
print("- Cutoff below {} and beyond {} in {} sec.".format(qmin, qmax, round(cutdur, 4)))
486485
self.fft()
487486
else:
488487
self.cube_reci = self.cube
489488
self.cube = self.cube * sphere
490489
self.cube_recicut = self.cube
491490
self.plot_plane()
492491
self.intensity_upd_global()
493-
print("- Cutoff below {} and beyond {} in {} sec.".format(qmin, qmax, round(cutdur, 4)))
494492

495493
self.cutted = True
496494

0 commit comments

Comments
 (0)